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 


Can't find address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Typically Thomas
How do I cheat?
Reputation: 0

Joined: 21 Nov 2020
Posts: 1

PostPosted: Sat Nov 21, 2020 2:51 am    Post subject: Can't find address Reply with quote

Hey all, I'm trying to identify the score address for a game called Not for Broadcast. I wish to write an Autosplitter for speedruns and need to track down the pointer path. I tried finding it by first scanning for Unknown Initial Value as the game doesn't put a visible number on your score. This yields over 1.6 billion results.

I then start playing with the score, doing well to increase it and deliberately messing up to decrease it. Meanwhile, I'm scanning for values increasing and decreasing at the same rate.

Eventually I can bring it down to 3 or 4 values, but when I keep going to specify even more, they all disappear. They also have values into the high millions, and while I don't know what scale the scores are on I can't imagine it's that far apart.

Eventually everything gets filtered out and I can't track it down. I tried using different search methods but none of them find me anything. Any idea how I can find this score value?

Alternatively, each level starts with a string announcing which day it is ("Day 1" "Day 8" "Day 153" etc). When I look for these strings I get about 60 results and I would have thought they're going to be pretty level specific, which is exactly what I want, but then I checked later days and they still have strings containing "Day 1". Is it maybe easier to find a pointer this way? And how can I filter these down given most of these don't get written to after they first come up?

Thanks in advance Very Happy
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Sat Nov 21, 2020 11:51 am    Post subject: Reply with quote

The final score could be amalgamated from several values. e.g. each task you get right/wrong could have a value assigned to keep track of it. The easiest thing you can do is keep scanning under different suppositions of implementations and see what you find.

If can't think of more implementations or you get bored after several hours, you can try to find some code that accesses something related to score and learn from that. Try ultimap if your system supports it - the code filter can work too.
(if you don't know how to read assembly, ignore this)

Typically Thomas wrote:
They also have values into the high millions...
It's probably being viewed as the wrong data type. e.g. all these refer to the same memory:
Code:
address  type     value
007C000  aob      00 00 00 00 c3 f5 48 40 00 00 00 00
007C004  integer  1078523331
007C004  float    3.14
007C000  double   49.92
007C004  double   5.32e-315

It could also be a pointer. If the integer is always a multiple of 4 (or some higher power of 2), this is likely the case. Look at the code that accesses that value to ascertain the data type.

Typically Thomas wrote:
Alternatively, each level starts with a string announcing which day it is... Is it maybe easier to find a pointer this way?
I don't know how you got to that hypothesis, but I don't think so.
Regardless, don't look for non-static strings unless you really know what you're doing.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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