OoT-Randomizer icon indicating copy to clipboard operation
OoT-Randomizer copied to clipboard

VC crash screen + load progress

Open Rebbacus opened this issue 1 year ago • 4 comments

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 NICEcrash01

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. NICEcrash02

Wii GP registers NICEcrash03

Wii Back Chain NICEcrash04

Some recomp code heap stuff NICEcrash05

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 avatar Dec 21 '23 07:12 Rebbacus

@Rebbacus Could you post a screenshot of the load screen as well please?

fenhl avatar Apr 22 '24 20:04 fenhl

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. Screenshot 2024-04-22 163842

Rebbacus avatar Apr 22 '24 20:04 Rebbacus

We've been discussing this internally and some concerns have been raised:

  1. 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?
  2. 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.

fenhl avatar Apr 30 '24 05:04 fenhl

  1. The D-pad and 8MB memory lines were present, but I've moved them up to the top with the comments for visibilty.

  2. 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.

Rebbacus avatar Apr 30 '24 20:04 Rebbacus