 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Inotamira Orani Newbie cheater
Reputation: 0
Joined: 22 Jun 2014 Posts: 12
|
Posted: Sat Oct 01, 2016 5:52 pm Post subject: Compiling for Linux |
|
|
I honestly can't stand the existing state of "cheat engine" alternatives for linux, and I'd like to make an attempt at compiling it for Linux. I have Lazarus, a pascal compiler/IDE and there's like a billion and one files that it recognizes. So, can anyone tell me just what the hell I'm doing? I don't see anything that's as specific as a make file, and can't tell which file is the key file to compile.
::edit::
I've figured out which file seem's important, the Cheat Engine.ipl file looks to be the entire program if I understand correctly. I don't know where to get LCLBase, or Synedit, which where it's only complaints about the project. It then spat up a few errors about some TTimer and other T functions, likely tied to those two components.
Anyone know where i could find them?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Sat Oct 01, 2016 6:59 pm Post subject: |
|
|
Lclbase and synedit are part of lazarus
But I recommend ceserver compiled for linux and run ce in wine.
Then connect ce to ceserver and use it on linux processes
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Inotamira Orani Newbie cheater
Reputation: 0
Joined: 22 Jun 2014 Posts: 12
|
Posted: Sat Oct 01, 2016 7:13 pm Post subject: |
|
|
Dark Byte wrote: | Lclbase and synedit are part of lazarus
But I recommend ceserver compiled for linux and run ce in wine.
Then connect ce to ceserver and use it on linux processes |
I get that it's a viable option, I do, but to me, that feels like running a VM for just one program. Honestly, if I can get the whole thing to compile and work in Linux, why not have a fully working version instead of a half way one? Lazarus says it doesn't have LCL and I can't figure out why, also Synedit. I mean, if I can find those peices, it looks like it should compile with minimal effort, and if that's true (and do we really need the rest of the components which just look to be kernel hooks?) why not do it?
|
|
Back to top |
|
 |
Inotamira Orani Newbie cheater
Reputation: 0
Joined: 22 Jun 2014 Posts: 12
|
Posted: Sun Oct 02, 2016 11:39 am Post subject: |
|
|
Hey Dark, is there any kind of bat commands you can use when invoking cheat engine to have it automatically connect to a network? I'm still trying to get it to compile, but I figured I'd cook up a batch script that cuts all the steps out. So far, I have one to invoke cheatengine in wine and the server at the same time. I'm trying to find a way to keep the script from killing the server until Cheatengine in wine is closed. If I could get CE to start connected to the server, that would be ideal.
::edit::
Okay, this bash script needs to be in the same directory of CEServer, it assumes you'll want to use the 32bit version of CE, if not, or you've installed it to some other directory in wine's C drive, you'll need to adjust it yourself. It'll start up the CEServer, and Cheatengine itself, then wait until cheatengine exists (shouldn't matter which one you use, I set the wait command to recognize either the x86 or x64 versions PID's). You just need to make sure that the script is stored with the CEServer program in the same directory as the script, that CheatEngine is installed in wine to the default directory (if it's not, adjust the script to point to where you installed it and which version you want if you aren't using the 32bit version). The last thing I want to do, is have it start up already connected to the CEServer so you just have to run my script, and go, but unless dark can tell me how to do so, you'll likely have to select it every time.
As for me, it doesn't work right, which is partly why I'm trying to compile it. I get either an access violation, or no readable memory.
Code: |
#!/bin/bash
cd "$(dirname "$0")"
wine '/home/inotamira/.wine/dosdevices/c:/Program Files (x86)/Cheat Engine 6.5.1/cheatengine-i386.exe' &
./ceserver &
sleep 4
wait $(pgrep -f cheatengine)
killall ceserver
|
|
|
Back to top |
|
 |
vityav Newbie cheater
Reputation: 0
Joined: 24 Oct 2014 Posts: 15
|
Posted: Sun Nov 20, 2016 10:45 am Post subject: |
|
|
So I can't speak to some of the stuff you're trying, but the "no readable memory" problem only comes up for me when trying to run the official release of cheat engine (currently 6.6). If you compile your own version vaguely following this: (change the forum url topic to 5605823; I can't post links)
it should work just fine on a 64 bit wine (I'm using 1.9.22). I compiled mine in a virtual machine and then just copied the whole directory over, and it works just as well in wine as it does in the VM (and is much faster). You can also use the release version of ceserver or compile your own, both work for me.
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|