[SOLVED] fatInitDefault() fails whith self-booting game
Posted: Sat Aug 01, 2009 10:18 am
Hi,
I am trying to make a "self booting card" for the DS.
I mean that I want my game to start like an original game, and not having to select it from a menu.
I am using a genuine DSTT card, and I figured out that renaming a .nds image to TTMENU.DAT will launch it automatically.
However, when my .nds image is launched this way, fatInitDefault() fails (everything works fine when I use the standard launch menu).
I already tried to add the TTMENU.SYS and all support files from the original DSTT's menu (except the original TTMENU.DAT), and it still doesn't work.
Has anyone already tried to (and successfully ;o) ) obtain a bootable .nds with working libfat?
The only idea I have about this failure is that for some reason, the Auto DLDI patch may not work... But since I always used AutoDLDI's cards, I have no idea how to do it "by hand" (
Any hint is welcome
Eric
PS: I am using those versions:
[devkitARM] Version=26
[libnds] Version=1.3.5
[libndsfat] Version=1.0.4
I am trying to make a "self booting card" for the DS.
I mean that I want my game to start like an original game, and not having to select it from a menu.
I am using a genuine DSTT card, and I figured out that renaming a .nds image to TTMENU.DAT will launch it automatically.
However, when my .nds image is launched this way, fatInitDefault() fails (everything works fine when I use the standard launch menu).
I already tried to add the TTMENU.SYS and all support files from the original DSTT's menu (except the original TTMENU.DAT), and it still doesn't work.
Has anyone already tried to (and successfully ;o) ) obtain a bootable .nds with working libfat?
The only idea I have about this failure is that for some reason, the Auto DLDI patch may not work... But since I always used AutoDLDI's cards, I have no idea how to do it "by hand" (
Any hint is welcome
Eric
PS: I am using those versions:
[devkitARM] Version=26
[libnds] Version=1.3.5
[libndsfat] Version=1.0.4