Homebrew Advanced badge editor - Create your own badges and sets easily!

Should I make a video explaining and showing everything to make badges and sets?

  • Yes!

    Votes: 54 66.7%
  • Nah, the 425326463456 paragraphs you wrote on how to do everything explain it all!

    Votes: 27 33.3%

  • Total voters
    81
  • Poll closed .

PedroKeitawa

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
1,042
Trophies
0
Age
34
Website
natsunokaze.altervista.org
XP
1,134
Country
Italy
It a shame that this project will not be continueted (if i have understanded correctly). The only thing that will make this perfect is a support for big badges...o well. I really apprecieted your work by the way. Is much more better then the simple badge injection, becouse with this i can finaly take my custom badge organized properly.
 
  • Like
Reactions: AntiMach

Ailuros27

Well-Known Member
Member
Joined
Apr 7, 2015
Messages
732
Trophies
0
XP
421
Country
United States
After using this to edit my badges, for some reason the set IDs of some of my badges are messed up. How do I fix this, other than manually setting each offending incorrect badge's ID? The Fix Badge IDs button doesn't do anything to the badges whose IDs are incorrect.
Edit: Actually, I manually fixed a few sets' worth of badges' IDs, and then clicking the Fix Set IDs button undid all my work. It's that button that is messing them up.

Edit 2: I restarted with a fresh dump of my original badges, and all the set IDs were correct. Then I deleted the extdata archive before injecting, but after injecting the badges are still all messed up.

Edit 3: It seems most of the mixed up sets are sets which I already had some legit badges from before doing any editing. Some sets indeed seem to have been duplicated. I think I'll delete the extdata archive again and start completely fresh without using any dumps from my 3DS.
 
Last edited by Ailuros27,

AyanamiRei0

GBATemp's Resident Evangelion fanboy.
Member
Joined
Jan 4, 2016
Messages
1,506
Trophies
1
Age
32
Location
Brexit
XP
1,697
Country
United Kingdom
Alright I'm wondering how to even use this option high and low ids huh?

0GEeL2W.png
 

AntiMach

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
607
Country
Portugal
Alright I'm wondering how to even use this option high and low ids huh?

0GEeL2W.png
A full title ID looks something like 0004001000021000 (which in this case is the ID for the "System Settings" app for the US)
It can be separated in two parts, a High ID, and a Low ID.

The High ID is the first 8 digits of the title ID and is related to the section of the app. It doesn't change between regions no matter what. "00040010" is related to system applications, which are basically the only applications you can use with custom badges.

The Low ID is the last 8 digits of the title ID and is related to the app and it's region. "00021000" is the High ID for System Settings on US consoles, while "00020000" is the High ID for the same app but for the Japanese consoles.

You can find a list of all the title IDs here: https://3dbrew.org/wiki/Title_list
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,569
Trophies
2
Age
28
Location
Michigan, USA
XP
2,757
Country
United States
I guess I'm done with this thing...
No more updates will be released, even if you beg for it. I'm tired of working on stuff and barely getting any recognition, so I might as well just give up.
If you need help though, you can ask for it
That's really disappointing, at least your software works and works well for the most part! A completely related thing that I can't believe I never posted in this thread is how I asked @GerbilSoft to add support for prb/cab files in his delightful Rom-Properties shell extension for Windows & Linux. I tagged you in his thread about it at the time but I figured you hadn't noticed.

It shows preview images in Windows Explorer and various Linux Environments (XFCE, KDE, GNOME, etc.)
rp.2017-07-31.c69035a3.NintendoBadge.png

In Windows, this is particularly useful though as it makes the process of making a badge set with the Advanced Badge Editor much much easier.
So hope that helps someone.

Oh also I forked your homebrew to make it dump/inject from the 3dsx folder instead of the SD card root for us Rosalina HBL users out there.
 
Last edited by CheatFreak47,
  • Like
Reactions: Jubash
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
Can anyone point out if Simple Badge Injector can directly import *.png images into badges?

I used the example badges from GYTB as control test variables.
  • sdmc:/3ds/GYTB/badges/
    • Elfs World.png
    • Lenny.00021700.png
    • Nsect Badge.png

The badges folder is renamed as Badge Files and placed at these locations. I tried both TheMachinumps' original and CheatFreak47's v1.2 builds at all these locations:
  • sdmc:/Badge Files/Example Badge.png
  • sdmc:/3ds/data/Badge Files/Example Badge.png
  • sdmc:/3ds/SimpleBadgeInjector/Badge Files/Example Badge.png

Other Notes

  1. My NNID is 00000000, but I have no problem injecting with GYTB.
    • I don't believe I ever linked a NNID to this system.
  2. In Simple Badge Injector I tried different order combinations of these actions:
    • Create ExtData archive 0x14D1
    • Delete ExtData archive 0x14D1
    • Injection custom badge data
    • Dump badge data
  3. I also tried first injecting those example badges in GYTB and then dumping them with SBI (no success).
  4. For clean injection test runs with SBI, I also deleted the badge extdata in GYTB using its secret L+R+Y+X combo at launch.

My conclusion so far is this either has something to do with (1) my NNID being all zeros that makes this not compatible with SBI or (2) badges in *.png format is not supported (only *.prb and *.cab). :unsure:
 
Last edited by TurdPooCharger,

AntiMach

Well-Known Member
OP
Member
Joined
Oct 31, 2016
Messages
317
Trophies
0
Website
mach.bot.nu
XP
607
Country
Portugal
My conclusion so far is this either has something to do with (1) my NNID being all zeros that makes this not compatible with SBI or (2) badges in *.png format is not supported (only *.prb and *.cab). :unsure:
(1) It should work fine as long as you're using the right files
(2) Well, none of the file types you mentioned work with SBI, that's where ADE comes into play. If you want more information on how to use both apps, read the guide that I made for this thread...
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
(1) It should work fine as long as you're using the right files
(2) Well, none of the file types you mentioned work with SBI, that's where ADE comes into play. If you want more information on how to use both apps, read the guide that I made for this thread...
Thank you for pointing this out. I read your instructions but came in trying to treat your SBI as a direct drop in replacement to GYTB. As someone who does simple photo editing in Photoshop and is used to MrCheeze's *.png drag & drop, the ignorance is entirely the fault of my own. Sorry for that.

I recently learned of your work from:
At first, I couldn't understand why your homebrew consists of two halves: Advanced Badge Editor (Windows) and Simple Badge Injector (3DS). After spending time on the ABE side, this indeed excels in having finer control over a badge's metadata that the previous badge injector cannot account for. For serious edits, your ABE + SBI has no comparison.

Reading back on your post #96, it is a damn shame seeing this didn't quite catch on. If only there was something like themeplaza.eu for badges where people could submit and share their works for others to download, I could easily see this could have took off.
 

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
422
Trophies
0
Age
29
XP
2,509
Country
Russia
Well, themeplaza does have a section for custom badges. :)

Honestly, it's sad that ABE is so underrated, I too like it because it allows so much control over the badge data.

By the way, I know that @TheMachinumps has no plans to work on it anymore, but I think I'd still mention that I've discovered a couple more values that get written to BadgeMngFile.dat from .prb files.
Those are listed as "unknown" on 3dbrew, none of them are too important, though (and only one of them is actually visible).
If anyone's interested I can explain better later, too bad I didn't find out about them sooner.
 

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,916
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,707
Country
United States

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
422
Trophies
0
Age
29
XP
2,509
Country
Russia
I mean, the application is open-source. If someone really wanted to, they could fork it and continue development.
I'm aware, but as you said yourself: "if someone really wanted to". :blush:
I just have doubts there will be any dev willing to continue this project when even the original dev doesn't.
I can only wish there was more interest in this app.

Anyway, I hope it won't be too offtopic here if I explain further which values I meant in my previous post (would do that yesterday but I had to sleep).
3dbrew for reference:
http://3dbrew.org/wiki/Home_Menu#BadgeIdentifier
"Unknown" value just before Badge ID, here's an example from my BadgeMngFile.dat:

RZzofUi.jpg


Here's the same data in the .prb file for this badge, it's listed there twice, as you can see:

UfIYB4o.jpg


This data is known as "hash" in XMLs from oldest versions of Badge Arcade (those were using XML + compressed textures for badges instead of current binary formats).
Not sure what kind of hash it is, would be nice to know one day, but it's not that important.
Interestingly enough, .cab files have such kind of hash too, but it's not written to BadgeMngFile.dat at all.
Once more, 3dbrew for reference:
http://3dbrew.org/wiki/Home_Menu#BadgeInfo
It's the one that's descibed as "Unknown (packed data?)", here's another screenshot:

BXjtUEM.jpg


This value's actually responsible for badge's pin placement, look at these (1st one is a badge from Badge Arcade, 2nd one is the same badge injected):

qYSv9jK.jpg
4BVx8N7.jpg


But here's a thing, the values for pins are represented differently in the .prb files, as two coordinates instead of a single value:

7CBPPxm.jpg


So, for this badge: x = "-5" and y = "-36", the XML confirms that too.
Unfortunately, I don't really understand how these two get converted into the format that is used in BadgeMngFile.dat, so any help is appreciated.
It was easier to understand the logic behind mega badges' sub IDs (they're also stored differently), especially after TheMachinumps gave me a hint about them being in binary. :P
There's more "unknown" parts in the BadgeMngFile.dat, but they all seem to be using fixed values, unlike these two.

Sorry if I'm cluttering this thread too much, just wanted to share my findings somewhere. :wink:
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
I have forked @CheatFreak47's SBI v1.2 for those who would like the CIA version.
The only change I made in the source code was the Makefile, specifically the VERSION_MINOR.

Code:
VERSION_MAJOR := 1
VERSION_MINOR := 2
VERSION_MICRO := 0

The provided *.cia was GM9 dumped from my n3DSXL after testing all five (5) actions. You will still need the sdmc:/3ds/SimpleBadgeInjector/[...] used by the SBI v1.2 3DSX version. Enjoy! :D Not related, but this is the third 3ds homebrew app I've ever successfully gotten to compile in DevkitARM.

SBI v1.2 cia.png
 
  • Like
Reactions: Nutez

Landsurfer2000

Member
Newcomer
Joined
Feb 6, 2019
Messages
9
Trophies
0
Age
21
XP
97
Country
United States
So i know DSiWare titles and system titles work when you type their IDs into badges... but ive tried some cfw title IDs for homebrew launcher, fbi, etc and it seems as though i cannot? I hope i'm wrong, would be cool to have badges leading to cfw titles. I feel it has something to do with them being on the SD card but I'm just guessing, because DSiWare and sys titles are on nand
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sicklyboy @ Sicklyboy: *teleports behind you* "Nothing personnel, kiddo" +1