Game timer still counts up/down during a pause through breakpoint?

Started by Bully@Wiiplaza, August 15, 2011, 10:33:36 PM

Previous topic - Next topic

Bully@Wiiplaza

... how can that be?
Thought that a breakpoint stops everything.
Would that mean that I can´t freeze the value with a nop either?
My Wii hacking site...
http://bullywiihacks.com/

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

~Bully

Stuff

I thought it was just monster hunter. What game were you pausing?

I noticed that the address I was looking at that counts down would freeze when I paused, but it would then jump down to what it would've been when I unpause it. I had to send the infinite time code so I don't fail while paused >.<.

Well I guess you could still freeze the timer with nop, since inf time works and without it I can fail if I'm paused for too long.
.make Stuff happen.
Dropbox. If you don't have one, get it NOW! +250MB free if you follow my link :p.

Mod code Generator ~50% complete but very usable:
http://dl.dropbox.com/u/24514984/modcodes/modcodes.htm

Bully@Wiiplaza

it was pokemon battle revolution´s battle timer (offline)
I´ll try to do it again, though.
My Wii hacking site...
http://bullywiihacks.com/

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

~Bully

dcx2

There are a few different timers in the Wii.

One of them is the Time Base register.  It's sortof hidden, in that Gecko.NET and WiiRD won't show it.  The Time Base is a free-running counter that ticks with the PPC's oscillator, so it will continue counting during a breakpoint or pause.

http://wiird.l0nk.org/forum/index.php/topic,8739.msg73063.html#msg73063

The Memory Interface also has timers.  But my first guess would be the Time Base register.

http://hitmen.c02.at/files/yagcd/yagcd/chap5.html#sec5.5

There are also performance monitoring registers and a decrementer register on the PPC, but I have yet to mess with those.