ROM Hack Creating Custom DS Icons in GIMP (nds color palette)

superspudz2000

Well-Known Member
OP
Member
Joined
Aug 23, 2007
Messages
574
Trophies
1
XP
729
Country
Canada
after days of trying to get a handle on GIMP image editing program, i have finally figured out how the Nintendo DS color palette works in regards to DS Icons. DS icons are 32 x 32, 15 Colors, with an extra, 16th color relegated to a transparency layer. a good example of this is Okamiden. the unmodified icon of that game has white set as the transparency color, so the Icons background is transparent. also, the DS uses different color palette. so many colors just won't display correctly on a DS.

i created a complete Colormap of the 256 Colors used in Nintendo DS icons, that can be used in GIMP.

https://www.mediafire.com/file/8m9zlogtjt221ai/Nintendo-DS-Colormap.gpl/file

the process for creating custom DS icons is a lot more complicated that i had initially thought. you basically have to create a new Color Palette for every icon, which isn't as bad as it sounds since you only need to select 15 colors plus a final transparent color.

just to quickly outline the method i found easiest, starting with a 32 x 32 base icon image, in GIMP, open the color palettes box with Windows, Dockable Dialogs, Palettes.

then Image, Mode, Indexed. ... Use Custom Palette. check remove unused colors from colormap. this will convert the image to only use Nintendo DS compatible colors.



Gimp-Palette-Screen-1.png



select "New Palette". then use the color picker / eye dropper tool to add 15 colors, adding new entries from the currently selected foreground color. the last color, #16, is a transparency layer. choose some nonexistent color that's not in the image to make sure there will be no invisible colors. Bright Neon Green or some color that wont interfere with the image. click save.

then go to Edit, "Undo Convert Image to Indexed", (you could also just close the window discarding changes and open the image again). then, go back to image, mode, indexed again, this time choosing the new 16-color palette you just created. (uncheck remove unused colors from colormap option)




Gimp-Palette-Screen-2.png



now that the image is converted to 32 x 32, 16 colors, you can "Export" and save it somewhere, then it's simply a matter of using "DSBuff" to replace the Icon.


DSBUFF.png
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,377
Country
United Kingdom
Some serious effort to smack GIMP into loading things. Nice work, even if I might question some of your choices for bad icons in the other thread.
Might have to look at this for other aspects of DS game bothering -- there are some plugins to view some of the common graphics formats for the DS (to say nothing of susie plugins https://gbatemp.net/threads/susie-p...nitrosdk-images-and-nitro-rom-file-sy.162863/ ) but something reasonably custom when I don't have the option to use some of the more general tile viewers/editors.
 
  • Like
Reactions: ZERO2028

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...