Have round durations been documented?
1 year ago
United States

Edit: Joined the discord and am aware now that this has been documented.

I know Summoning Salt broke down what frames yield certain times, but I looked into the code and my findings don't line up 100%. In short, there's no RNG that modifies the time as far as I see, but there's a "decimal" that uses overflow to up the centiseconds to add by 1. This can make getting .99 impossible on certain seconds. On top of that, each round has different numbers for how much gets added to the timer every frame. Granted, this really isn't too meaningful for speedruns since you'll always want first round KOs, but it's still interesting. R1 lasts about 3618 frames, and each round after is around 5 seconds shorter.

I bring this up since I looked into modifying the in-game timer to be more accurate. The reason it uses the ranges provided is from an apparent refusal to do any sort of complex math. The game rounds the centiseconds to the lowest 16th ($00 to $60 in hex) and divides that by 8, pulling from a table of 7 values; what the game registers as .97 is actually between .80 and .95. The space used for that code was enough for me to display centiseconds without altering anything else, and an IPS file can be provided if requested. I understand it may not be used for various reasons, such as purity or no access to a flash cart. As for potential desyncs with replays, I briefly looked into the way RNG is handled, and found no trickery that would be affected by altering the code itself. Take that with a grain of salt, please, as it is a bit more CPU-intensive than the old code.

I'll update this post with more detailed information (such as numbers) if people are interested, although I doubt it will actually help with speedrunning MTPO.

Edited by the author 1 year ago
United States

As stated above was able to get the information in discord. But if someone stumbles on this thread:

https://forum.speeddemosarchive.com/post/mike_tysons_punchout_nes_ss_and_ils_ss_wr__1627.54_on_p15_393.html#mike_tysons_punchout_nes_ss_and_ils_ss_wr__1627.54_on_p15_393

Here's an old forum thread where the game clock / decimal values are pretty well documented

Edited by the author 1 year ago