tactikauan / thcrap-steam-proton-wrapper

A wrapper script for launching the official Touhou games on Steam with patches through Proton on GNU/Linux.
The Unlicense
38 stars 6 forks source link

Script causes games to hang on launch #8

Closed NoelleTGS closed 8 months ago

NoelleTGS commented 8 months ago

Struggling to get the script working. I've tried both the AUR package and the manual installation, and they both won't let the game open. It opens just fine without any launch arguments, but won't pop up with any windows or anything. It also refuses to properly close, I need to go into the process manager and kill a bash process before Steam detects that it's closed.

Tested with Mountain of Faith, as that's the only one I have on Steam, on native Steam running EndeavourOS.

tactikauan commented 8 months ago

Hi. What launch arguments are you using? Does /tmp/thcrap_proton.log get generated? If so, can you please attach it?

NoelleTGS commented 8 months ago

All I'm using for launch argument is thcrap_proton -- %command%. The log does get created, here's the output.

setlocale "en_US": No such file or directory
pressure-vessel-locale-gen: Missing locale en_US (found in $LANG)
pressure-vessel-locale-gen: Generating locale en_CA.UTF-8...
pressure-vessel-locale-gen: Generated locale en_CA.UTF-8 successfully
pressure-vessel-locale-gen: Generating locale en_US...
pressure-vessel-locale-gen: Generated locale en_US successfully
pressure-vessel-locale-gen: Generating locale en_US.UTF-8...
pressure-vessel-locale-gen: Generated locale en_US.UTF-8 successfully
pressure-vessel-adverb[71703]: W: Container startup will be faster if missing locales are created at OS level
ProtonFixes[71770] INFO: Running protonfixes
ProtonFixes[71770] INFO: Running checks
ProtonFixes[71770] INFO: All checks successful
ProtonFixes[71770] INFO: Using global defaults for "東方風神録 〜 Mountain of Faith." (1100140)
ProtonFixes[71770] INFO: No protonfix found for "東方風神録 〜 Mountain of Faith." (1100140)
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
Setting breakpad minidump AppID = 1100140
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198167578137 [API loaded no]
pid 71774 != 71773, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 71853 != 71609, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 71858 != 71609, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Those last four lines are also repeated a bunch more times, just cut them out to save space.

tactikauan commented 8 months ago

Strange, it seems there is some issue with the log generation. Can you try with this one instead? thcrap_proton.zip

NoelleTGS commented 8 months ago

This output is quite a bit longer


pid 77038 != 77037, skipping destruction (fork without exec?)
---------------------ORIGINAL COMMAND--------------------
 /home/noelle/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1100140 -- /home/noelle/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/noelle/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun -- /home/noelle/.local/share/Steam/compatibilitytools.d/GE-Proton8-25/proton waitforexitandrun /home/noelle/.local/share/Steam/steamapps/common/th10/th10.exe
---------------------------------------------------------
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/usr/bin/zenity: /home/noelle/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/libappstream.so.5)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ls: cannot access '/home/noelle/.local/share/thcrap/config': No such file or directory
pid 77040 != 77037, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/usr/bin/zenity: /home/noelle/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/libappstream.so.5)
pid 77044 != 77037, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 77043 != 77037, skipping destruction (fork without exec?)
--------------------GENERATED COMMAND--------------------
 /home/noelle/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1100140 -- /home/noelle/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/noelle/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun -- /home/noelle/.local/share/Steam/compatibilitytools.d/GE-Proton8-25/proton waitforexitandrun '/home/noelle/.local/share/thcrap/thcrap_loader.exe' en.js /home/noelle/.local/share/Steam/steamapps/common/th10/th10.exe
---------------------------------------------------------
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 77047 != 77037, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
setlocale "en_US": No such file or directory
pressure-vessel-locale-gen: Missing locale en_US (found in $LANG)
pressure-vessel-locale-gen: Generating locale en_CA.UTF-8...
pressure-vessel-locale-gen: Generated locale en_CA.UTF-8 successfully
pressure-vessel-locale-gen: Generating locale en_US...
pressure-vessel-locale-gen: Generated locale en_US successfully
pressure-vessel-locale-gen: Generating locale en_US.UTF-8...
pressure-vessel-locale-gen: Generated locale en_US.UTF-8 successfully
pressure-vessel-adverb[77138]: W: Container startup will be faster if missing locales are created at OS level
ProtonFixes[77198] INFO: Running protonfixes
ProtonFixes[77198] INFO: Running checks
ProtonFixes[77198] INFO: All checks successful
ProtonFixes[77198] INFO: Using global defaults for "東方風神録 〜 Mountain of Faith." (1100140)
ProtonFixes[77198] INFO: No protonfix found for "東方風神録 〜 Mountain of Faith." (1100140)
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
Setting breakpad minidump AppID = 1100140
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198167578137 [API loaded no]
pid 77202 != 77201, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 77274 != 77037, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noelle/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
tactikauan commented 8 months ago

I found the issue. Can you try with the latest commit?

NoelleTGS commented 8 months ago

Looks like that did the trick :+1: