Homebrew Decrypting .sav files without a real 3DS

  • Thread starter Thread starter Gaming796
  • Start date Start date
  • Views Views 19,778
  • Replies Replies 12
  • Likes Likes 1

Gaming796

Gaming since 4
Member
Joined
Aug 24, 2016
Messages
561
Reaction score
99
Trophies
0
Location
Your head
Website
gbatemp.net
XP
508
Country
United States
Okay so I happened to have bricked my 3DS (it won't even turn on, but will charge for some reason), but I had an SD card with all my games, saves, NAND backup, bootrom backups, OTP etc etc. So I was wondering if I had an encrypted save like 00000001.sav for a certain game, is there any tool on the PC that would decrypt it, using all the NAND backups, bootroms etc I have? I really want to play my games on Citra.
 
  • Like
Reactions: rosydolly
With your movable.sed (should be in your NAND backup or essentials.exefs -- you can use https://gbatemp.net/threads/extract...nd-backups-and-sd-contents-with-ninfs.499994/), you should be able to decrypt and unpack the save file using https://github.com/wwylele/3ds-save-tool
Okay I was able to extract moveable.bin from the NAND backup, but I have no clue on how to use 3ds-save-tool. Can someone explain it please because I didn't understand much in the github page.

EDIT: Ok I somewhat managed to figure out some stuff. However, the program outputs saying not enough secrets provided. I created a secrets.py from the template and replaced the placeholder text for "self.keyMoveable" to the data I obtained from bytes 0x110 to 0x11F in moveable.bin using HxD. However, I don't know what to replace the other text with. Any help is appreciateed
 
Last edited by Gaming796,
key0x30X and key0x34X are at offsets 0xD9E0 and 0xD9F0 of boot9.bin. Not sure how to get/give keyConst, it tends to fall under piracy rules...
Don't worry, I found that out on pastebin lol.

Edit: I have no idea but the program is still throwing an error saying "Not enough secrets provided"
 
Last edited by Gaming796,
Don't worry, I found that out on pastebin lol.

Edit: I have no idea but the program is still throwing an error saying "Not enough secrets provided"
Ok I just read the github page and looks like I was missing a dependency called cryptodome. I googled this to find out how to install it, and found the command to do so. However, when I enter "pip install pycryptodome" in the python command line, it just says:
File "<stdin>", line 1
pip install pycyrptodome
^
Syntax error: Invalid syntax

Ok fixed this installation issue but it throws an error saying can't find cryptodome

Oooooh nevermind boiii I got my save extracted (I also ran pip install pycryptodomex and it fixed all errors)
 
Last edited by Gaming796,
Can someone help me pls to decrypt a .sav file for my kingdom hearts dream drop distance created by my old gateway cartridge? I look everywere and canot find a simply way do do it, try the 3ds-save-tool from this thread, but i find to complicate, the files doest even have a .exe. All i want is to decrypt my save to use in a app to coverter for my epic game, if someone can teach me a simply way to do it, from the very basics, i apreciate it.

(sorry for my bad english, i'm braziliam)
 
Can someone help me pls to decrypt a .sav file for my kingdom hearts dream drop distance created by my old gateway cartridge? I look everywere and canot find a simply way do do it, try the 3ds-save-tool from this thread, but i find to complicate, the files doest even have a .exe. All i want is to decrypt my save to use in a app to coverter for my epic game, if someone can teach me a simply way to do it, from the very basics, i apreciate it.

(sorry for my bad english, i'm braziliam)

decrypting a gateway save isn't that hard. you need jksm to do it iirc. @MattKimura wrote a tutorial on how to do it on here, and I wrote one on psx place in pinky's 3ds tutorials. they're both nearly identical, since we both use the same method.

--------------------- MERGED ---------------------------

here it is: https://gbatemp.net/threads/importing-gateway-saves-to-cia-games.425743/

--------------------- MERGED ---------------------------

they'll be decrypted in the process, I believe in the way you need or want it to be.
 
  • Like
Reactions: vagus02
decrypting a gateway save isn't that hard. you need jksm to do it iirc. @MattKimura wrote a tutorial on how to do it on here, and I wrote one on psx place in pinky's 3ds tutorials. they're both nearly identical, since we both use the same method.

--------------------- MERGED ---------------------------

here it is: https://gbatemp.net/threads/importing-gateway-saves-to-cia-games.425743/

--------------------- MERGED ---------------------------

they'll be decrypted in the process, I believe in the way you need or want it to be.
Thansks for the reply. I try follow the steps on the guide, but i dont have my gateway cartridge anymore to pass step 6. Is there any other simple way do decrypt my save file? Thanks again!
 
hey man, do you know how can i start 3ds save tool? i wanna decrypt my .sav savedata for dbz extreme butoden
 

Site & Scene News

Popular threads in this forum