[TUTORIAL] Full Guide to 3DS HOME Menu Badge Customization

Discussion in '3DS - Homebrew Development and Emulators' started by Valyou, Nov 22, 2015.

  1. Valyou
    OP

    Valyou Member

    Newcomer
    25
    18
    Sep 13, 2015
    United States
    (revision 3) (revised for updates on GYTB)

    Section I.a - Before Starting
    • This guide assumes that you're not using Savedatafiler with emuNAND, have a PC with Windows, and already have a way into Homebrew Launcher.
    • You'll need latest firmware to download and run Nintendo Badge Arcade, it is not known if you can inject badge data without the Badge Arcade having been installed and run at any point in time on your system.
    • Unless you want to merge badge data with another player (somewhat complicated process), you'll also need a few badges to start with, so mess about in the Badge Arcade for a bit. It's not hard to slowly get badges entirely for free, check in every day and try at the Practice Machine for free plays, getting at least one is basically a guarantee. The more space for custom badges, the better!
    Section I.b - Resources
    Section I.c - Preparing
    Before you can do anything, you will need to dump your badge data files.
    ADDENDUM: If you're only using GYTB to work with custom badges, you won't need to dump your extdata.

    1. Access your 3DS SD card and download extdata_dump. Copy the extdata_dump.3dsx, extdata_dump.smdh, and config.txt files over to where you load homebrew apps on the SD card.
    2. Open config.txt in a text editor and replace the text with the contents of [this pastebin] http://pastebin.com/aFAiB2rX, save, and return to your homebrew launcher.
    3. Load extdata_dump and select the second option, "Dump extdata specified in config." This will dump the files needed for modification, BadgeData.dat and BadgeMngFile.dat.
    4. After it's done dumping, get back to the SD card. and go to the directory you put extdata_dump. BadgeData.dat and BadgeMngFile.dat will be present, just copy them over to a good spot on your computer.
    5. If you go back for more badges, you should re-dump your data after getting new ones. The Badge Arcade won't ever touch your badge data except to add new badges.

    Time for an explanation of the files you dumped; BadgeData.dat contains badge images, shape data, and badge names. BadgeMngFile.dat contains data on everything else about your badges, too much to list.

    Section II.a - Injecting Badges (with GYTB)
    If you don't have MrCheeze's GYTB tool, you will need it to inject badges with this method.
    1. Simply place GYTB where you launch 3DS homebrew apps from to install it.
    2. There is a folder named "badges" in your GYTB folder. Drop any 64x64 PNG files (with or without transparency) in this folder.
    3. Open your homebrew launcher and run GYTB. It will inject any badges in the folder to your badge data and exit. It will add as many of your default badges as it can, then add all of your custom badges.
    Launcher Badges: To make a launcher badge, rename a badge following this format; "[badgename].[TIDLow].[anything else].png" To look up the TIDLow for a system app of your region, refer this 3dbrew wiki page. For example, to make a badge launch eShop on a US system, name the badge "[name].00021900.png"

    Section II.b - Injecting Badges (with Custom Badge Tool)

    If you don't have FroggestSpirit's Custom Badge Tool, you will need to download it to inject badges.
    1. Open your BadgeData.dat with FroggestSpirit's Custom Badge Tool.
    2. Use left and right arrow keys to navigate slots (up and down to move back and forth by ten) to the slot you wish to overwrite.
    3. Right click, and in the drop-down menu, click "Load BMP."
    4. This step is touchy. To make new shape data for the custom badge, you will need to click the background of the badge image. This will take the color you selected and make all pixels of this color invisible, so be sure to click the right color for the injected badge to look its best. If you're not sure, right click and press "Clear Transparency." This will make the badge a full square.
    5. Right-click again and press "Save BadgeData.dat." Repeat these steps for as many badges as you wish to inject.
    NOTE: For best results with mega badges, it is recommended you write each part of the mega over the same part of an existing mega badge with the same dimensions, if you own any. This way, the 3D top screen view of the mega badge is assembled into a nice whole!
    Section II.c - Writing Extdata (with extdata_dump)
    1. Copy your new BadgeData.dat (and BadgeMngFile.dat if applicable) to the same directory that extdata_dump is on your SD card. If you don't want to overwrite one or the other, remove that file in the folder.
    2. Go back to extdata_dump and select the third option, "Restore extdata specified in config."
    3. When it's done writing, go back to the HOME Menu and enjoy your new badges!
    Section IV - Making Badges
    • To make a badge texture, it must be a 64x64 image, and the background (all that is not part of the object of the texture) should be one single color that does not occur in the object itself. If you're making it for GYTB, you can disregard this and use alpha to define transparency. FroggestSpirit's tool will make all pixels of a specific magenta (255 red, 0 green, 255 blue, or hex value #FF00FF) "invisible" in the shape data by default.
    • If you are making a mega badge for GYTB, fit the image in an area with multiples of 64 (e.g. a 192x128 image for a 3x2 mega). Part it out into 64x64 images if you're using it for FroggestSpirit's tool.
    • When done, save it as a 24-bit BMP image if you wish to use it with froggestspirit's Custom Badge Tool. For GYTB, save it as a PNG.
    Section V - Reverting to Default
    • To revert your badge data to default, open the Nintendo Badge Arcade, go to the Help Desk, and ask to edit your badge box. If you don't need to move any badges in and out of the badge box, just confirm and it will revert your BadgeData.dat and BadgeMngFile.dat to default.
     
    Last edited by Valyou, Dec 1, 2015
  2. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    how do i edit a bmp bit?
     
  3. Valyou
    OP

    Valyou Member

    Newcomer
    25
    18
    Sep 13, 2015
    United States
    You probably won't need to stress about that in particular, it should work fine without making sure of it.
     
  4. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    instead it matter at me because when i open the bmp i want in badge tool it display it wrong!
     

    Attached Files:

  5. Valyou
    OP

    Valyou Member

    Newcomer
    25
    18
    Sep 13, 2015
    United States
    Agh, nice, it's 32-bit. Scratch what I said about not having to worry. I'm fine since paint.net can save images specifically as 24-bit (not to mention downscale way better than that).
     
  6. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    oh is just paint.net? than i have it.

    — Posts automatically merged - Please don't double post! —

    but what is the option for changing te bit?

    — Posts automatically merged - Please don't double post! —

    evenchanging the bit the image is still glitchy :( Cattura.JPG
     
  7. Author

    Author ****NEWS**FLASH**** 1 /̵͇̿̿/'̿-̅-̅-̅''

    Member
    458
    419
    Aug 30, 2014
    GBAtemp
    nice thread :DD
     
    OctopusRift likes this.
  8. DeslotlCL

    DeslotlCL GBAtemp's official dragon look-alike axolotl

    Member
    1,933
    2,134
    Oct 28, 2015
    Chile
    under your bed
    thanks for the tutorial! I'll post my results when i get all of this working.
     
  9. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,094
    534
    Jul 28, 2011
    United States
    Come to think of it, I'll add a button to allow for a full square badge (no transparency)
     
  10. DeslotlCL

    DeslotlCL GBAtemp's official dragon look-alike axolotl

    Member
    1,933
    2,134
    Oct 28, 2015
    Chile
    under your bed
    when i go back to extdata_dump to restore extdata, it fails to restore the badgedata.dat... what am i doing wrong?
     
  11. RetroBitMig

    RetroBitMig CEO of PixelRocket (returning soon) and Maagic Dev

    Member
    161
    69
    Oct 19, 2015
    United States
    Los Angeles
    Redownload extdata_dump and replace the .3dsx. It happens to me, too, and for some reason, replacing it makes it work again.
     
  12. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    or use sunshell.
     
  13. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    Last edited by Filo97, Nov 23, 2015
  14. DeslotlCL

    DeslotlCL GBAtemp's official dragon look-alike axolotl

    Member
    1,933
    2,134
    Oct 28, 2015
    Chile
    under your bed
    Last edited by DeslotlCL, Nov 23, 2015
  15. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    EDIT:the op fixed it for me.
     
  16. BlastXDX

    BlastXDX What a beautiful duwang.

    Member
    228
    71
    Oct 3, 2015
    United States
    Frappe Snowland
    I used GYTB, and now when I load Badge Arcade to set them back to default, it says they're corrupted and deletes all the badges.
    Any help?
     
  17. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,639
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    go in info and re-organize your badges. it fix. i tested.
     
    BlastXDX likes this.
  18. BlastXDX

    BlastXDX What a beautiful duwang.

    Member
    228
    71
    Oct 3, 2015
    United States
    Frappe Snowland
    It worked. Thanks!
     
  19. Games&Stuff

    Games&Stuff GBAtemp Advanced Fan

    Member
    787
    564
    Oct 8, 2015
    Belgium
    Do I need to do the badges out of their folder?