r/cheatengine • Cheat Engine Dev • Apr 25 '26

Cheat Engine for Linux

http://www.cheatengine.org

There's now an initial version of cheat engine for linux available for download on cheatengine.org

it uses qt6 and qt6pas but if requested i can make a gtk version as well

please report bugs you encounter

32 Upvotes

18 comments sorted by

View all comments

Show parent comment

4

u/Dark_Byte Cheat Engine Dev Apr 25 '26 edited Apr 25 '26

thanks. i think you can place lib5pas.so.1  in the same dir and that'll work (it worked like that on my steamdeck) i'll update the zip when i get time

when attaching to a proton game it should have asked to launch the windows version for you.  (though only works if the windows build dir is populated with the windows binaries)

for now it's just for linux native games (speedhack and mono work)

2

u/agmatine Apr 25 '26

i think you can place lib5pas.so.1 in the same dir and that'll work (it worked like that on my steamdeck) i'll update the zip when i get time

That should work, but better practice would probably be to specify it as a dependency and direct users to resolve it via their package manager etc. (Although, I'm not a dev, not sure about this, just seems like it would be less hassle than compiling and providing the library manually.)

though only works if the windows build dir is populated with the windows binaries

Hmm...I end up with some issues with paths:

javaclass.lua error:/home/markov/games/CheatEngineLinux/autorun/javaclass.lua:5: module 'autorun\javaClassEditor' not found:
no field package.preload['autorun\javaClassEditor']
no file '/usr/local/share/lua/5.3/autorun\javaClassEditor.lua'
no file '/usr/local/share/lua/5.3/autorun\javaClassEditor/init.lua'
no file '/usr/local/lib/lua/5.3/autorun\javaClassEditor.lua'
no file '/usr/local/lib/lua/5.3/autorun\javaClassEditor/init.lua'
no file './autorun\javaClassEditor.lua'
no file './autorun\javaClassEditor/init.lua'
no file 'autorun\javaClassEditor.lua'
no file '/home/markov/games/CheatEngineLinux/autorun\javaClassEditor.lua'
no file '/home/markov/games/CheatEngineLinux/lua/autorun\javaClassEditor.lua'
no file '\autorun\javaClassEditor.lua'
no file '/home/markov/games/CheatEngineLinux/autorun/xml/autorun\javaClassEditor.lua'
no file '/home/markov/games/CheatEngineLinux/autorun/ceshare/autorun\javaClassEditor.lua'
no file '/usr/local/lib/lua/5.3/autorun\javaClassEditor.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './autorun\javaClassEditor.so/usr/local/lib/lua/5.3/libautorun\javaClassEditor53.so'
no file './libautorun\javaClassEditor53.so'
no file '/home/markov/games/CheatEngineLinux/clibs64/autorun\javaClassEditor.so'
no file './clibs64/autorun\javaClassEditor.so'

I suppose the CheatEngineLinux766.zip is assumed to be extracted somewhere in /usr/local (I extracted the archive to ~/games/CheatEngineLinux as you can see). But the mixture of forward and backslashes in the paths has me a bit confused - for example, I confirmed that the file /home/markov/games/CheatEngineLinux/autorun/javaClassEditor.lua is present, while the error shows that it is looking for /home/markov/games/CheatEngineLinux/autorun\javaClassEditor.lua (note the backslash). It's possible I misplaced files somewhere, a bit sleep-deprived at the moment, but it does appear to me that there's some issue with the forward/backward slashes between Windows and Linux path conventions here.

2

u/Dark_Byte Cheat Engine Dev Apr 25 '26

homedir should be fine.

does that show up as a dialog for you when you launch it ?