WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Bully@Wiiplaza on June 09, 2013, 11:13:50 PM

Title: Unstoppable timer
Post by: Bully@Wiiplaza on June 09, 2013, 11:13:50 PM
There´s some game in which a timer keeps running even when paused (breakpoint etc).
How come? It´s offline. A ram writes seems to do nothing either. Not tried using ASM yet. :P
Title: Re: Unstoppable timer
Post by: wiiztec on June 13, 2013, 06:59:26 AM
Have you tried different hooktypes?
Title: Re: Unstoppable timer
Post by: Bully@Wiiplaza on June 13, 2013, 08:24:12 AM
Just VBI so far.
Title: Re: Unstoppable timer
Post by: dcx2 on June 14, 2013, 05:45:45 AM
There are certain timers that continue to run in the system during a breakpoint.  One of them is in the PPC, several others can be accessed through the GameCube style interface (see YAGCD).

One of these timers is how the Metroid protection worked.  I'm not sure it can be properly stopped.  I think I once tried to get Gecko.NET to be able to stop the time base register (I think that's what it's called), but it caused all kinds of flakey behavior.  Your best bet is to hack at the code that reads the timer.
Title: Re: Unstoppable timer
Post by: γRB on June 14, 2013, 01:08:21 PM
^