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]Addresses Changing Every Time a Program is Launched

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
abahbob
Advanced Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 63

PostPosted: Fri Jul 06, 2012 8:41 pm    Post subject: [Help]Addresses Changing Every Time a Program is Launched Reply with quote

Me and some other people are working on a TAS of The Wind Waker. We are using Dolphin emulator. Dolphin's built-in memory watch is a piece of crap, so we use Cheat Engine. The problem is that every time you open Dolphin, the addresses change. There are a lot of values to keep track of, and its amazingly frustrating to find them every time. It seems like Dolphin chooses a random place in the RAM to open up, and I don't know how to stop having to search over and over again. Right now I just find one value and find all the others based off of that position, but that is time consuming and a head-ache. Any help? Please, check it out yourself if you don't mind.
Back to top
View user's profile Send private message AIM Address
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sat Jul 07, 2012 3:36 am    Post subject: Reply with quote

have you completed cheat engine's tutorial ?
in ce 6.2 it help and then choose tutorial.
complete it, and you'll have no doubts.
i also recommend to find the code instruction that writes to that address, and if the code address is not a static one, find the aob scan for it and code injection.
all those terms i used now are all in the tutorial, take it and then reply here the results if necessary.

_________________
... Fresco
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3412

PostPosted: Sat Jul 07, 2012 12:24 pm    Post subject: Reply with quote

Yes, emulators are particularly difficult to deal with. You need to find out where the allocated memory begins and find a pointer to it in the emulator itself (or a piece of code that uses that pointer).
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sat Jul 07, 2012 6:54 pm    Post subject: Reply with quote

then i guess, your only solution is an aob scan, the code will activate very slow, because ce will try to search the bytes.
but it'll work.
you basically find the code that writes to the address and copy the bytes from that address on, watch for any instruction that uses addresses like:
mov eax,[0000ABC0]
it's most likely that abc0 will be changed by other codes, so don't include that kinda codes in your aob scan.

or, ask the developers of the emulator to include some basic assembly debugger into their emulator, so that you can find the real code that writes to the memory instead of that single code line that does everything.
i know that because few weeks ago i was trying to do the same thing, turned out by searching google that there was a better emulator with more features and of course a debugger, and therefore i was able to find everything i wanted, with a little bit of research (assembly manuals [instructions] for that type of cpu that was emulated)
best regards ...Fresco

_________________
... Fresco
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3412

PostPosted: Sat Jul 07, 2012 7:42 pm    Post subject: Reply with quote

It's a very dangerous thing to modify the code of emulators, but sure, knock yourself out.
Back to top
View user's profile Send private message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sun Jul 08, 2012 5:07 am    Post subject: Reply with quote

maybe the address has a specific structure, like xxxxxC89 and based on that c89, even if the code writes to 100 addresses just one will end with c89, therefore, he could do a code injection. Smile
_________________
... Fresco
Back to top
View user's profile Send private message
PaperCrane
Newbie cheater
Reputation: 0

Joined: 30 Sep 2012
Posts: 11
Location: Sweden

PostPosted: Tue Oct 02, 2012 8:51 am    Post subject: HELP :/ Reply with quote

well i have the same problem but with swords and sandals 2 im trying to make a trainer for it but when the values always change when you close and re-open swords and sandals its impossible to share it to other can someone help me ?

keep in mind im a noob so try to explain good Very Happy
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