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 > Icon on Nds build with ndstool

#43024 - jandujar - Wed May 18, 2005 9:13 am

I'm trying to build a nds file from arm7.bin and arm9.bin.

The nds works, but I want to insert a bitmap icon so "wifime" show this icon. But I get this error from ndstool.exe

Command:
ndstool -c game.nds -b imagen.bmp "title;of;demo" -7 arm7/arm7.bin -9 arm9/arm9.bin -r7 0x02380000 -e7 0x02380000 -r9 0x02004000 -e9 0x02004000

Error:
Nintendo DS rom tool 1.13 by Rafael Vuijk (aka DarkFader)

Size: 32 x 32
Bits per pixel: 1
Colors used: 1
Error: Image should use 8-bit indexed colors


I make a bmp file with gimp mode "indexed" with 256 colors = 8 bits and I have this error.

#43027 - wintermute - Wed May 18, 2005 10:58 am

please submit a bug report here -> http://sourceforge.net/tracker/?group_id=114505&atid=668551 and attach the bmp in question.

#43030 - jandujar - Wed May 18, 2005 11:43 am

I make a new image with "paint" (windows) and have no problem.

Maybe gimp make anything wrong...

#43032 - wintermute - Wed May 18, 2005 1:03 pm

maybe the GIMP outputs bmp in some format that the bmp loader in ndstool doesn't yet recognise. Please submit the bug report anyway.

#43034 - natrium42 - Wed May 18, 2005 2:53 pm

Try with a bitmap with 16 colors.
_________________
www.natrium42.com

#43042 - jandujar - Wed May 18, 2005 4:25 pm

bug submited
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com