Homebrew Icon

Discussion in 'NDS - Emulation and Homebrew' started by gudenau, Apr 2, 2012.

  1. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,257
    1,225
    Jul 7, 2010
    United States
    /dev/random
    How can I use a custom icon for my nds homebrew?
     
  2. LeRodeur

    LeRodeur GBAtemp Regular

    Member
    162
    10
    Dec 12, 2009
    France
    modify your makefile
     
  3. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    Easiest way is to just find the default icon your library is already using and just replace it.
    Locations:

    libnds:
    devkitpro-->libnds-->icon.bmp

    PAlib:
    PAlib-->lib-->defaultlogo.bmp

    nfllib:
    in same folder as any example's Makefile (icon.bmp)



    --Make sure the image you place it with is 32x32 and 16 colors or less .bmp.
     
  4. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    To be more specific, it has to be a 32x32 16-coloured bitmap with the first colour in the palette being transparent. Keep that in mind, only 15 colours are displayed, 1 is never drawn. Forget about it and you'll end up with an icon full of holes. :P
     
  5. Rydian

    Rydian Resident Furvertâ„¢

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    I use RomeR to edit the info and icon after compilation.
    [ft]RomeR[/ft]
     
    2 people like this.
  6. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    This is also a very good method, as you don't have to worry about editing the MakeFile each time you want to make a new project - good thinking Rydian. I was about to recommend DSBuff, but people have very varied opinions on that software, so RomeR is just as good of a recommendation.
     
  7. jurassicplayer

    jurassicplayer Completionist Themer

    Member
    4,355
    505
    Mar 7, 2009
    United States
    Pantsuland
    RomeR adds something that shows it was modified by said program...but if you don't care about that bit, then it works just fine.
     
  8. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009
    In that case, you can edit it manually with ndstool (command line tool) and put whatever you want, no stupid watermark type thing. Also, editing the makefile isn't hard.
     
  9. Rydian

    Rydian Resident Furvertâ„¢

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    What does RomeR add? First I've heard of this, is it just some hex sig?
     
  10. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    I think it only adds an entry to notify the user that the ROM image has been modified in case someone changes an icon for a commercial ROM, it's definatelly not something that would change the way a program works so I wouldn't really bother worrying about it. An icon is the least important part of a binary for the DS, some people don't even bother changing it from the default one.
     
  11. LeRodeur

    LeRodeur GBAtemp Regular

    Member
    162
    10
    Dec 12, 2009
    France
    The makefile uses ndstool to gather pieces after compilation of homebrew, so why would we do the job twice?
    You only have to change the string ICON at the top of the makefile