Homebrew Official [Download] Decrypt9 - Open Source Decryption Tools (WIP)

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,325
  • Replies Replies 4,476
  • Likes Likes 71
The Python scripts in 3DS Multi Decryptor work differently than the Python scripts in Decrypt9. It's good if it works that way, but somewhat tedious, right?

The seeddb.bin file (which is NOT the same as the 00000000 file) is meant to be a database of seeds. You put this database on your SD card once, and you don't have to fiddle around with the 00000000.sav file.

I'll take a look at ctrKeyGen.py. Maybe I can code a simple 00000000 -> seeddb.bin converter.

EDIT: I'm pretty sure I can quickly write that converter, but could you perhaps send me that seeddb / 00000000.sav file again? I only have it on my work computer now, to which I won't have access until tomorrow.


The 00000000 file from NAND\data\(console exclusive)\sysdata\0001000f holds all the seeds for all your games.I don't think there is a file named seeddb.bin in the nand unless you can extract it from the 00000000 file.

I'll send a pm with the 00000000.sav file.
 
... alright, I have a preliminary seeddb.bin converter. It converts your file at nand:/data/<console-unique>/sysdata/0001000f/00000000 to a Decrypt9 compatible seeddb.bin. No idea if everything is alright yet. I need testers. Source code and binary is attached.

Instructions: Get the file at nand:/data/<console-unique>/sysdata/0001000f/00000000 (only available on FW 9.6, thus only available with a hardmod). Copy this to some directory on your PC together with seedconv.exe. Then just drag and drop 00000000 onto seedconv.exe, and a working seeddb.bin should automagically be generated.


EDIT: Download removed, this didn't work
 
Last edited by d0k3,
... alright, I have a preliminary seeddb.bin converter. It converts your file at nand:/data/<console-unique>/sysdata/0001000f/00000000 to a Decrypt9 compatible seeddb.bin. No idea if everything is alright yet. I need testers. Source code and binary is attached.

I try the seeddb.bin you sent me and it didn't come up with the

Use seed NCCH crypto
Seed KeyY: 298xxxxxxxxxxxxxxxxxxxxxxxxxx6F3

like 3DS Multi Decryptor did.
 
I try the seeddb.bin you sent me and it didn't come up with the

Use seed NCCH crypto
Seed KeyY: 298xxxxxxxxxxxxxxxxxxxxxxxxxx6F3

like 3DS Multi Decryptor did.
Yeah, Decrypt9 doesn't display the keyY. But, does Decrypt9 properly generate the XORpads? Meaning: Do you get an error message about the seed not being found?

EDIT: ... and, you need to use that in Decrypt9 (put it into the Decrypt9 working directory), not in 3DS Multi Decryptor.
 
Last edited by d0k3,
Yeah, Decrypt9 doesn't display the keyY. But, does Decrypt9 properly generate the XORpads? Meaning: Do you get an error message about the seed not being found?

EDIT: ... and, you need to use that in Decrypt9 (put it into the Decrypt9 working directory), not in 3DS Multi Decryptor.

Decrypt9 will make XORpads with or with out the seeddb.bin and both sets of XORpads have the same crc.I will try with your latest version of Decrypt9 and see if its any different.
 
Last edited by key1340,
Decrypt9 will make XORpads with or with out the seeddb.bin and both sets of XORpads have the same crc.I will try with your latest version of Decrypt9 and see if its any different.
In any case, the xorpads should not be identical with and without seeddb.bin. Without, you should get an error message ("Failed to find seed"). With, even if it is wrong, you should get different xorpads. Can you give me the title id of the title you're trying to decrypt (I guess it is the P&D Z demo)?

You're possibly not using a recent version of Decrypt9. Use mine or Shadowtrances, and keep in mind everything goes into the "\Decrypt9\" working path. Or, the title you're decrypting may not need the seeddb.bin at all. But that would be strange.
 
Last edited by d0k3,
Using you latest version of Decrypt9 without the seeddb.bin on the memory card.Failed to find seeddb.bin and failed to make XORpads.With the seeddb.bin on the memory card found the seeddb.bin and maked the XORpads.
 
  • Like
Reactions: d0k3
Using you latest version of Decrypt9 without the seeddb.bin on the memory card.Failed to find seeddb.bin and failed to make XORpads.With the seeddb.bin on the memory card found the seeddb.bin and maked the XORpads.
Yeah, that's what I expected. Thank you! And I hope those xorpads are correct, but that will need further testing. You could compare these xorpads with those 3DS Multi Decryptor makes, though.
 
... alright, I have a preliminary seeddb.bin converter. It converts your file at nand:/data/<console-unique>/sysdata/0001000f/00000000 to a Decrypt9 compatible seeddb.bin. No idea if everything is alright yet. I need testers. Source code and binary is attached.

Instructions: Get the file at nand:/data/<console-unique>/sysdata/0001000f/00000000 (only available on FW 9.6, thus only available with a hardmod). Copy this to some directory on your PC together with seedconv.exe. Then just drag and drop 00000000 onto seedconv.exe, and a working seeddb.bin should automagically be generated.
Just crashes for me when i run it. (extracted the file from 9.8 backup).
Console output is.... SEED offset: 66F2000
then it crashes, seedconv has stopped working blah blah blah.
 
Just crashes for me when i run it. (extracted the file from 9.8 backup).
Console output is.... SEED offset: 66F2000
then it crashes, seedconv has stopped working blah blah blah.
Hmm... You may have the wrong file. There are no checks in place for bad SEED offsets and 66F2000 looks very bad (a good one was 6000). But then I'm not completely sure if the description in CTRKeyGen.py is accurate.
 
I dunno. I have the right file but maybe it has no seeds or something. This whole seeddb thing is bloody annoying. haha
I guess if you haven't installed anything that uses the seed crypto, you really have no seeds in there. You could try the free Puzzles and Dragons Z demo, though. And I'll build in a check to prevent that ugly crash later.
 
Yeah I'll try it once I've downloaded the demo and see what happens.
After restoring my 9.8 backup and updating to 9.9 that is....

edit... @d0k3 after restoring 9.8, updating to 9.9, re-downloaded the Puzzle dragon demo, loaded demo, played a game, turned off, backed up 9.9, extracted 00000000 file, drag n drop on seedconv...
same result, SEED offset: 66F2000 and crash as before.

If i manually search the file in HxD for SEEDDB i find 2 matches though... one at offset 5034 and the other at 5A034
 
Last edited by Shadowtrance,
Yeah I'll try it once I've downloaded the demo and see what happens.
After restoring my 9.8 backup and updating to 9.9 that is....

edit... @d0k3 after restoring 9.8, updating to 9.9, re-downloaded the Puzzle dragon demo, loaded demo, played a game, turned off, backed up 9.9, extracted 00000000 file, drag n drop on seedconv...
same result, SEED offset: 66F2000 and crash as before.

i have get same error,but tips is FD379000
 
Hello,there is blackscreen after I tap the Decrypt9 icon,and 1s later return to Ninjhax home ,what should I do?
Edit: 9.10-20J
 
Last edited by Orienser,
... alright, I have a preliminary seeddb.bin converter. It converts your file at nand:/data/<console-unique>/sysdata/0001000f/00000000 to a Decrypt9 compatible seeddb.bin. No idea if everything is alright yet. I need testers. Source code and binary is attached.
i run it generate a seeddb.bin. TitleIDs looks incorrect, that should be 0x000400...
(Seed was filled with 0xAA)
 

Attachments

  • seedconv.png
    seedconv.png
    10.6 KB · Views: 225
i was try to download the free Puzzles and Dragons Z demo and run it on eumnand 9.9J,then get the 00000000 file,and it is have different hash with the file which come from eumnand 9.8j(do not have the free Puzzles and Dragons Z demo)

but both of them can not use your tool to get seeddb.bin,so maybe only buy one game can get the bin(because some one can use it get bin)?

i upload the 2 file,maybe you can find something...at least now,it is useless for me...
 
Last edited by k8099,
@d0k3

I have had some time to fully try the XORpads.

The ones made with 3DS Multi Decryptor work good.I can fully decrypt the romfs and see all the files and make a working cia tested on 9.2 fw.

The ones made with Decrypt9 don't work.Can't decrypt the romfs or make a working cia.

And just for more info i'm using the Puzzles and Dragons Z demo to test everything.
 
Okay... we'll get this solved :).

edit... @d0k3 after restoring 9.8, updating to 9.9, re-downloaded the Puzzle dragon demo, loaded demo, played a game, turned off, backed up 9.9, extracted 00000000 file, drag n drop on seedconv...
same result, SEED offset: 66F2000 and crash as before.

If i manually search the file in HxD for SEEDDB i find 2 matches though... one at offset 5034 and the other at 5A034
i have get same error,but tips is FD379000

The offsets are good (5034 and 5A034), but something should be different for your 00000000.sav then for that by key1340. I can take a look at your (Shadowtrances, the others have already send it) 00000000 if you want.

i run it generate a seeddb.bin. TitleIDs looks incorrect, that should be 0x000400...
(Seed was filled with 0xAA)
Yeah, that doesn't look good. I'll need to take another look at your 00000000.

i was try to download the free Puzzles and Dragons Z demo and run it on eumnand 9.9J,then get the 00000000 file,and it is have different hash with the file which come from eumnand 9.8j(do not have the free Puzzles and Dragons Z demo)

but both of them can not use your tool to get seeddb.bin,so maybe only buy one game can get the bin(because some one can use it get bin)?

i upload the 2 file,maybe you can find something...at least now,it is useless for me...
No need to buy anything :). I got the files, but I suggest you remove the attachment from here. I don't think there is any critical data in there, but better safe then sorry. Thanks for sending it and more later!

The ones made with 3DS Multi Decryptor work good.I can fully decrypt the romfs and see all the files and make a working cia tested on 9.2 fw.

The ones made with Decrypt9 don't work.Can't decrypt the romfs or make a working cia.

And just for more info i'm using the Puzzles and Dragons Z demo to test everything.
I already found out you are using the Puzzles and Dragons Z Demo ;). I was able to succesfully extract the title ids from your 00000000 file, but something is still wrong with the seeds. Just give me some more time, and I'll get this fixed.

Hello,there is blackscreen after I tap the Decrypt9 icon,and 1s later return to Ninjhax home ,what should I do?
Edit: 9.10-20J

Have you tried both, my binary version and Shadowtrances (see first post)? Also, make sure you're using the most recent version.


... and one thing of my own... I have a very annoying problem with my 3DS at the the moment. If you've got some ideas about that, please write in that thread (= not here).
 
Last edited by d0k3,

Site & Scene News

Popular threads in this forum