Crash Recovery Code?

Started by Bully@Wiiplaza, July 28, 2011, 06:49:26 AM

Previous topic - Next topic

Bully@Wiiplaza

Let´s say I made a code that perfectly works for now.
But if I do something unintended or messed, the game crashes (the code only writes to 1 address!)

1.) I set the crash breakpoint and notice that the source register was invalid
2.) I write down that address and restart the game
3.) I boot it up and bp execute that crash breakpoint address and write down that pointer (I set multiple bp´s to get sure it doesn´t change)
4.) I write a C2 code that always writes the right pointer to that register
5.) Would that prevent my game from crashing when doing the same unintended thingy?

Spamming too much explosions with rapidfire e.g. sometimes freezes the game, possibly because the Wii can´t take it. One register got zero´ed out.
It would be cool if things like that are possible, because the actual code(s) can´t always be "debugged" (as far as I know) if they already work fine.

Any ideas? ;D
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully