jcnils / protonhax

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

Can't start Cheat Engine - Using Linux Mint 21.2. #18

Closed jcnils closed 1 week ago

jcnils commented 2 weeks ago
          Similar problem here. Using Linux Mint 21.2.
$ protonhax ls
15100

$ protonhax run 15100 ~/.wine/drive_c/Program\ Files/Cheat\ Engine\ 7\.4/Cheat\ Engine\.exe
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Setting breakpad minidump AppID = 15100
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198040006061 [API loaded no]

$ protonhax exec 15100 '~/.wine/drive_c/Program Files/Cheat Engine 7.4/Cheat Engine.exe'
/home/acerola/.local/bin/protonhax: line 71: /home/acerola/.wine/drive_c/Program: No such file or directory

Speaking of which, I think exec is not escaping special characters properly.

The debug files looks something like this (I'm assuming the first is for the game and the second for the run command:

+ phd=/run/user/1000/protonhax
+ [[ 13 -lt 1 ]]
+ c=init
+ shift
+ [[ init == \i\n\i\t ]]
+ mkdir -p /run/user/1000/protonhax/15100
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
+ printf '%s\n' /home/acerola/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=15100 -- /home/acerola/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/acerola/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun -- '/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental/proton' waitforexitandrun '/home/acerola/.local/share/Steam/steamapps/common/Assassins Creed/AssassinsCreed_Game.exe'
pid 39221 != 39219, skipping destruction (fork without exec?)
+ grep -m 1 /proton
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
+ printf %s /home/acerola/.local/share/Steam/steamapps/compatdata/15100/pfx
+ declare -px
+ /home/acerola/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=15100 -- /home/acerola/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/acerola/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun -- '/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental/proton' waitforexitandrun '/home/acerola/.local/share/Steam/steamapps/common/Assassins Creed/AssassinsCreed_Game.exe'
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
fsync: up and running.
Setting breakpad minidump AppID = 15100
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198040006061 [API loaded no]
Fossilize INFO: Overriding serialization path: "/home/acerola/.local/share/Steam/steamapps/shadercache/15100/fozpipelinesv6/steamapprun_pipeline_cache".
wine: setpriority -1 for pid -1 failed: 3
wine: setpriority -1 for pid -1 failed: 3
wine: setpriority -10 for pid -1 failed: 3
wine: setpriority -10 for pid -1 failed: 3
wine: setpriority -10 for pid -1 failed: 3
Fossilize INFO: Overriding serialization path: "/home/acerola/.local/share/Steam/steamapps/shadercache/15100/fozpipelinesv6/steamapprun_pipeline_cache".
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
wine: setpriority 3 for pid -1 failed: 3
Fossilize WARN: Pipeline library handle 0xffffffffcda3c118 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcda4b1a8 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcda6b178 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcda87d48 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcda87d48 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdabea38 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdabea38 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcda6b178 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdae98b8 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaf37b8 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaa6138 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcda87d48 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0xffffffffcdaf37b8 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
+ phd=/run/user/1000/protonhax
+ [[ 7 -lt 1 ]]
+ c=run
+ shift
+ [[ run == \i\n\i\t ]]
+ [[ run == \l\s ]]
+ [[ run == \r\u\n ]]
+ [[ 6 -lt 1 ]]
+ [[ ! -d /run/user/1000/protonhax ]]
+ [[ ! -d /run/user/1000/protonhax/15100 ]]
+ SteamAppId=15100
+ shift
+ source /run/user/1000/protonhax/15100/env
++ declare -x AMD_VK_PIPELINE_CACHE_FILENAME=steamapp_shader_cache
++ declare -x AMD_VK_PIPELINE_CACHE_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100/AMDv1
++ declare -x AMD_VK_USE_PIPELINE_CACHE=1
++ declare -x BREAKPAD_DUMP_LOCATION=/tmp/dumps
++ declare -x CINNAMON_VERSION=5.8.4
++ declare -x CLUTTER_IM_MODULE=ibus
++ declare -x COLORTERM=truecolor
++ declare -x DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
++ declare -x DESKTOP_SESSION=cinnamon
++ declare -x DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1
++ declare -x DISPLAY=:0
++ declare -x DOTNET_BUNDLE_EXTRACT_BASE_DIR=/home/acerola/.cache/dotnet_bundle_extract
++ declare -x DXVK_STATE_CACHE_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100/DXVK_state_cache
++ declare -x ENABLE_VK_LAYER_VALVE_steam_fossilize_1=1
++ declare -x ENABLE_VK_LAYER_VALVE_steam_overlay_1=1
++ declare -x EnableConfiguratorSupport=0
++ declare -x FOSSILIZE_APPLICATION_INFO_FILTER_PATH=/home/acerola/.local/share/Steam/fossilize_engine_filters.json
++ declare -x GDMSESSION=cinnamon
++ declare -x GDM_LANG=en_US
++ declare -x GNOME_DESKTOP_SESSION_ID=this-is-deprecated
++ declare -x GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/98c9b0ee_2eca_4387_a103_20d58e8766f7
++ declare -x GNOME_TERMINAL_SERVICE=:1.987
++ declare -x GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
++ declare -x GTK3_MODULES=xapp-gtk3-module
++ declare -x GTK_IM_MODULE=ibus
++ declare -x GTK_MODULES=gail:atk-bridge
++ declare -x HOME=/home/acerola
++ declare -x LANG=en_US.UTF-8
++ declare -x LANGUAGE=en_US
++ declare -x LC_ADDRESS=pt_BR.UTF-8
++ declare -x LC_ALL=C
++ declare -x LC_IDENTIFICATION=pt_BR.UTF-8
++ declare -x LC_MEASUREMENT=pt_BR.UTF-8
++ declare -x LC_MONETARY=pt_BR.UTF-8
++ declare -x LC_NAME=pt_BR.UTF-8
++ declare -x LC_NUMERIC=pt_BR.UTF-8
++ declare -x LC_PAPER=pt_BR.UTF-8
++ declare -x LC_TELEPHONE=pt_BR.UTF-8
++ declare -x LC_TIME=pt_BR.UTF-8
++ declare -x 'LD_LIBRARY_PATH=/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/opt/openssl/lib::/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib32:/lib:/lib/i386-linux-gnu/sse2:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib:/home/acerola/.local/share/Steam/steamapps/common/Assassins Creed'
++ declare -x LD_PRELOAD=:/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so:/home/acerola/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
++ declare -x 'LESSCLOSE=/usr/bin/lesspipe %s %s'
++ declare -x 'LESSOPEN=| /usr/bin/lesspipe %s'
++ declare -x LOGNAME=acerola
++ declare -x 'LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
++ declare -x MESA_DISK_CACHE_READ_ONLY_FOZ_DBS=steam_cache,steam_precompiled,steam_precompiled_904f69d2b1b44b65,steam_precompiled_9a36bd4e5fb640b2
++ declare -x MESA_DISK_CACHE_SINGLE_FILE=1
++ declare -x MESA_GLSL_CACHE_DIR=/home/acerola/.local/share/Steam/steamapps/shadercache/15100
++ declare -x MESA_GLSL_CACHE_MAX_SIZE=5G
++ declare -x MESA_SHADER_CACHE_DIR=/home/acerola/.local/share/Steam/steamapps/shadercache/15100
++ declare -x MESA_SHADER_CACHE_MAX_SIZE=5G
++ declare -x OLDPWD=/home/acerola/.local/share/Steam
++ declare -x PAPERSIZE=a4
++ declare -x PATH=/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin:/home/acerola/.cargo/bin:/home/acerola/.local/bin:/opt/openssl/bin:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/power/x86/x86_energy_perf_policy:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/power/x86/turbostat:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/power/cpupower:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/perf:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/acerola/.dotnet/tools:/opt/mssql-tools/bin:/opt/mssql-tools/bin:/opt/mssql-tools/bin
++ declare -x PROTON_CRASH_REPORT_DIR=/tmp/proton_crashreports
++ declare -x 'PWD=/home/acerola/.local/share/Steam/steamapps/common/Assassins Creed'
++ declare -x QT_ACCESSIBILITY=1
++ declare -x QT_IM_MODULE=ibus
++ declare -x QT_QPA_PLATFORMTHEME=qt5ct
++ declare -x 'SDL_GAMECONTROLLERCONFIG=03000000de280000ff11000001000000,Steam Virtual Gamepad,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux,
03000000de280000fc11000001000000,Steam Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b15,dpright:b13,dpup:b12,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux,'
++ declare -x SDL_GAMECONTROLLER_ALLOW_STEAM_VIRTUAL_GAMEPAD=1
++ declare -x SDL_JOYSTICK_HIDAPI_STEAMXBOX=0
++ declare -x SDL_VIDEO_X11_DGAMOUSE=0
++ declare -x SESSION_MANAGER=local/waifubot:@/tmp/.ICE-unix/25002,unix/waifubot:/tmp/.ICE-unix/25002
++ declare -x SHELL=/bin/bash
++ declare -x SHLVL=3
++ declare -x SRT_LAUNCHER_SERVICE_ALONGSIDE_STEAM=com.steampowered.PressureVessel.LaunchAlongsideSteam
++ declare -x SRT_LOG_TERMINAL=/dev/pts/0
++ declare -x SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
++ declare -x STEAMSCRIPT=/usr/bin/steam
++ declare -x STEAMSCRIPT_VERSION=1.0.0.78
++ declare -x 'STEAMVIDEOTOKEN=32626
32f5h290g53047gv5034nbvt923b
'
++ declare -x STEAM_BASE_FOLDER=/home/acerola/.local/share/Steam
++ declare -x STEAM_CLIENT_CONFIG_FILE=/home/acerola/.local/share/Steam/steam.cfg
++ declare -x STEAM_COMPAT_APP_ID=15100
++ declare -x STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/acerola/.local/share/Steam
++ declare -x STEAM_COMPAT_DATA_PATH=/home/acerola/.local/share/Steam/steamapps/compatdata/15100
++ declare -x STEAM_COMPAT_FLAGS=search-cwd
++ declare -x 'STEAM_COMPAT_INSTALL_PATH=/home/acerola/.local/share/Steam/steamapps/common/Assassins Creed'
++ declare -x STEAM_COMPAT_LIBRARY_PATHS=/home/acerola/.local/share/Steam/steamapps
++ declare -x STEAM_COMPAT_MEDIA_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100/fozmediav1
++ declare -x 'STEAM_COMPAT_MOUNTS=/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental:/home/acerola/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'
++ declare -x STEAM_COMPAT_PROTON=1
++ declare -x STEAM_COMPAT_SHADER_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100
++ declare -x 'STEAM_COMPAT_TOOL_PATHS=/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental:/home/acerola/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'
++ declare -x STEAM_COMPAT_TRANSCODED_MEDIA_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100
++ declare -x STEAM_FOSSILIZE_DUMP_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100/fozpipelinesv6/steamapprun_pipeline_cache
++ declare -x 'STEAM_FOSSILIZE_DUMP_PATH_READ_ONLY=$bucketdir/steam_pipeline_cache.foz;$bucketdir/steamapp_pipeline_cache.foz'
++ declare -x STEAM_RUNTIME=/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime
++ declare -x STEAM_RUNTIME_LIBRARY_PATH=/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/opt/openssl/lib::/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib32:/lib:/lib/i386-linux-gnu/sse2:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/acerola/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib
++ declare -x STEAM_ZENITY=/usr/bin/zenity
++ declare -x SYSTEM_LD_LIBRARY_PATH=/opt/openssl/lib:
++ declare -x SYSTEM_PATH=/home/acerola/.cargo/bin:/home/acerola/.local/bin:/opt/openssl/bin:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/power/x86/x86_energy_perf_policy:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/power/x86/turbostat:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/power/cpupower:/usr/src/linux-headers-6.5.11-4-liquorix-amd64/tools/perf:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/acerola/.dotnet/tools:/opt/mssql-tools/bin:/opt/mssql-tools/bin:/opt/mssql-tools/bin
++ declare -x SYSTEM_ZENITY=/usr/bin/zenity
++ declare -x Steam3Master=127.0.0.1:57343
++ declare -x SteamAppId=15100
++ declare -x SteamAppUser=geegeessesse
++ declare -x SteamClientLaunch=1
++ declare -x SteamEnv=1
++ declare -x SteamGameId=15100
++ declare -x SteamOverlayGameId=15100
++ declare -x SteamStreamingHardwareEncodingAMD=1
++ declare -x SteamStreamingHardwareEncodingIntel=1
++ declare -x SteamStreamingHardwareEncodingNVIDIA=1
++ declare -x SteamUser=geegeessesse
++ declare -x SteamVirtualGamepadInfo_Proton=/home/acerola/.local/share/Steam/config/virtualgamepadinfo.txt
++ declare -x TERM=xterm-256color
++ declare -x TEXTDOMAIN=steam
++ declare -x TEXTDOMAINDIR=/usr/share/locale
++ declare -x USER=acerola
++ declare -x VTE_VERSION=6800
++ declare -x WINEDLLOVERRIDES=dinput8.dll=n,b
++ declare -x WINEPREFIX=/home/acerola/.wine
++ declare -x XAUTHORITY=/home/acerola/.Xauthority
++ declare -x XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
++ declare -x XDG_CURRENT_DESKTOP=X-Cinnamon
++ declare -x XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/home/acerola/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
++ declare -x XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/acerola
++ declare -x XDG_RUNTIME_DIR=/run/user/1000
++ declare -x XDG_SEAT=seat0
++ declare -x XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
++ declare -x XDG_SESSION_CLASS=user
++ declare -x XDG_SESSION_DESKTOP=cinnamon
++ declare -x XDG_SESSION_ID=c16
++ declare -x XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session7
++ declare -x XDG_SESSION_TYPE=x11
++ declare -x XDG_VTNR=7
++ declare -x XMODIFIERS=@im=ibus
++ declare -x __GL_SHADER_DISK_CACHE_APP_NAME=steamapp_shader_cache
++ declare -x __GL_SHADER_DISK_CACHE_PATH=/home/acerola/.local/share/Steam/steamapps/shadercache/15100/nvidiav1
++ declare -x '__GL_SHADER_DISK_CACHE_READ_ONLY_APP_NAME=steam_shader_cache;steamapp_merged_shader_cache'
++ declare -x __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
+ [[ run == \r\u\n ]]
+ [[ 5 -lt 1 ]]
++ cat /run/user/1000/protonhax/15100/exe
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
+ exec '/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental/proton' run /home/acerola/.wine/drive_c/Program Files/Cheat Engine 7.4/Cheat Engine.exe
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/acerola/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Setting breakpad minidump AppID = 15100
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198040006061 [API loaded no]
Traceback (most recent call last):
  File "/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1607, in <module>
    rc = g_session.run()
  File "/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1567, in run
    rc = self.run_proc(adverb + argv + sys.argv[2:] + self.cmdlineappend)
  File "/home/acerola/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1541, in run_proc
    return subprocess.call(args, env=local_env, stderr=self.log_file, stdout=self.log_file)
  File "/usr/lib/python3.10/subprocess.py", line 347, in call
    return p.wait(timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1209, in wait
    return self._wait(timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1959, in _wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.10/subprocess.py", line 1917, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt

The same thing happens using the previous release.

Originally posted by @ggsimao in https://github.com/jcnils/protonhax/issues/15#issuecomment-2305273616

jcnils commented 2 weeks ago

@ggsimao

The messages you are getting seemed pretty normal. But there are a few things we can do to troubleshoot.

Start steam from a terminal and check the messages. When you start your program, something like this should appear:

Adding process 44444 for gameID 15100
Adding process 44445 for gameID 15100

Then, can you please try to:

ggsimao commented 2 weeks ago
  • save the cheat engine files somewhere else in your linux distro, not inside the wine prefix. Full path and preferable without spaces, e.g. /home/USER/CE/cheatengine-x86_64.exe and run protonhax run 15100 /home/USER/CE/cheatengine-x86_64.exe

I think this worked. Still can't run the script I wanted to but apparently that's a problem with the mod itself. Thank you.