Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Minor Tetris Attack edit?
  
User name:
Password:
Reply:
 

UserPost
Maticolotto
Posts: 7/8
It isn't as easy as looking for the hex equivalent for 99999 because not only it's hardcoded, but it's a 3-byte value. The 65816 CPU only allows you to use two bytes at a time, so there are some calculations involved. You would have quite a bit of problems there.

Actually, after cheating a little, I discovered the score address, which is 3-byte: 7E02C2. If you set it to 100000, you see 00000 as the score, but you also see that every time you score, it seems to turn to 99999 then go back to 00000. It should be some compare thing.

With 99999 points:
7E02C2 = 9F
7E02C3 = 86
7E02C4 = 01

I don't really feel like going deeper in this, because I did a search for 9F86 and found approximately 70 matches of that in the ROM.
Emptyeye
Posts: 273/2273
I presume you're saying that it's hardcoded into the ROM and so isn't as easy as looking for 99999 (Or the hex equivilent) in a hex editor?
HyperLamer
Posts: 1062/8210
Most likely the game is only programmed to show 5 digits, so 100000 would be "[random symbol]00000". It might be possible to ASM hack, but I really don't have any info on the game.
Emptyeye
Posts: 263/2273
No, looking at the box, it seems like there's enough room for another digit (More than that, though, and you'll have some problems).
Imajin
Posts: 341/452
The only problem might be that the score might overrunit's box and look bad
Emptyeye
Posts: 261/2273
It would be very possible. I'm not sure how easy it would be, though my guess would be somewhere in the ROM it has to have information as to "maximum score allowed". Open a hex editor and search for the hex equivilent to 99999 and see if you find anything.
Craig3410
Posts: 39/76
Would it be possible to edit the score in Endless Mode to accept 6 digits? Getting to 100,000 is starting to get repetitive.
Acmlm's Board - I2 Archive - Rom Hacking - Minor Tetris Attack edit?


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.004 seconds.