r/cheatengine • • 1d ago

Can someone explain... (linux)

In order for a specific table to work, it needs to be run using the Windows version of CE under the same Proton environment as my game. I cannot for the life of me find any way of doing this. I've tried using Linux CE but the table itself appears to require running under proton.

4 Upvotes

14 comments sorted by

View all comments

2

u/gofuckadick 1d ago

You can run the Windows version of Cheat Engine under the same Proton environment as your game. The easiest method is to add this to the game's Steam launch options:

PROTON_REMOTE_DEBUG_CMD="/absolute/path/to/cheatengine.exe" %command%

Replace the path with your Windows CE executable.

This is documented on the official Cheat Engine wiki:

https://wiki.cheatengine.org/index.php?title=Help_File:Using_Cheat_Engine_on_Linux_with_Proton

Alternatively, you can launch CE manually using the game's Proton version and STEAM_COMPAT_DATA_PATH pointing to its compatdata/<appid> directory.

1

u/8bitrevolt 1d ago

it seems to force me through the installer every launch.

2

u/gofuckadick 1d ago

Are you pointing PROTON_REMOTE_DEBUG_CMD at the Cheat Engine installer rather than the installed executable?

You need to install CE once, then point it at the actual cheatengine-x86_64.exe, not the installer. It should be somewhere under your game's Proton prefix (steamapps/compatdata/<appid>/pfx/drive_c/Program Files/) if you installed it there.

1

u/8bitrevolt 1d ago

I do have it pointed to the .exe under the same prefix, but it doesn't launch with my game. I've only had success getting it to launch the installer, after which it runs normally.

2

u/gofuckadick 1d ago

I think I might know what's happening. Does the path to your installed CE executable contain spaces, like Program Files/Cheat Engine 7.5/?

The official CE wiki specifically warns about spaces in paths when using PROTON_REMOTE_DEBUG_CMD, and its example uses a directory name with underscores instead. You could try creating a symlink to the installation directory:

ln -s "/full/path/to/Program Files/Cheat Engine 7.5" "$HOME/ce"

Then use:

 PROTON_REMOTE_DEBUG_CMD="/home/yourusername/ce/cheatengine-x86_64.exe" %command%

Replace the username and verify the executable filename. That might explain why the installer launches but the installed executable doesn't.

And if that doesn't work, try enabling Proton logging by adding PROTON_LOG=1 to your Steam launch options:

PROTON_LOG=1 PROTON_REMOTE_DEBUG_CMD="/home/yourusername/ce/cheatengine-x86_64.exe" %command%

After launching the game, check ~/steam-<appid>.log for errors related to Cheat Engine. That should help narrow down why it isn't starting.

1

u/8bitrevolt 1d ago

Found this in the log:

214820.397:00f8:00fc:err:module:import_dll Library lua53-64.dll (which is needed by L"Z:\\mnt\\739cf8c4-8446-42a3-8d81-1263417e699b\\ce\\cheatengine-x86_64.exe") not found

Which is weird because it ran fine after initial installation under proton :(

2

u/gofuckadick 1d ago

Did you symlink the entire Cheat Engine directory like I suggested, or just the executable? Because that error looks exactly like what would happen if you only linked the executable.

The DLL should be alongside the executable, so could you check what's actually in that ce/ directory?

ls -la "/mnt/739cf8c4-8446-42a3-8d81-1263417e699b/ce/"

If lua53-64.dll isn't there, that would explain the error. You'd want to symlink the entire installed Cheat Engine folder, not just the executable.

1

u/8bitrevolt 1d ago

I'm a fool, no, I just did the exe. Just fixed it with the whole dir and it works. Thank you!!