Status Icon Overflow Patch - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html) +--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html) +---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html) +---- Thread: Status Icon Overflow Patch (/thread-4199.html) |
Status Icon Overflow Patch - SilentEnigma - 04-21-2022 Status Icon Overflow Author: SilentEnigma Version: 1.2 Released: 2023-10-09 Applies to: FF3us 1.0, FF3us 1.1, FF6j Download Description Did you know that navigating the Skills menu in FF6 is like walking a tightrope while running with scissors? That one wrong move can send you plummeting into the depths of resetting your SNES? * ...Yeah, long story short, I ran into a game-freezing bug while doing some testing recently. To my knowledge, it has never been reported before:
Don't push your luck, kiddo
The problem is caused by the game creating new instances of the active status effect icons every time you navigate back to the top-level Skills menu from an ability submenu. Eventually the game runs out of internal slots for the icon graphics, and it winds up stuck inside the infinite loop instruction at C3/11AD: Code: C3/11A0: E8 INX Imzogelmo's C3 disassembly has the comment for C3/11AD: "Changing this to 80 ED unfreezes Novalia Spirit's Shop bug". The same change would prevent the lockup here while leaving the graphical glitch. I'm thinking the code snippet containing C3/11AD was originally meant as protection against overflow scenarios like this one. However, the infinite loop was inserted during development (possibly for testing) and never removed. Anyway, this patch fixes the bug for real by selectively skipping over the icon display code in the Skills menu. It uses no free space. Thanks to @"Gi Nattak" for keeping a lid on this long enough for me to get a patch out. * assuming you've already done the other 38 steps necessary to trigger the freeze RE: Status Icon Overflow Patch - SilentEnigma - 04-23-2022 Patch updated to v1.1 to correct a text color issue with HP/MP/level values on the Skills page. Still uses no free space! And the footprint only grew by a couple of bytes. Thanks @"Gi Nattak" for reporting the issue in v1.0. I think we're in good shape now. RE: Status Icon Overflow Patch - Gi Nattak - 10-03-2023 Posting this here as well in case it reaches you faster than my PMs - I believe I've found a bug with this patch: https://www.youtube.com/watch?v=x1jqKYlrZGo It'll happen once you select an esper, than rapidly exit and re-enter the submenu (can be just once), and then click on the esper again. I thought it was a confliction with RotDS, but testing it more on a vanilla rom it seems like not. Edit: In case it isn’t obvious, the bug is that the character stats menu font that shows the level, HP and MP turns dark blue when it should remain the regular font color, default white in this case. RE: Status Icon Overflow Patch - SilentEnigma - 10-09-2023 (10-03-2023, 08:16 PM)Gi Nattak Wrote: Posting this here as well in case it reaches you faster than my PMs - I believe I've found a bug with this patch: Thanks Gi for reporting the bug in v1.1. I was able to reproduce it simply by alternating between the top-level Skills menu and an ability list twice, and then viewing the details of an Esper. The patch has been updated to v1.2 to fix the issue. It still uses no free space (by the skin of my teeth). |