OoT-Randomizer
OoT-Randomizer copied to clipboard
VC crash screen + load progress
A port of the VC functions I did for the Majora's Mask Randomizer VC - load progress of the ROM and custom crash screens.
The PPC assembly was converted to gzi commands and is placed in the unused spaces of app1. The hooks are in the exception handler, the start-up and rom loading routines, and in cpuFindFunction to save a register value when it finds an illegal instruction. I've played for a little bit on dolphin and wii and it seems okay.
The wii crash addresses, N64 registers and last entered recomp node
An N64 stack trace is attempted. Due to how the VC doesn't really keep track of the program counter, a guess is made on where to start. This often fails however, and can result in incorrect info or the page showing unavailable.
Wii GP registers
Wii Back Chain
Some recomp code heap stuff
Couldn't get controller polling to work, so the crash pages advance on a timer, and this doesn't include any random crash patches yet - I'd like to see what crashes get reported first.
@Rebbacus Could you post a screenshot of the load screen as well please?
This will come up after the "You will need the classic controller" message when starting up the VC, and after bringing up the home menu.
We've been discussing this internally and some concerns have been raised:
- The comments make it look like this is removing the existing features for using 8MB memory and remapping the D-pad. I'm assuming this isn't actually the case, but could the comments be adjusted to directly point to where these features have been moved to?
- The comments say it is for NACE, but if it doesn't play nice with NACJ then it'll need to be split off into its own .gzi with the correct one being determined somehow.
-
The D-pad and 8MB memory lines were present, but I've moved them up to the top with the comments for visibilty.
-
I was under the impression the patcher was only taking US OoT wads, since the requirement pages stated it wanted the US OoT wad. Oops. This gzi is only good for the US version, as the offsets for the JP wad differ. I'm not sure how to get the patcher to tell them apart.