| View previous topic :: View next topic |
| Author |
Message |
tkx Newbie cheater
Reputation: 0
Joined: 28 Jul 2010 Posts: 14
|
Posted: Fri Jun 10, 2011 7:19 am Post subject: Hacking an SNES game |
|
|
I've found the address for money in a certain game, and it works to give myself infinite money by freezing it. But now I would like to experiment further and try to find the function in assembly that subtracts from my money whenever I buy something (and change that instruction to nop).
However, when I try to find what accesses or writes to the address when I buy an item, I can only see what seems to be display functions (they get run many times per second, so when I set a breakpoint it freezes the game).
Does anyone have any tips on what I should do to find a spot to begin debugging?
|
|
| Back to top |
|
 |
JohnT Expert Cheater
Reputation: 0
Joined: 24 May 2011 Posts: 130 Location: Next To Osama
|
Posted: Tue Jun 14, 2011 9:37 am Post subject: |
|
|
if this is what you mean ... that when you try find what accesses is you have
instructions run many times
Try stoping first the what acceses thing
reply back
|
|
| Back to top |
|
 |
tkx Newbie cheater
Reputation: 0
Joined: 28 Jul 2010 Posts: 14
|
Posted: Fri Jun 17, 2011 5:47 am Post subject: |
|
|
Hey thanks for replying.
I used "Find what accesses/writes this address" on many different values and it's always the same function that gets called, but with different addresses in the registers, so I think that for emulators, I'm only looking at the emulator and not the game that is being run. I'm not really sure where to go from here. I ended up finding the pointers for all of the values and just freezing them, but it would be so nice to write scripts for them.
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Fri Jun 17, 2011 6:44 am Post subject: |
|
|
In emulators, all values are handled by a few functions only. So they are very, very, very heavily shared codes. They are not like the normal games.
_________________
|
|
| Back to top |
|
 |
|