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 > Internal DS icon utility?

#116519 - RavenWorks - Fri Jan 26, 2007 3:29 pm

Apparently some new homebrew loaders allow you to see the icon and title stored in a DS rom... I was just wondering if there was any little program in existence to easily patch a 4-bit BMP (and text string?) into a DS rom. I'm pretty sure I remember seeing that *somewhere*, but I can't recall where any more... just trying to save myself the trouble of doing it myself ;P Any suggestions? (I'm using libnds.)

#116523 - PhoenixSoft - Fri Jan 26, 2007 3:53 pm

DarkFader's ndstool allows you to modify the header.

#116535 - RavenWorks - Fri Jan 26, 2007 4:30 pm

Awesome, thanks :)

#116639 - RavenWorks - Sat Jan 27, 2007 5:41 pm

OK, I'm going to have to ask for help, here... so far I've tried -b and -o, and neither one has worked... has anyone done this successfully yet?

edit: OK, whoops. I was just going ndstool.exe csdemo.nds -o csicon.bmp, thinking it would write that icon into the NDS file specified... I didn't realise I had to start with the .bin files in order to wind up with an NDS file with an icon in it. While I'm here though, I'll ask: what's the difference between the 'banner bitmap' and the 'logo bitmap'?

#116644 - Sausage Boy - Sat Jan 27, 2007 9:33 pm

The banner is what's shown instead of (Nintendo) when you run the game with wmb.
_________________
"no offense, but this is the gayest game ever"

#116648 - RavenWorks - Sat Jan 27, 2007 10:37 pm

Huh! I would've expected that would be decided by software, not stored in a specific location in ROM... What about the three lines of text that you specify in the same command, though? It can't be the three lines you see when you're about to download a 'download play' game, because I can say from experience with Meteos that they can change at runtime...

#116652 - Sausage Boy - Sat Jan 27, 2007 10:46 pm

Yes, they are those lines. And what do you mean by change at runtime? The wmb host could easily change those in the offered binary at runtime.
_________________
"no offense, but this is the gayest game ever"

#116653 - RavenWorks - Sat Jan 27, 2007 10:55 pm

ahh, OK! The -b option is only for generating ROMs meant to be sent over WMB? Now I get it...

Is -o for specifying the icon you'd see on the 'manual mode' firmware screen? (I ask because there's some homebrew hardware that finds those icons inside of roms, and I know PAlib roms show up with the PAlib icon...)

#116674 - RavenWorks - Sun Jan 28, 2007 3:39 am

OK, I'd like to specify that based on the tests my friend with the R4 did, -b does indeed make the 32x32 16-color icon (at least as far as an R4 is concerned).