Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


A bunch of noob questions re first build...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Sat Apr 19, 2014 6:12 pm    Post subject: A bunch of noob questions re first build... Reply with quote

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...
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Apr 19, 2014 6:27 pm    Post subject: This post has 1 review(s) Reply with quote

Cheat Engine.exe is a launcher. It will choose cheatengine-i386.exe on 32bit systems, and cheatengine-x86_64.exe on 64bit systems.


http://forum.cheatengine.org/viewtopic.php?p=5526013#5526013
copy-paste:

Steps:
- uninstall any existing Lazarus

- download lazarus-1.0.14-fpc-2.6.2-win32.exe
- download fpc-2.6.2.x86_64-win64.exe

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

_________________
Back to top
View user's profile Send private message MSN Messenger
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Sat Apr 19, 2014 6:53 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Apr 19, 2014 7:11 pm    Post subject: Reply with quote

There is more:
- improved pointerscanner (speed, smaller ptr files, etc)
- Lua script inside AA scripts
- etc.


If you are interested, here are my builds:
https://drive.google.com/folderview?id=0BwMAnE6mjogMNXNjdHgxY1NqcEU


And check this topic too:
http://forum.cheatengine.org/viewtopic.php?t=561767
(you have to apply to CE Beta tester usergroups)


justa_dude wrote:
I chose 1.0.8 w/ FPC 2.6.2 because DB said a month ago that's what he's using.

I strongly recommend to download Lazarus 1.2


@all
lazarus-1.2.0-fpc-2.6.2-win32.exe (117.9 MB):
http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Lazarus%201.2/

and fpc-2.6.2.x86_64-win64.exe (22.8 MB)
http://sourceforge.net/projects/freepascal/files/Win32/2.6.2/

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites