(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-26-24 09:20 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Level Timers.. New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
S.N.N.
wtf


 





Since: 11-17-05
From: Ontario, Canada

Last post: 6343 days
Last view: 6338 days
Posted on 10-01-06 05:06 PM Link | Quote
Strange question, and whether anyone has the answer to it or not, I don't know. The game I am referring to in this thread is Yoshi's Island, obviously. Would it be possible to, once the player enters a level, to initiate a timer for that level, like in SMW/SMB/etc.? I don't know enough ASM to figure this out I'm afraid.

Would anyone happen to have a clue how to do this? Thanks

(yeah, it's my first ASM request, sue me)
Sonicandfails

910








Since: 11-17-05
From: Mass

Last post: 6338 days
Last view: 6337 days
Skype
Posted on 10-01-06 05:07 PM Link | Quote
Anything is possible with ASM knowledge.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6338 days
Last view: 6338 days
Posted on 10-01-06 07:11 PM Link | Quote
Within the limitations of the hardware. (I've had people ask me to do things well beyond what the system can do because they took that statement a little too literally. )
rubixcuber

Mole








Since: 09-08-06
From: St. Louis, MO

Last post: 6447 days
Last view: 6447 days
Posted on 10-01-06 07:53 PM Link | Quote
Well, I don't know much about YI, but there's probably a frame counter in RAM somewhere. The frame counter probably resets to 0 after some number of frames, so what you want to do is create another value keeping track of how many times the frame counter has reset. Then the total frames passed is your new value * number of frames per reset + frame counter.

Then you just divide by the FPS to get how much time has passed and display that however you'd like.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6338 days
Last view: 6338 days
Posted on 10-01-06 07:55 PM Link | Quote
Or better, make a second frame counter that only runs while playing (not while paused or what have you), and once it hits 60, reset it and increment your seconds counter.

But one of the things I liked most about YI was not having a time limit...
S.N.N.
wtf


 





Since: 11-17-05
From: Ontario, Canada

Last post: 6343 days
Last view: 6338 days
Posted on 10-01-06 08:12 PM Link | Quote
Originally posted by rubixcuber
Well, I don't know much about YI, but there's probably a frame counter in RAM somewhere. The frame counter probably resets to 0 after some number of frames, so what you want to do is create another value keeping track of how many times the frame counter has reset. Then the total frames passed is your new value * number of frames per reset + frame counter.

Then you just divide by the FPS to get how much time has passed and display that however you'd like.


Yeah, that sounds like the best way to do it...it shouldn't be too hard. I do agree with HH though, in that it was good without the timer - I just figured the timer may add an extra twist to it

I'll see what I can do - I'm only butchered my ROM about 600 times, so whats an extra +1 gonna do
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Level Timers.. |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.018 seconds; used 376.05 kB (max 458.70 kB)