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

Status
Not open for further replies.

Valyou

Active Member
OP
Newcomer
Joined
Sep 13, 2015
Messages
25
Trophies
0
Age
26
XP
220
Country
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,

Deleted member 373223

Pink = Best colour
Member
Joined
Oct 8, 2015
Messages
4,099
Trophies
1
XP
2,790
(revision 0)

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.

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 all badge images and shape data. BadgeMngFile.dat contains data on everything else about your badges, too much to list. There's not much you can do with this file without hex editing at the moment, but there's lots of potential.

Section II.a - Injecting Badges
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 press "Load BMP" in the drop-down menu to navigate to the BMP badge image you wish to inject.
  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, or the badge itself is a full square, write it to a badge that's already a full square or close (e.g. a Mario block).
  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.b - Writing Extdata
  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. FroggestSpirit's tool will make all pixels of this selected color invisible.
  • Mega badges follow the same principles, just parted out into segments of 64x64 pixels.
  • If you want to make your badge square, you may need a small border with the same rules of a shaped badge's background. This is due to how FroggestSpirit's tool works. It won't overwrite any shape data unless the user specifically inputs one, so it won't just overwrite a full square shape, unless the user is writing to a badge that's already a full square (e.g. a Mario block).
  • When done, save it as a 24-bit BMP image.
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 what is server-side.
how do i edit a bmp bit?
 

Valyou

Active Member
OP
Newcomer
Joined
Sep 13, 2015
Messages
25
Trophies
0
Age
26
XP
220
Country
United States
instead it matter at me because when i open the bmp i want in badge tool it display it wrong!
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).
 

Deleted member 373223

Pink = Best colour
Member
Joined
Oct 8, 2015
Messages
4,099
Trophies
1
XP
2,790
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).
oh is just paint.net? than i have it.

--------------------- MERGED ---------------------------

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).
but what is the option for changing te bit?

--------------------- MERGED ---------------------------

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).
evenchanging the bit the image is still glitchy :( Cattura.JPG
 

DeslotlCL

GBAtemp's scalie trash
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
when i go back to extdata_dump to restore extdata, it fails to restore the badgedata.dat... what am i doing wrong?
 

BlastXDX

3DS Hacking Era Original
Member
Joined
Oct 3, 2015
Messages
237
Trophies
0
Location
Frappe Snowland
XP
365
Country
United States
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?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Sak is a fishy pineapple