| View previous topic :: View next topic |
| Author |
Message |
Yazoo78 How do I cheat?
Reputation: 0
Joined: 31 Aug 2016 Posts: 1
|
Posted: Wed Aug 31, 2016 7:52 pm Post subject: Finding scores in arcade/retro games |
|
|
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Aug 31, 2016 9:51 pm Post subject: |
|
|
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 |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 959
|
Posted: Wed Aug 31, 2016 10:30 pm Post subject: |
|
|
Sega genesis use big endian number.
Search forum with 'big endian' may help.
_________________
- Retarded. |
|
| Back to top |
|
 |
|