Posted: Sat Apr 19, 2014 6:12 pm Post subject: A bunch of noob questions re first build...
So, Easter weekend seems like a good time to play with something called Lazarus. I decided to download 1.0.8 w/ FPC 2.6.2 and checkout the SVN. To my amazement, Lazarus installed painlessly and all I had to do to build CE was double-click the project icon and click build. Great job, DB and conspirators. I don't recall ever seeing a project this big compile so fast and painlessly.
So, before I try to actually tinker with anything I guess I have to figure out what exactly it is that I've compiled. I'm afraid that I have no idea what the difference is between the CheatEngine, cheatengine-i386, and cheatengine-x86_64 executables is or how to build the other two (I downloaded the 32-bit Lazarus because it seemed to indicate that it could build 32-bit and 64-bit packages, but I don't see additional project files or a makefile or anything in the SVN). What do I need to do to build a drop-in replacement for working on 32-bit apps from within a 64-bit OS? Am I correct in assuming that it is possible to make small modifications and drop them into my CE folder without building the low-level stuff (is dbk still a requirement?). Is there an up-to-date build guide that already answers all my questions (and probably many that I haven't come up with yet)?
Thanks,
JD _________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
- install lazarus-1.0.14-fpc-2.6.2-win32.exe into C:\CrossLazarus
- choose "Delete all user configuration ...." option
- install fpc-2.6.2.x86_64-win64.exe into C:\CrossLazarus\fpc\2.6.2
- add "C:\CrossLazarus" to your system variable PATH
- done
You can use lazarus-1.2.0-fpc-2.6.2-win32.exe instead of lazarus-1.0.14-fpc-2.6.2-win32.exe
Now, in project options there should be "config and target" options. If you set
- target OS: win32, target CPU family: i386
Lazarus will compile 32bit binary
- target OS: win64, target CPU family: x86_x64
Lazarus will compile 32bit binary
Also, don't forget to choose "release" build mode for "cheatengine" project. _________________
Wicked! Thank you for patiently explaining it to me, despite obviously having said it at least once before - sorry I missed that. I chose 1.0.8 w/ FPC 2.6.2 because DB said a month ago that's what he's using. When I added the fpc-2.6.2.x86_64-win64 package, everything worked just as expected (though the menu options were named slightly different). Everything seems to work just fine after copying the new executables over - I guess I was extra confused by my impression that the 32-bit executable was spawned for 32-bit processes even on 64-bit operating systems.
The first thing I had in mind to take a look at was the autoassembler template, but the new one is already /amazing/. The extra space under newmem, the huge comment blocks that make future updates easier... everything is just really well thought out. It's amazing to me that the more I see of CE the more impressed I am.
Thanks again,
JD _________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
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