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 


Finding scores in arcade/retro games

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

Joined: 31 Aug 2016
Posts: 1

PostPosted: Wed Aug 31, 2016 7:52 pm    Post subject: Finding scores in arcade/retro games Reply with quote

Sorry, this is gonna be a newbie question.

I've been playing around with some sega genesis roms and a few things are confusing me.

I've managed to find things represented by single bytes (lives, special attacks etc) quite easily simply by the process of elimination using the search.

But if i'm searching for something that is going to be represented by multiple bytes how should I approach it? Sega Genesis uses a 16bit cpu, so such I search for the 16-bit representation of the score on screen?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Aug 31, 2016 9:51 pm    Post subject: Reply with quote

The system's processor doesn't matter.
Each data type has a maximum possible value when signed or unsigned.
For example, a 1-byte variable can go up to 127 (signed) or 255 (unsigned).
Chances are the score can go higher than that, so it's safe to do a 2-byte search.
A 2-byte variable can go up to 32,767 (signed) or 65,535 (unsigned).
If your score can go higher than both of those, then go ahead and use 4-bytes.
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 959

PostPosted: Wed Aug 31, 2016 10:30 pm    Post subject: Reply with quote

Sega genesis use big endian number.

Search forum with 'big endian' may help.

_________________
- Retarded.
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