1. MrCheeze

    OP MrCheeze GBAtemp Regular
    Member

    Joined:
    May 13, 2014
    Messages:
    200
    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, Sep 9, 2016
  2. DarkFlare69

    DarkFlare69 GBAtemp Guru
    Member

    Joined:
    Dec 8, 2014
    Messages:
    5,101
    Country:
    United States
    Interesring... I'll look into this...
     
  3. TidusWulf

    TidusWulf Real Aloha
    Member

    Joined:
    Jul 27, 2007
    Messages:
    644
    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. :|
     
  4. MrCheeze

    OP MrCheeze GBAtemp Regular
    Member

    Joined:
    May 13, 2014
    Messages:
    200
    Country:
    Canada
    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.
     
  5. TidusWulf

    TidusWulf Real Aloha
    Member

    Joined:
    Jul 27, 2007
    Messages:
    644
    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.
     
  6. Naked_Snake

    Naked_Snake Constant Miscreant
    Member

    Joined:
    Oct 6, 2013
    Messages:
    1,750
    Country:
    Australia
    how do we read the bin files?
     
  7. _eyCaRambA_

    _eyCaRambA_ GBAtemp Advanced Fan
    Member

    Joined:
    Apr 22, 2009
    Messages:
    523
    Country:
    United States
    Interesting, didn't think this would work with Ninjhax. So basically a partial SaveDataFiler for Ninjax. Cool, thanks!
     
  8. Agent Moose

    Agent Moose GBAtemp Fan
    Member

    Joined:
    Dec 6, 2014
    Messages:
    407
    Country:
    United States
    I'd assume through a Hex Editor.
     
  9. DarkFlare69

    DarkFlare69 GBAtemp Guru
    Member

    Joined:
    Dec 8, 2014
    Messages:
    5,101
    Country:
    United States
    Miis are in there? Does this mean we could do some funky things to miis?
     
  10. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    I wonder if we could modify the models/textures via our PC and push them back in.
     
    Margen67 likes this.
  11. DarkFlare69

    DarkFlare69 GBAtemp Guru
    Member

    Joined:
    Dec 8, 2014
    Messages:
    5,101
    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?
     
  12. WateredFire19

    WateredFire19 Banned
    Banned

    Joined:
    Aug 23, 2014
    Messages:
    642
    Country:
    United States
    What if we could edit our Mii's to have gold pants
     
    Yoni Arousement and Margen67 like this.
  13. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    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.
     
  14. WateredFire19

    WateredFire19 Banned
    Banned

    Joined:
    Aug 23, 2014
    Messages:
    642
    Country:
    United States
    MrCheeze Could we possibly extract the .mii files, edit them to have Gold Pants with AJ's Mii editor, and then inject them using this tool?
     
  15. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    DarkFlare69, it's been done.
     
  16. WateredFire19

    WateredFire19 Banned
    Banned

    Joined:
    Aug 23, 2014
    Messages:
    642
    Country:
    United States
    How?
     
  17. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    I'd image exactly how we were just talking, but may as well ask Huntereb.
     
  18. DarkFlare69

    DarkFlare69 GBAtemp Guru
    Member

    Joined:
    Dec 8, 2014
    Messages:
    5,101
    Country:
    United States
    How to we extract the Miis?
     
  19. Slushie3DS

    Slushie3DS Cold Beverage Lover
    Member

    Joined:
    Jan 9, 2015
    Messages:
    707
    Country:
    United States
    That part is what I'm unsure of. My cartridge should come in the next few days, and I will try it then.
     
  20. gudenau

    gudenau Largely ignored
    Member

    Joined:
    Jul 7, 2010
    Messages:
    3,618
    Country:
    United States
    Making a play coin setter now. :-P
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - extdata, restore, editing