Homebrew 3ds extdata dump and restore tool (extra data editing!)

  • Thread starter Thread starter MrCheeze
  • Start date Start date
  • Views Views 196,744
  • Replies Replies 481
  • Likes Likes 21
Status
Not open for further replies.
I wish I could help you guys, but my cartridge still has yet to come. I've been kind of writing in the dark for the past few days, hoping my emulator will run correctly when I get further.
 
There may be a checksum of some sort that the system uses to prevent just editing the mii plaintext directly. CFL_OldDB.dat is what gets used as a backup if your edits get rejected. You should never try to edit CFL_OldDB.dat directly though, or you'll more probably just lose all your Miis (edit: too late, lol).

Truth be told, I haven't managed to find anything useful that can be done by editing the extdata besides the game coins, and the theme stuff yellows8 discovered. The idea was that maybe by releasing this, someone else might find something.

Something else you can look at in the meantime, there's some Smash Bros replays 00000edf/OvjbaLkOtgA/replay that look something like this. Again, though, no editing unless someone cracks the checksum.
 
There may be a checksum of some sort that the system uses to prevent just editing the mii plaintext directly. CFL_OldDB.dat gets used as a backup if your edits get rejected. You should never try to edit CFL_OldDB.dat directly though, or you'll more probably just lose all your Miis.

Truth be told, I haven't managed to find anything useful that can be done by editing the extdata besides the game coins, and the theme stuff yellows8 discovered. The idea was that maybe by releasing this, someone else might find something.

Something else you can look at in the meantime, there's some Smash Bros replays 00000edf/OvjbaLkOtgA/replay that look something like this. Again, though, no editing unless someone cracks the checksum.

So no Mii editing? :-(
 
There may be a checksum of some sort that the system uses to prevent just editing the mii plaintext directly. CFL_OldDB.dat is what gets used as a backup if your edits get rejected. You should never try to edit CFL_OldDB.dat directly though, or you'll more probably just lose all your Miis (edit: too late, lol).

Truth be told, I haven't managed to find anything useful that can be done by editing the extdata besides the game coins, and the theme stuff yellows8 discovered. The idea was that maybe by releasing this, someone else might find something.

Something else you can look at in the meantime, there's some Smash Bros replays 00000edf/OvjbaLkOtgA/replay that look something like this. Again, though, no editing unless someone cracks the checksum.

I just have on question. What in the system can you modify using Ninjhax?
 
Oh yeah, earlier I found some documentation of the Mii format as it appears in QR codes. http://3dbrew.org/wiki/Mii_Maker

Not sure the CFL_db format is the same, or even if that documentation is accurate, but from what I can tell it's reasonably close.
 
Oh yeah, earlier I found some documentation of the Mii format as it appears in QR codes. http://3dbrew.org/wiki/Mii_Maker

Not sure the CFL_db format is the same, or even if that documentation is accurate, but from what I can tell it's reasonably close.

I have an idea: Have one special gold mii and make an EXACT copy of it but not special (obviously). Then we can compare the 2 QR codes and see what parts of the QR code make the Mii "special".
 
Couple of things: "Clear text" just means "not encrypted". Also whatever you're doing to these files, you'll want to be doing it in a hex editor, not a text editor. Editing it in a text editor & saving it will basically just corrupt the file, so the 3ds will use the OLD file instead. Hence corrupting the OLD file too means you lose your Miis. Also the spaces between the characters in the names likely won't be an actual space character, but a 00 byte, so watch out for that.
 
I seem to recall being able to import Custom Gold Pants Miis on the Wii by BTing my Wiimote to my PC...
 
Okay, so dumped my miis. The file has a 8 byte header, then miis start at 0x08, and are 0x5c bytes each. The checksum for the first mii is stored at 0xc81e and is 2 bytes, but i'm not sure how it's calculated. I guessed it was just the same as the wii, but apparently not, because i ran the code from http://wiibrew.org/wiki/Mii_Data#Block_format over every possible consecutive section of data of sizes 1-0x5c bytes, and didn't get a match for the dumped checksum.
 
just a quick question about this app. we can extract, modify and inject extdata stored on the sd. doesnt that give us the ability to share eshop downloads?
 
If it really is just one checksum for all Miis, it's conceivable that the checksum could be somewhere else entirely, such as the Mii Maker savedata. It's not possible to edit that, though if we actually knew how the checksum worked it would still be possible to make the data match the checksum.

just a quick question about this app. we can extract, modify and inject extdata stored on the sd. doesnt that give us the ability to share eshop downloads?

Not everything on the SD card is extdata. In fact, even some extdata is not accessible.
 
  • Like
Reactions: Margen67
If it really is just one checksum for all Miis, it's conceivable that the checksum could be somewhere else entirely, such as the Mii Maker savedata. It's not possible to edit that, though if we actually knew how the checksum worked it would still be possible to make the data match the checksum.

It's gotta be a checksum at 0xc81e, those two bytes change random if you change any 1 other.
 
  • Like
Reactions: MrCheeze
Yup. thats what ive been doing. And for every real space there are 3 spaces. Like Bewtween Rainn W

The spaces are (what I can guess from programming knowledge) probably double width chars, for use with japanese/korean/chinese names, as they take 2 bytes to store for each character instead of a single byte
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum