jcnils / protonhax

Run programs inside your game proton's environment.
BSD 3-Clause "New" or "Revised" License
118 stars 7 forks source link

trainer error #19

Closed masies-hack closed 1 month ago

masies-hack commented 2 months ago

can i run cheat engine without problems with this command: protonhax run 883710 $HOME/PCGAMES/TOOLS/Cheat\ Engine\ 7.5/Cheat\ Engine.exe

but when i try trainer with this command: protonhax run 883710 $HOME/PCGAMES/TOOLS/TRAINERS/RE2RHDTrainer.exe

have this error

ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. wine: using kernel write watches, use_kernel_writewatch 1. Setting breakpad minidump AppID = 883710 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198030601003 [API loaded no] ERROR: ld.so: object '/home/masies/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. wine: using kernel write watches, use_kernel_writewatch 1. Fontconfig error: "/etc/fonts/fonts.conf", line 86: out of memory Fontconfig error: "/etc/fonts/fonts.conf", line 91: out of memory Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf

masies-hack commented 2 months ago

I answer myself. The problem was in the game prefix. When I use wine alone, I make a prefix as a template by installing all the vredist directx and some more dependencies Well, the game prefix is ​​missing some of those dependencies. Honestly, I don't know which one it is specifically. What I did was: in. $HOME/.local/share/Steam/steamapps/compatdata/idgame/pfx. delete the content (copy it somewhere else just in case) and put the wine prefix template files that I have in that folder. And it worked.