leoetlino / project-restoration

A Majora's Mask 3D patch that restores some mechanics from the original game to get the best of both worlds
https://zora.re/storation
GNU General Public License v2.0
693 stars 24 forks source link

[Bug] Unable to compile with latest devkitpro toolchain #250

Closed PhlexPlexico closed 1 year ago

PhlexPlexico commented 1 year ago

Describe the bug Sometime in the last year here there has been an update to libctru/devkitarm tools that now makes it unable to create the patches for project restoration. Something happens within Magikoopa's patching that messes up the loader text size.

To Reproduce Download the latest 3ds tools from devkitpro and try to make the project. I've narrowed the build process down to Magikoopa where it is failing.

Screenshots image image

Additional context Note the message Loader text exceeds maximum size. This could be more of an issue on how Magikoopa handles the patching as well, and I can create an issue on that repo if necessary.

Thanks!

PhlexPlexico commented 1 year ago

Turns out my issue was with using a pre-modified exheader.bin. I've since gotten the original and it appears to be patching!