gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > ndstool 1.47 producing bad NDS when packing data files

#173512 - n2liquid - Mon Apr 12, 2010 2:52 am

Hi,

I'm not sure this is the right place to ask this, but here it goes. I have recently downloaded devkitPro and it came with ndstool version 1.47. I can list the data files inside official NDS files, but ndstool seems to produce bad NDS files when I try packing data files inside an unofficial NDS (i.e. my own NDS).

This is how I proceed to produce the NDS:
Code:
mkdir data
echo Game file > data\file.txt
ndstool -c game.nds -9 game.arm9 -b <icon/path/comes/here> "Game;Subtitle 1;Subtitle 2" -d data


This indeed generates the NDS. But when I try listing the files in it, ndstool crashes:

Code:
ndstool -l game.nds


It outputs tons of slashes (/) and eventually crashes (with a segmentation fault, I think). Also, the ARM9 code runs but doesn't find any file.txt using libfilesystem.

Does anybody have this issue or knows what it could be?