Hacking How can I decrypt nand sysdata saves (Mii Maker, Mii Plaza, etc.)

SOGAZG

Member
OP
Newcomer
Joined
Apr 13, 2020
Messages
10
Trophies
0
Age
22
XP
70
Country
Mexico
Hi, I have a nand backup of an old 3ds I had. This 3ds got lost. Thank god I got the backup and now I've recovered everything, from old data, to the sd card encrypted game save data (using movable.sed and other tools).

Now, next, I'm looking to recover my Mii Maker and Mii Plaza save files. Using ninfs, I decrypted my nand.bin, and in the ctrnand_full.img I got to the sysdata folder where this save data is stored. Now, my final goal is to be able to open these saves on citra. On citra I already installed all system cias (system settings, mii plaza, mii maker, etc.) and I got the folder where they store the saves. When I go in the sysdata folder from citra, and enter the game folder, instead of a 00000000 file with no extension, there is a folder with the same name and a "editSaveData.bin" file inside. I suppose this is the decrypted version of the 00000000 file on my Nand sysdata.

Mii Maker:
My Nand Backup:
1681433732366.png


Citra:
1681433663245.png



I want to know if there is a way to decrypt this type of files without having to use the original 3ds (since I no longer have it). I tried using tools like three sd to transfer everything to citra, but I got stuck in the part where I need to execute the threeSDumper.gm9 on the 3ds (because I don't have it).

If you need me to clear something up to help you understand please let me know.

Any help would be appreciated :)
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,462
Country
Canada
When I go in the sysdata folder from citra, and enter the game folder, instead of a 00000000 file with no extension, there is a folder with the same name and a "editSaveData.bin" file inside. I suppose this is the decrypted version of the 00000000 file on my Nand sysdata.
That's a broad assumption.

According to https://www.3dbrew.org/w/index.php?title=Mii_Maker&mobileaction=toggle_view_desktop , if you open editSaveData.bin in Notepad, and it's decrypted, you should see the word "TIDE" right at the start. Does that apply to both your editSaveData.bin and this 00000000 file?

Failing that, do you see the word "DISA" or "DIFF". as per https://www.3dbrew.org/wiki/DISA_and_DIFF ?

You are also probably going to need the information in https://www.reddit.com/r/3dshacks/comments/70gwgu/everything_you_wanted_to_know_about_the_3ds_but/ sooner or later.
 

SOGAZG

Member
OP
Newcomer
Joined
Apr 13, 2020
Messages
10
Trophies
0
Age
22
XP
70
Country
Mexico
That's a broad assumption.

According to https://www.3dbrew.org/w/index.php?title=Mii_Maker&mobileaction=toggle_view_desktop , if you open editSaveData.bin in Notepad, and it's decrypted, you should see the word "TIDE" right at the start. Does that apply to both your editSaveData.bin and this 00000000 file?

Failing that, do you see the word "DISA" or "DIFF". as per https://www.3dbrew.org/wiki/DISA_and_DIFF ?

You are also probably going to need the information in https://www.reddit.com/r/3dshacks/comments/70gwgu/everything_you_wanted_to_know_about_the_3ds_but/ sooner or later.
In the citra one (editSaveData.bin) shows TIDE at the start, and in mine (file 00000000) shows DISA & DIFI.

What does this mean?
 

SOGAZG

Member
OP
Newcomer
Joined
Apr 13, 2020
Messages
10
Trophies
0
Age
22
XP
70
Country
Mexico
I have the program downloaded. Now, I ran the disa-extract.py without arguments and this is what it shows me:
1681706818238.png

Now, for this specific case
1st: Do I need to provide secrets.py?
2nd: Which arguments should I run disa-extract.py with? (I guess in this case is input: my save file 00000000, output: output folder, and -nand)
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,462
Country
Canada
Now, for this specific case
1st: Do I need to provide secrets.py?
2nd: Which arguments should I run disa-extract.py with? (I guess in this case is input: my save file 00000000, output: output folder, and -nand)

There is already a suitable example on the page.
Code:
./disa-extract.py \
    "sdmc/gm9out/00000001.sav" \
    "output/savedata"

This extracts game save data that has been decrypted using GodMode9 (or any other tools) to folder output/savedata.

(The backslashes are unnecessary; you can just enter everything on one line.)
 

SOGAZG

Member
OP
Newcomer
Joined
Apr 13, 2020
Messages
10
Trophies
0
Age
22
XP
70
Country
Mexico
Well no mentioning it still leaved me in blank. In my shoes idk if you do not saw that part, or by not mentioning it, it is not necessary. But no problem, it worked perfectly. Thank You so much for helping me :)
 

Rude_Boy_EEEE

Member
Newcomer
Joined
May 18, 2015
Messages
22
Trophies
0
Age
27
Location
NJ, USA
XP
128
Country
United States
Well no mentioning it still leaved me in blank. In my shoes idk if you do not saw that part, or by not mentioning it, it is not necessary. But no problem, it worked perfectly. Thank You so much for helping me :)
How'd you end up doing it? I can't seem to understand Python well enough to do this...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I gotta raid0 these m.2s yay
  • BigOnYa @ BigOnYa:
    Do a raid10
  • K3Nv2 @ K3Nv2:
    That's tomorrow
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
  • BigOnYa @ BigOnYa:
    Damn Wal-Mart has 42" 4k TVs for only $150
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i bet it will not fit inside your bedroom
  • BigOnYa @ BigOnYa:
    Yea here in North Korea, we are only allowed 1 19" tv per household. And the only channel we get is, MLT (Missile Launch Today)
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, doesn't fit in his bedroom he's American
    +1
  • BigOnYa @ BigOnYa:
    I hate ordering stuff online if I can go buy it somewhere close to me, and everywhere anymore will give you a discount only if you order it online, bs. Should be a discount if I go pick it up, not order online.
  • K3Nv2 @ K3Nv2:
    I love it for most things most stores you just shows the receipt online and they scan it
    +1
  • K3Nv2 @ K3Nv2:
    Makes it easy for incompetent restaurant staff that don't know how to hear an order
  • BigOnYa @ BigOnYa:
    Mostly for big purchases, I want it in my hands before I pay. Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc) But yea if I can order online, then pickup at store is ok, but not all places offer that.
  • cearp @ cearp:
    > Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc)

    Thing is, if you break it driving back to your house, it's your fault. But if the delivery driver damages it, it's not your fault.
    +1
  • K3Nv2 @ K3Nv2:
    Most people that haul big tvs have empty trucks or know enough not to set it face down
  • BigOnYa @ BigOnYa:
    Then I gotta send it back and wait another week or two. I have a pickup truck, with a extended cab, so no prob for me.
  • K3Nv2 @ K3Nv2:
    Most manufacturers pack it well enough where they aren't that dumb to let it happen
  • BigOnYa @ BigOnYa:
    They building a new Microcenter store near by me, is kinda scary. That's my favorite place, I'm like a kid in a candy store there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, what's a microcenter?
  • K3Nv2 @ K3Nv2:
    Cool I'll make you ship me stuff
    +1
  • K3Nv2 @ K3Nv2:
    Microcenter sells high quality microwaves
  • BigOnYa @ BigOnYa:
    Computer store basically, but they sell everything, like game systems, tvs , 3d printers, etc
    +1
  • K3Nv2 @ K3Nv2:
    I've seen i9/mobo deals for like 400
  • BigOnYa @ BigOnYa:
    Yea been itching to build a new pc, mine is like 3-4 years old, ancient in pc tech time. Still using a sata SSD even.
  • K3Nv2 @ K3Nv2:
    That's still high tech to ancientboi
    +1
    K3Nv2 @ K3Nv2: That's still high tech to ancientboi +1