Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mario's Holiday Doesn't Open #6

Open
poudink opened this issue Sep 18, 2020 · 3 comments
Open

Mario's Holiday Doesn't Open #6

poudink opened this issue Sep 18, 2020 · 3 comments

Comments

@poudink
Copy link

poudink commented Sep 18, 2020

This is because SKELUX broke the rom's FNT by replacing the first four bytes of it with HACK (0x4841434B), which makes it impossible to open in every DS game editor.
The offset to the FNT can be found at 0x40 in the rom's header. It is four bytes long.

Additionally, the first 16 bytes of the rom's header have been modified. This has the effect of making the rom unopenable in SM64DSe because SM64DSe checks if a rom is SM64DS by checking the header. Finding a better way to check would fix this.

@ghost
Copy link

ghost commented Sep 18, 2020

I don't think it's worth it to add a check just for one hack. It seems to be better to directly use the total directory count in the FNT to obtain the table offset.

@Ed-1T
Copy link

Ed-1T commented Sep 18, 2020

Could you remove my code lol

@poudink
Copy link
Author

poudink commented Sep 18, 2020

okay

axel7083 added a commit that referenced this issue Mar 2, 2024
Fix insertDLs options --newcode-lo and --newcode-hi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants