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 


how to apply changes made in CheatEngine into my game.exe ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Bluerose555
Newbie cheater
Reputation: 0

Joined: 31 Jan 2017
Posts: 12

PostPosted: Fri Jan 17, 2020 1:01 am    Post subject: how to apply changes made in CheatEngine into my game.exe ? Reply with quote

I have a game I am looking to modify a bit by altering the exe code, something I have a little bit of experience with (low level hacking HEX only as I do not have source code of game).

I found a trainer that writes into the game.exe memory to do things like increase health, money etc. The trainer itself can do many things, one of which is preventing enemies from dropping loot once they are killed. This is the function that I wish to embed in the game.exe.

I have found the address of this function in Cheat Engine and have successfully written new data into memory to prevent the loot drops from enemies. Now my task is how to make this permanent in the game.exe?

Does anyone know how I can translate the changes I make in Cheat Engine into my game.exe so that I no longer need a trainer to make the changes?

I have read somewhere on this site that this might be possible with OllyDbg but I have no experience with this, or know how hard it might be.

Thanks!
Back to top
View user's profile Send private message
DanyDollaro
Master Cheater
Reputation: 3

Joined: 01 Aug 2019
Posts: 334

PostPosted: Fri Jan 17, 2020 7:39 am    Post subject: Reply with quote

I don't know if Cheat Engine has this feature, but to patch files like exe or dll I use Xdbg.
What you need to do is modify the instruction you found with Cheat Engine using Xdbg after doing it, just follow the figures below.
As destination file that you will have to select in the case of image 2 (Patch list.png) create a copy of the exe file that I wanted to patch and choose that.

If it was not clear you can find online tutorials by searching for "Xdbg patch exe".

In the case of OllyDbg the actions to do are different because I remember that you had to first save the changes after which you could create a patched exe



Patch Key.png
 Description:
 Filesize:  75.52 KB
 Viewed:  9105 Time(s)

Patch Key.png



Patch list.png
 Description:
 Filesize:  116.71 KB
 Viewed:  9104 Time(s)

Patch list.png


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