oot icon indicating copy to clipboard operation
oot copied to clipboard

Commit `title_static`

Open Pepe20129 opened this issue 2 months ago • 3 comments

The main file is split for NTSC, N64 PAL & GC PAL as a lot of stuff was reordered between them (as an example, NTSC & N64 PAL have most of the language specific textures split by language while GC PAL groups them). In order to not do this, a lot of #pragma increment_block_numbers would have to be in title_static.h itself which would imo be worse due to the clutter. I extracted most of the stuff that's in common into some .inc.c & .h files that are included in the right spots for each version.

Pepe20129 avatar Oct 02 '25 20:10 Pepe20129

That doesn't work due to file padding, there's no padding between the assets.

Pepe20129 avatar Oct 12 '25 18:10 Pepe20129

Every texture in this file is aligned to 0x10, you can introduce splits anywhere and it will still match. The only place where splitting would cause unwanted new padding to appear is between the display lists.

Thar0 avatar Oct 12 '25 18:10 Thar0

Did the change, there are still some messy places but idk if those are worth to clean up right now.

Pepe20129 avatar Oct 26 '25 17:10 Pepe20129