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 


[HELP] - generate trainer how?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
MagicRain
How do I cheat?
Reputation: 0

Joined: 27 Aug 2008
Posts: 4

PostPosted: Sat Dec 20, 2008 11:13 pm    Post subject: [HELP] - generate trainer how? Reply with quote

In Cheatengine you can generate a trainer with your date i wounder how this works how get the exe file compiled etc where can i find this thing in the CE Source code please help me there a bit or tell me how it works in delphi is it perfect. Looks like using a resource or anything to get the trainer exe file then but i dont know how really it work the source place would be nice and how the exe get compiled or how ever it work. The poke code got saved in the source file and then the source from the trainer get compiled or how?

greetz and plz thx Confused Rolling Eyes
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sun Dec 21, 2008 2:46 am    Post subject: Reply with quote

the exe gets compiled in the standalone folder and then attached to cheatengine.exe as a resource.
When the trainer is crreated it just extracts that resource from the exe and appends the data for the trainer at the end of the trainer.
When the trainer is loaded it opens itself up and reads the appended data at the end and then creates buttons, windows, and fills structures, according to that data

_________________
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
View user's profile Send private message MSN Messenger
MagicRain
How do I cheat?
Reputation: 0

Joined: 27 Aug 2008
Posts: 4

PostPosted: Sun Dec 21, 2008 2:13 pm    Post subject: Reply with quote

How u compiled it without delphi ? u can tell me that thats what i looking for thx for the first...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sun Dec 21, 2008 6:27 pm    Post subject: Reply with quote

I compiled it with delphi and added the exe as a resource to the cheatengine project
_________________
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
View user's profile Send private message MSN Messenger
MagicRain
How do I cheat?
Reputation: 0

Joined: 27 Aug 2008
Posts: 4

PostPosted: Wed Dec 31, 2008 11:52 pm    Post subject: Reply with quote

i failed on that i dont know how to do it...ive a trainer source but how do it to make a tool that fill it with my new info and generate the new trainer then. Cant u please give me a code example or tutorial or any hint please man Sad
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Thu Jan 01, 2009 10:24 am    Post subject: Reply with quote

in the ce source check:
trainer.rc (the resource script that includes a .exe as resource)
cheatendinge.dpr (the $R line)
formMemoryModifier.pas on Button1Click (TResourceStream)

_________________
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
View user's profile Send private message MSN Messenger
MagicRain
How do I cheat?
Reputation: 0

Joined: 27 Aug 2008
Posts: 4

PostPosted: Thu Jan 01, 2009 9:58 pm    Post subject: Reply with quote

Ah thank u man Smile Damn great what u did...
Back to top
View user's profile Send private message
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