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 change text in game permanently

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

Joined: 16 Oct 2013
Posts: 14

PostPosted: Tue Mar 04, 2014 6:03 pm    Post subject: how to change text in game permanently Reply with quote

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

Joined: 13 Aug 2010
Posts: 9

PostPosted: Tue Mar 04, 2014 7:56 pm    Post subject: Reply with quote

If it's static you could patch the binary, otherwise it'll have to be changed at runtime.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Wed Mar 05, 2014 5:37 am    Post subject: Reply with quote

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.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
plagiator
Newbie cheater
Reputation: 0

Joined: 16 Oct 2013
Posts: 14

PostPosted: Wed Mar 05, 2014 3:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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