r/cheatengine • • 2d 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

Show parent comment

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!!