melonDS-emu / melonDS

DS emulator, sorta
https://melonds.kuribo64.net
GNU General Public License v3.0
2.98k stars 495 forks source link

Booting 1.0J NAND immediately goes to the "An error has occurred" screen #1996

Open Dionicio3 opened 3 months ago

Dionicio3 commented 3 months ago

I have a DSi on 1.0J, so I decided to dump it's NAND for use in melonDS. However, as soon as I try to boot the NAND, it immediately goes to the "An error has occurred" screen. I tested the dump in no$gba and it seems to work just fine, so I'm not sure what's going on

EDIT: I should mention I'm using the latest commit that was built via GitHub Actions, ea1755b https://www.youtube.com/watch?v=NLUlL6jFIu0

Dionicio3 commented 3 months ago

xp from the Discord suggested hex editing byte 0x1FD in the DSi firmware to 0x01. Weirdly enough, that ended up working, but the unmodified firmware still works in no$gba.

CasualPokePlayer commented 3 months ago

0x1FD corresponds to the Wifi board to be used. 1FDh 1 Wifi Board (01h=DWM-W015, 02h=W024, 03h=W028 1.0J would only support DWM-W015 (other values require more recent versions). So whatever was set before would be just wrong. no$gba probably better detects it by analysing the wifi firmware in the NAND (which would be a better source of truth here compared to the DSi firmware). Was the DSi firmware dump on the same DSi anyways, or from some other DSi?

Dionicio3 commented 3 months ago

From another DSi, I dumped the NAND by ntrbooting into GM9i then into dumpTool. I didn't want to go through the pain of ntrboot working again, so I just used my bios and firmware files from my 1.4.5U DSi