Posted: Fri Jan 17, 2020 1:01 am Post subject: how to apply changes made in CheatEngine into my game.exe ?
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.
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
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