| View previous topic :: View next topic |
| Author |
Message |
plagiator Newbie cheater
Reputation: 0
Joined: 16 Oct 2013 Posts: 14
|
Posted: Tue Mar 04, 2014 6:03 pm Post subject: how to change text in game permanently |
|
|
I would like to permanently change some text in a game.
I searched for the Text with value String and after a while I found the correct address.
then I did a "find out what accessed this address" and found the instruction - mov eax[esi].
then I set a breakpoint at this instruction, copied ESI then via go to address I figured out the memory address containing the text.
overwriting the text at that address in memory works fine.
my goal is to have this text changed always when I start the game.
how can I achieve that?
|
|
| Back to top |
|
 |
julfo How do I cheat?
Reputation: 0
Joined: 13 Aug 2010 Posts: 9
|
Posted: Tue Mar 04, 2014 7:56 pm Post subject: |
|
|
| If it's static you could patch the binary, otherwise it'll have to be changed at runtime.
|
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Wed Mar 05, 2014 5:37 am Post subject: |
|
|
Open it in memory viewer and note the hex for text/ASCII characters. Then just copy the hex byte and overwrite to the string address. Make sure you convert the bytes into little endian format first. Something like
stringaddr 00 00 41 c0 // suppose it is ascii for "text"
then you can write to your memory addrress like this
mov dword ptr [stringaddr], c0410000
This is of course if you have found that string address is either static or is the only address being accessed by the code location. You can use pointers or the usual code injection for this aswell, just for writing the values you write hex for the ascii as usual like you write hex for decimal values.
_________________
|
|
| Back to top |
|
 |
plagiator Newbie cheater
Reputation: 0
Joined: 16 Oct 2013 Posts: 14
|
Posted: Wed Mar 05, 2014 3:41 pm Post subject: |
|
|
thank you for your help.
i tried to load it in a debugger to figure out the offset then patch it, but unfortunately the debugger crashes as the exe seems protected.
the memory address changes after restarting the game; I'd prefer to go without patching as such it would work even after an update.
let's say the memory address of the string is 12345678, how would I find a pointer for that?
|
|
| Back to top |
|
 |
|