Fix: Various PAL1.1 asset offsets and Main Menu options screen#3045
Fix: Various PAL1.1 asset offsets and Main Menu options screen#3045leggettc18 merged 5 commits intoHarbourMasters:develop-sulufrom
Conversation
|
/cc @NEstelami |
I have a small quesiton with this and I had this in mind since a while, so don't worry it's just a question |
Yes I mention above that for a feature change, we could very well have different draw/update methods for PAL N64 entirely and attempt to replicate the language change feature (tied to the CVar yeah). |
Just wanted to make sure ! That would be awesome indeed! :) |
|
I think I agree with this being develop-sulu despite OTR breakage, since OTR regen isn't explicitly required (i.e. won't crash) and is only needed for one source rom. @briaguya-ai would you agree with this going to Sulu? |




This address some reported PAL1.1 asset issues
Regarding the PAL N64 Main Menu option screen, there are additional options for changing the game language. The corresponding code does not exist for this feature and the way the assets are defined differ quite a bit.
PAL GC defines one list of vertices for the headers and a separate copy for German. Similarly one list for the options vertices and a separate copy for German.
However, PAL N64 doesn't define a separate copy for German, instead the german specific vertices are listed in a separate spot. PAL N64 also has vertices for the change language mixed in, so those are currently ignored and skipped over as necessary.
I have added resource methods to query the region and platform type of a game version (
ResourceMgr_GetGamePlatformandResourceMgr_GetGameRegion). In the case of the Main Menu, I am using this to detect if the loaded game (original in the case both original and MQ are provided) is PAL N64 or PAL GC to conditionally apply the different vertices.Targeting Sulu even though it would require re-generating the PAL1.1 otr, but the game wont crash in this case if users don't re-gen. Fixing the asset issues seems preferable as a bugfix release.
These changes were aimed as a bug fix for current PAL 1.1 issues. It's possible that as we expand rom support, we may find it better to create specific draw methods for the different types here. That would also open the possibility if we wanted to support the in-game language change feature for PAL N64.
Fixes #3022, #3023
Build Artifacts