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

MrCheeze

Well-Known Member
OP
Member
Joined
May 13, 2014
Messages
200
Trophies
0
Age
78
XP
327
Country
Canada
https://github.com/MrCheeze/extdata_dump

Allows you to decrypt, edit, and then recrypt 3ds extra data. For use with Ninjhax.

Precompiled download: https://dl.dropboxusercontent.com/u/183608682/extdata_dump.zip

When run, you'll be presented with three options:

  • Dump all extdata to sd card
  • Dump extdata specified in config
  • Restore extdata specified in config

I recommend just dumping all extdata to begin with, and browsing the dumps to see what you can find. There's a fair bit of documentation that might help you navigate the dumps over on the 3dbrew wiki.

If you want to restore an edited file (or just want to dump a single file instead of all of them), you'll have to edit config.txt. I've included a few examples in there that should make the format clear.

Finally, a technical note: the 3ds actually has three different types of extra data. Shared extdata is stored on the 3DS itself, and it usually relevant to multiple games (e.g. the Play Coin counter). "User" and "boss" extdata are both stored on the SD card, encrypted, and are associated with a specific game. Generally, Spotpass data goes into boss and everything else goes into user. This tool can access user and shared extdata, but boss extdata is likely impossible. This means it is not, for example, possible to dump or edit the Nintendo Video videos.

-------

edit from the future: hss2 has a modification that allows creating new directories, if your use case happens to require that.
 
Last edited by MrCheeze,

TidusWulf

Real Aloha
Member
Joined
Jul 27, 2007
Messages
652
Trophies
0
Location
Hawaii
XP
763
Country
United States
hopefully not a dumb question. is this extdata located on the NAND partition?

I'm just confused why we would dump SD data since it's... you know... already on the SD card. :|
 

MrCheeze

Well-Known Member
OP
Member
Joined
May 13, 2014
Messages
200
Trophies
0
Age
78
XP
327
Country
Canada
hopefully not a dumb question. is this extdata located on the NAND partition?

I'm just confused why we would dump SD data since it's... you know... already on the SD card. :|
It's encrypted! With this you can actually read or modify it. Which is what things like the theme editor already do, but this is more general purpose.

Actually, shared extdata is stored on NAND, but there's not much in there besides playcoins and Miis.
 

TidusWulf

Real Aloha
Member
Joined
Jul 27, 2007
Messages
652
Trophies
0
Location
Hawaii
XP
763
Country
United States
okay. cool. I'm trying to look at the wiki about what data is stored where, but it doesn't seem like it's much useful stuff (the themes and playcoins are great, but beyond that, I really can't say). Can this potentially dump data such as the streetpasses I've collected on Animal Crossing? if so, is it possible someone could eventually write a PC tool to edit the file to make a custom house full of whatever furniture they've been unable to track down so they can buy it from HHA? I'm aware that if you don't play ACNL, you won't have an answer for me, and that's okay.
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,145
Trophies
2
Location
Ohio
XP
4,607
Country
United States
It's encrypted! With this you can actually read or modify it. Which is what things like the theme editor already do, but this is more general purpose.

Actually, shared extdata is stored on NAND, but there's not much in there besides playcoins and Miis.
Miis are in there? Does this mean we could do some funky things to miis?
 

WateredFire19

Banned!
Banned
Joined
Aug 23, 2014
Messages
642
Trophies
0
Age
37
XP
291
Country
United States
It's encrypted! With this you can actually read or modify it. Which is what things like the theme editor already do, but this is more general purpose.

Actually, shared extdata is stored on NAND, but there's not much in there besides playcoins and Miis.

What if we could edit our Mii's to have gold pants
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
27
XP
400
Country
United States
Exactly what I was wondering thinking. But if we did that, and then played in an ONLINE game where we used that Mii, would others see it changed?

If it goes through another server, they should. The files may be pulled from out client, as they would have to always be checking to see if we've changed them. If they just pull the files into the server, then I think others could see it.

Edit: It's unlikely they do it like that, though.
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
27
XP
400
Country
United States
Update to this since no one responded. I did it myself.


ry0uWrK.png
DarkFlare69, it's been done.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    iDestroyRebels @ iDestroyRebels: having problems updating to newest version of PS3HEN. no idea what im doing, can't find any...