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

Discussion in '3DS - Homebrew Development and Emulators' started by TheMachinumps, Nov 12, 2016.

?

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

Poll closed Jul 4, 2017.
  1. Yes!

    66.7%
  2. Nah, the 425326463456 paragraphs you wrote on how to do everything explain it all!

    33.3%
  1. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    Advanced badge editor thumb finish.png

    Preview 8.png

    Features
    • Edit badge and set information such as IDs, quantities and names.
    • Create new badges and new sets!
    • Get 255 of each badge with a single click of a button.
    • Has a nice interface =P
    • A simple way of importing and exporting images, as well as a preview of each!
    • "Pixel Badge Import Mode", which allows the user to import Pixel like badges without suffering from imperfections when downscaling to 32x32px.
    • Support for badges with linked Title IDs.
    • Change your NNID with ease!
    • Delete badges, sets or everything with the click of a button!
    • Import badge and set files! (*.prb, *.cab)
    • "Fix" the badges' set IDs. (sets the badges' set IDs to the respective set ID)
    • [NEW] Create new badge data and save it to a new location!
    You can download this application here.

    How to use it
    • Open existing data: Click on the "File", and then the "Open data" options in the menu toolbar. On the new window that popped up, make sure to select a directory (folder) that contains "BadgeData.dat" file and the "BadgeMngFile.dat".
    • Create new data: Click on the "File", and then the "New data" options in the menu toolbar. Make whatever you want, and set the NNID number to yours if you want it to work. (read down bellow to know how to do that)
    • Save data: Click on the "File", and then the "Save data" options in the menu toolbar. If you opened data, this will overwrite the old data. If you created new data, then it will ask you to save it to a folder
    • Save data to: Click on the "File", and then the "Save data to..." options in the menu toolbar. This will always ask you to save it to a folder

    • Make a badge: Click the "Create new badge" button, and on the badge info, type in any name and any quantity.
      To add an image, make sure you import a 64x64px image by clicking the "Import image" button under the badge's preview.

    • Make a set: Similar to making a badge, but now you will need to press the "Create new set" button. If it gives you an error saying that you don't have enough unique badges for a new set, then that means that last set only has one badge, and that badge is the last unique badge. To fix this, you can either create a new badge or change the Starting Badge of the last set to its value minus 1.
      To import an image, click on the "Import image" button under the set's preview. Make sure the size of the image you're importing is of 48x48px, not 64x64px.
    If you have any trouble with the app, please tell me what it is, so that I can help you!


    Setup "Simple Badge Injector"

    This tool is used in the explanations bellow.
    For Homebrew Launcher users
    For CFW users
    How to get your NNID number

    For Homebrew Launcher users
    • Load Homebrew Launcher with the exploit of your choice.
    • Launch the "Simple Badge Injector" application
      • If it fails to read the NNID, then make sure that you are using the latest *hax exploit version, and that you have internet.
    • The NNID should appear on the top screen.
    For CFW users
    • Launch the "Simple Badge Injector" application
    • The NNID should appear on the top screen
    How to get the .dat files

    For Homebrew Launcher users
    • Load Homebrew Launcher with the exploit of your choice.
    • Launch the "Simple Badge Injector" application
    • Once the app has loaded, select the "Dump badge data" option.
      • If the process fails, then go back to the homebrew launcher by selecting the "Exit" option, take your SD card out and put it back in. Launch the app and try again.
    • Once done, you can exit the application and exit Homebrew Launcher.
    You should now have the .dat files inside a "Dumped Badge Files" folder on the root of your SD card.

    For CFW users
    • Launch the "Simple Badge Injector" application
    • Once the app has loaded, select the "Dump badge data" option.
    • Once done, you can exit the application.
    You should now have the .dat files inside a "Dumped Badge Files" folder on the root of your SD card.

    How to restore the .dat files

    Setup
    • Create a folder on the root of your 3DS's SD card called "Badge Files".
    • Make sure that inside of that folder, you have the "BadgeData.dat" and "BadgeMngFile.dat" files that you want to inject!
    For Homebrew Launcher users
    • Load Homebrew Launcher with the exploit of your choice.
    • Select the "Simple Badge Injector" app and launch it.
    • Next, select the "Inject custom badge data" option, and wait.
      • If the process fails, then go back to the homebrew launcher by pressing B, take your SD card out and put it back in. Launch the app and try again.
    • Once done, you can exit the application and exit Homebrew Launcher.
    For CFW users
    • Launch the "Simple Badge Injector" application
    • Once the app has loaded, select the "Inject custom badge data" option.
    • Once done, you can exit the application.
    Create ExtData archive without Nintendo Badge Arcade

    This will let you inject custom badge data without Nintendo Badge Arcade, just like GYTB
    For Homebrew Launcher users
    • Load Homebrew Launcher with the exploit of your choice.
    • Select the "Simple Badge Injector" app and launch it.
    • Next, select the "Create ExtData archive 0x14D1" option, and wait.
      • NOTE: This might not work, I didn't test it with Homebrew Launcher
    • You should now be able to inject your own badge data and use badges without Nintendo Badge Arcade.
    For CFW users
    • Launch the "Simple Badge Injector" application
    • Once the app has loaded, select the "Create ExtData archive 0x14D1" option.
    • You should now be able to inject your own badge data and use badges without Nintendo Badge Arcade.
    If you find any Exception, please take a screenshot of it by pressing "Alt + prt sc" on a desktop or "Alt + fn + insert" on a laptop, paste the screenshot into paint and save the image. You don't need to do it like that, but, it's a nice and simple way of doing it!

    I have also included a few demo badges. Have fun with them =3

    If you want to help develop the application, then here is the source code: https://github.com/TheMachinumps/Advanced-badge-editor

    Links to other apps:
    NOTE: The following applications are no longer needed, but feel free to check them out, as these used to be helpful and helped shape this app.
    - Ohana3ds thread (by gdkchan): https://gbatemp.net/threads/wip-ohana3ds-tool.392576/
    - Png2bclim releases (by Kaphotics): https://github.com/kwsch/png2bclim/releases

    Links to places that gave me information for making this a thing:
    - https://www.3dbrew.org/wiki/Home_Menu#BadgeData.dat
    - https://gbatemp.net/threads/nintendo-badge-arcade-hacking-full-documentation-and-progress.403183/
    - A bunch of https://stackoverflow.com posts on how to program in c#
    - Some https://youtube.com videos that showed how to read Hex data (Binary Data) from any file and how to write those same files.
    - Visual studio 2015 community: https://www.visualstudio.com/vs/community/


    It turns out that I was wrong! What I made has indeed called for people's attention, so I guess it wasn't all in vain =D Thanks so much for the support!
     

    Attached Files:

    Last edited by TheMachinumps, Jul 29, 2017
    CheatFreak47, hurrz, Goombi and 23 others like this.


  2. Zidapi

    Zidapi GBAtemp Psycho!

    Member
    3,024
    1,805
    Dec 1, 2002
    Good stuff, no doubt there are folk who'll be keen to use this.

    While I prefer written instructions, youtube tutorials seem to be in high demand. So if you have time, a youtube tutorial will be appropriated by a lot of people.
     
  3. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    Thanks! :)
    And, I guess I will need to make a video tutorial, just because it's easier for most people to understand, just like you said.

    EDIT: I'm having trouble making a tutorial, because my camera isn't big enough to fit the entire 2ds and my computer hates when I record (It crashes a lot...)
     
    Last edited by TheMachinumps, Nov 13, 2016
  4. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    Meh, I don't know about making a video actually... I'm kinda lazy and I would just use subtitles. However, if someone knows how to do it and makes a video about it, I will put it on this thread with credit to that person.
     
  5. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    Not a bump, but it will still bump... So then, it's technically a bump...
     
    sks316, CeeDee, Naked_Snake and 3 others like this.
  6. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    1,135
    288
    Oct 6, 2013
    Hyrule Field
    Waits patiently for a set of playmates
     
  7. painchild

    painchild Member

    Newcomer
    30
    3
    Jun 4, 2016
    Italy
    how to get my .dat files from my console?
     
  8. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    First of all, you need either Homebrew or a CFW (which I am trying to get from reviving my brother's old 3ds that "died" 1-2 years ago, which should have a really old version)
    Next, if you are using Homebrew, download this: https://gbatemp.net/threads/3ds-extdata-dump-and-restore-tool-extra-data-editing.378492/
    You should now have a "extdata_dump.zip" file. Extract it to a folder that has the exact same name (without the .zip).
    Inside the extdata_dump folder, you should have a "config.txt" file. Open it and delete everything, replacing with this:
    Code:
    ; replace BadgeData and BadgeMngFile
    RESTORE "BadgeData.dat" "000014d1:/BadgeData.dat"
    RESTORE "BadgeMngFile.dat" "000014d1:/BadgeMngFile.dat"
    
    ; dump BadgeData and BadgeMngFile
    DUMP "000014d1:/BadgeData.dat" "BadgeData.dat"
    DUMP "000014d1:/BadgeMngFile.dat" "BadgeMngFile.dat"
    
    Next, copy the folder and paste it inside the 3ds folder on your SD card.
    Load Homebrew Launcher and select the extdata_dump option.
    Then, inside extdata_dump application, select the second option, the "Dump extdata specified in config" option.
    If you get any error, exit to the Homebrew launcher menu by pressing "b" on the app, take your sd card out, put it back in, open extdata_dump and exit, and finally, open the extdata_dump once again. Try dumping the data, and hope it works! (If it doesn't, then try re-booting your 3ds or ask @MrCheeze )
    Put your SD card on your computer and inside the extdata_dump folder, you should now have 2 files, BadgeData.dat and BadgeMngFile.dat. You can open the files directly from your SD card on the app by opening the "extdata_dump" folder, which should have your badges.
    To restore the edited data, on your 3ds, load Homebrew launcher and then extdata_dump, select the last option, the "Restore extdata specified in config" and you should be fine! If you get any errors, try using the trick above.

    I'm pretty sure this works on the newest firmwares (I'm using 11.2.0 with the 2.7 *hax exploit using Paper Mario Sticker Star and it works just fine)
     
  9. Clydefrosch

    Clydefrosch GBAtemp Psycho!

    Member
    4,116
    1,168
    Jan 2, 2009
    Gambia, The
    so does using this mess up things like the app-linked badges? (like for mii plaza, e-shop etc)
     
  10. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    I don't think it messes those things up, but just to be sure, I recommend backing up your badge data and badge mng files
     
  11. painchild

    painchild Member

    Newcomer
    30
    3
    Jun 4, 2016
    Italy
    I am running latest Luma+a9lh and I don't think I have access to *hax to load hbl

    EDIT: got it done with FBI
     
    Last edited by painchild, Nov 15, 2016
  12. Ev1l0rd

    Ev1l0rd (⌐◥▶◀◤) Knight of Void

    Member
    1,014
    712
    Oct 26, 2015
    Netherlands
    Land of Darkness and Bounty
    If you've al9hax, you can always get access to the HBL launcher. Just install hb_launcher_loader (just type that into google).
     
  13. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    I'm working on a smoother GUI, as well as trying to add a png to bclim converter
     
    Arubaro likes this.
  14. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    UPDATED! It now has a much nicer looking interface... at least in my opinion =P
     
  15. Ev1l0rd

    Ev1l0rd (⌐◥▶◀◤) Knight of Void

    Member
    1,014
    712
    Oct 26, 2015
    Netherlands
    Land of Darkness and Bounty
    Just for the record, this also works in mono (good if one is a Linux/Mac user!)
     
  16. noctis90210

    noctis90210 GBAtemp Advanced Fan

    Member
    731
    106
    Dec 24, 2013
    does this means we can unlock the badges without really paying the badge arcade?
     
  17. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    Kinda confused on what you mean about that...

    "Well uh technically uh, nah..."
    Well, I know of a way to get 1000 legit badges, but that would require some hex editing... You can check this video:

    However, I don't think that the link to download the save files actually work, so, download it from here instead: https://www.dropbox.com/s/dz2uqji86vijbt3/badge.rar?dl=1

    If you want to get badges legit, you can try the practice arcade to possibly get free plays, or wait until new events appear.
     
    Last edited by TheMachinumps, Nov 20, 2016
  18. DerpMC_Haxx

    DerpMC_Haxx Dank Memes R Life

    Member
    186
    22
    Oct 8, 2016
    Ur Nan
    This is sum good shit
     
  19. TheMachinumps
    OP

    TheMachinumps <insert custom title here>

    Member
    295
    145
    Oct 31, 2016
    Portugal
    yes
    Thanks.
     
  20. DerpMC_Haxx

    DerpMC_Haxx Dank Memes R Life

    Member
    186
    22
    Oct 8, 2016
    Ur Nan
    Could we have video cus im a little confused