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 development > .bin to .ds

#44699 - Toadhead - Sat Jun 04, 2005 1:05 pm

How can I create a .nds, .nds.gba etc. out of an .bin file?
When I compile my program it becomes a .bin that my emu cant play :/

Greetings,
Rob

#44705 - Maverick - Sat Jun 04, 2005 2:14 pm

You need ndstool from darkfaders site. You also need an arm7 binary, an arm9 binary and a 32x32 256color icon.

When you have all of these, use the command line:

ndstool -c test.nds -9 arm9.bin -7 arm7.bin -t icon.bin

If you want to turn this into a .ds.gba file you will need dsbuild from ndslib and ndsmall.bin from darkfaders site.

When you have these, type:

dsbuild test.nds test.ds.gba ndsmall.bin

#44706 - Toadhead - Sat Jun 04, 2005 2:15 pm

Why do I need a color icon??

#44723 - gl0b - Sat Jun 04, 2005 5:05 pm

To show it when u startup your ds in manual mode
_________________
----!-----

Next generation DS

#44725 - maniacdevnull - Sat Jun 04, 2005 5:34 pm

Toadhead wrote:
Why do I need a color icon??


You don't need it. If you don't want to have an icon, just leave that part off.