DS-Homebrew / nds-bootstrap

Boot an nds file
https://wiki.ds-homebrew.com/nds-bootstrap/
GNU General Public License v3.0
1.17k stars 75 forks source link

Mario Kart DS Hacks Don't boot? #45

Closed ghost closed 7 years ago

ghost commented 7 years ago

So I tried to play some Mario Kart DS hacks I found, and the only one that works is the demo version of Ermii Kart DS. If I try to launch the final release of the hack, I am given this error screen right before the Nintendo logo/copyright screen should appear. http://tinypic.com/r/11v0fbt/9 If I try to boot any other hacks like Mario Kart Infinity, Mario Kart DS Beta Ultimate v1.1b (hack of the kiosk rom), Mario Kart Zero (hack of kiosk rom), and Mario Kart DS N64 Circuit, then I am just greeted with a white screen that never gets to the Nintendo/copyright screen. Are these hacks unable to be played because they made with maybe a emulator/flashcard in mind or is it because there is additional code that's preventing them from being played?

NightScript370 commented 7 years ago

If I try to boot any other hacks like Mario Kart Infinity, Mario Kart DS Beta Ultimate v1.1b (hack of the kiosk rom), Mario Kart Zero (hack of kiosk rom), and Mario Kart DS N64 Circuit, then I am just greeted with a white screen that never gets to the Nintendo/copyright screen.

Technically, all Mario Kart DS hacks will boot a white screen. The reason why Ermii booted something different is because it added a crash dump screen into MKDS.

Gericom commented 7 years ago

Yes, it's the exception handler I added. I wonder why it crashes though.

NightScript370 commented 7 years ago

The creator of the amaizing ROM hack known as Ermii Kart DS? Here?

/me runs and hides before doing something that I will regret...

Anyways, um, whoever here is a MKDS ROM hacker, please listen up and do a simple request....

I want you guys to take a custom character model into its own un-modified MKDS ROM and test it.... If it crashes there, tell it here Then, take a custom track into its own un-modified MKDS ROM and test it with that... If it crashes there, say it here also... Then, try a custom texture into its own un-modified MKDS ROM and test it with that... If it crashes there, say it here also... Then, try Custom music into its own un-modified MKDS ROM and test it with that... If it crashes there, say it here also...

Also, Gericom, would you mind emailing me a Clean ROM of MKDS with your crash screen in it? It might help with bug crashing even more...

Gericom commented 7 years ago

I am not the creator of Ermii Kart DS, but I'm part of the team. I'll see if I can find out what went wrong from this dump first.

Ermelber commented 7 years ago

Lol I'm the creator :P But this is stuff only Geri can fix I think

NightScript370 commented 7 years ago

I am not the creator of Ermii Kart DS, but I'm part of the team. I'll see if I can find out what went wrong from this dump first.

Whoops...

/me sad because I embarrased myself in front of a developer...

Lol I'm the creator

Even more mistakes I have to learn from..

Me sad even more for emarassing myself...

So anyways, Gericom, Id actually prefer if you can change your crash screen so the dump is on the bottom screen and the top screen does stuff like how SM64DS does it...

ghost commented 7 years ago

So I should also mention that if I edit a rom of the Kiosk demo version to have the cheat code that lets you access the debug menu, it will not load but the unedited rom will load.

NightScript370 commented 7 years ago

So basically, any edit to a ROM will not work?

Thats the message that all the hacks give...

ghost commented 7 years ago

But I wonder why the Ermii Kart DS Demo works then, but other hacks don't?

NightScript370 commented 7 years ago

Wait, the Demo boots into gameplay, but the full hacks doesn't?

I'll go ask people at DSHack.org, AKA the official MKDS hacking board.

ghost commented 7 years ago

Have you gotten any responses?

Ermelber commented 7 years ago

I have no idea why ekds demo works but the full one doesn't. It is true I've modified the arm9 but should it be a problem?

ghost commented 7 years ago

What exactly did you modify in the arm9?

Ermelber commented 7 years ago

I added ASM hacks and various edits to some values

Gericom commented 7 years ago

Hmm, the error seems to be related to the loading of the sdat file. It occurs in NNS_SndArcGetPlayerInfo which is called by NNS_SndArcPlayerSetup. It seems like the info pointer in the sdat header is corrupted. So probably the read of the header went wrong.

ghost commented 7 years ago

Is there a way to fix this error?

Gericom commented 7 years ago

I think I would have to make something to find out what the data looks like to see what got corrupted