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

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,390
  • Replies Replies 4,476
  • Likes Likes 71
I have a question, is it possible to use this by using a cubic ninja rom that exists on the gateway to at least be able to dump the ticket.db?
Yeah, its possible to use all the features of this app with gateway with a cubic ninja rom loaded and ninjhax 1.1 installed or with a cubic ninja cia and ninjhax 1.1, as long as your firmware is 9.2 and under, i doubt you have above because you need below 9.3 to boot gateway anyway, but if you are using emunand it must be below 9.3
 
Last edited by ironmaster49,
Yeah, its possible to use all the features of this app with gateway with a cubic ninja rom loaded and ninjhax 1.1 installed or with a cubic ninja cia and ninjhax 1.1, as long as your firmware is 9.2 and under, i doubt you have above because you need below 9.3 to boot gateway anyway, but if you are using emunand it must be below 9.3

it didn't seem to work for me, I tried using a cubic ninja rom in gateway sysnand mode and it just loaded for less than a second and came back to the homebrew channel. I guess I will try the mset method but I don't know how to install mset because the dev menu keeps on not letting me install.
 
As I've tried everything under the sun, is there anyway to use this on 8.1J N3DS? I only have gateway. I can't use ninjhax on sysnand, and running decrypt9 from emunand doesn't seem to work.
 
@d0k3 I have done a speedtest on the latest version. There was considerable speed increases on a few of the options. Here are my results:

Decrypt920150923 Speed Test.PNG
 
@d0k3 Quick question, if I got the seeddb.bin for the new Animal Crossing Happy Home Designer how do I crypto fix the cia?

1. I placed the ncchinfo and seeddb.bin in the same folder on my SD.
2. I generated the xorpads successfully with the seeddb.bin from my 10.1.0 firmware.
3. I then converted the 3ds file into cia and placed back onto my SD card.
4. I booted Pasta with firmlaunch and installed the cia with FBI.
5. When I try to open the game it sits at the 3ds screen...

Any help would be appreciated!

CameraZOOM-20150927103619000.jpg
 
Last edited by atkfromabove, , Reason: Photo Added
@d0k3 I have done a speedtest on the latest version. There was considerable speed increases on a few of the options. Here are my results:

View attachment 25946
Thanks a ton! Increasing the buffer size has some downsides (mainly a less accurate progress indicator) and it seems to only make sense for real big files. I'll think about what to do later, for now this is very helpful.

@d0k3 Quick question, if I got the seeddb.bin for the new Animal Crossing Happy Home Designer how do I crypto fix the cia?

1. I placed the ncchinfo and seeddb.bin in the same folder on my SD.
2. I generated the xorpads successfully with the seeddb.bin from my 10.1.0 firmware.
3. I then converted the 3ds file into cia and placed back onto my SD card.
4. I booted Pasta with firmlaunch and installed the cia with FBI.
5. When I try to open the game it sits at the 3ds screen...

Any help would be appreciated!

View attachment 25992
Yeah, Animal Crossing Happy Home Designer seems to be some kind of special case. I already had a lengthy discussion with @OctopusRift about that. You can try decrypting it with the updated title decryptor (new release later today), and you will see that the decryption is correct (new title decryptor has verification via hash checking). If that problem was with the japanese release, just try the US one. Otherwise, let me know, and we'll see what is the problem.

As I've tried everything under the sun, is there anyway to use this on 8.1J N3DS? I only have gateway. I can't use ninjhax on sysnand, and running decrypt9 from emunand doesn't seem to work.
Update it to 9.0J. If what you want to tell me now is that this is not possible, you are wrong. There's one method that requires a small amount of cash and one that only requires a hardmod (the latter one is unreleased as of now). @Ronhero could you help him? Don't find that thread now.

it didn't seem to work for me, I tried using a cubic ninja rom in gateway sysnand mode and it just loaded for less than a second and came back to the homebrew channel. I guess I will try the mset method but I don't know how to install mset because the dev menu keeps on not letting me install.
Gateway uses some files from later firmwares to enable launching titles not designed for 9.2 and below. That's the problem. You're better off with an actual CN cartridge or a Sky3DS. You may also try with one of the different launch methods, but as of now I can not help with that.

So can this be used as a replacement for rxtools decryption?
You should be able to do everything with Decrypt9 (and more with my WIP version) that is possible with rxTools.
 
Last edited by d0k3,
... and here's a new proper GitHub release:

New since the last GitHub release (note that some, but not all of this stuff was already on GBAtemp before GitHub):
  • Now includes the ability to create and update the seeddb.bin file. You need a 9.6+ EmuNAND and seed games installed in your EmuNAND - otherwise it won't work.
  • EmuNAND routines now also accept RedNAND (GW type EmuNAND still recommended).
  • Old DANGER_ZONE features are now in the main release and protected by an unlock sequence.
  • New EXPERIMENTAL #define for stuff not tested enough.
  • Scrolling text output.
  • Vastly improved Title Decryptor, see below...
Title Decryptor improvements / changes:
  • Hash verification for decrypted files -> this verifyes everything went well.
  • Reduced unneccessary text output.
  • Various smaller improvements.
  • Title Decryptor is now called NCCH decryptor.
  • Stuff to decrypt goes to \D9decrypt\ instead of \D9titles\.
Note the last two changes above. These last two changes were necessary because further decryption features are coming and this needs to be differentiated from the others.

The NCCH Decryptor (formerly Title Decryptor) is a very neat tool that will enable you to directly decrypt NCSD and NCCH files. .3DS rom backups are NCSD files.
 
So, i have NAND dumps from my N3DS made by ShadowTrance's version (1280 MB) and by d0k3's version (1888 MB). Why are they so hugely different in size?
 
So, i have NAND dumps from my N3DS made by ShadowTrance's version (1280 MB) and by d0k3's version (1888 MB). Why are they so hugely different in size?

I had the same question earlier in the thread. I'll just requote the answer I got.

That would be because the hardmod and gateway dumps extra garbage at the end of the file. basically reads the whole chip, the ACTUAL nand size on n3ds is only 1.2gb regardless of emmc chip used.
So the dumps are valid, nothing to panic about. :)

You might not have a hardmod but the concept is the same. One dump has garbage padding and the other does not.
 
Update it to 9.0J. If what you want to tell me now is that this is not possible, you are wrong. There's one method that requires a small amount of cash and one that only requires a hardmod (the latter one is unreleased as of now). @Ronhero could you help him? Don't find that thread now.

I have two methods I am working on but both are unreleased as of now in fear of people bricking. I have someone also working on 8.1 mset so if that happens first we will have several options
 
I did it! After hours of messing with trying to get the new Animal Crossing to work! I wish I would have selected the FW Spoof option earlier from 3DS Simple CIA Converter.

CameraZOOM-20150927184716329.jpg

@d0k3 I was confused how the NCCH Decryptor worked since it kept giving me no errors. I was expecting some sort of output on my sd card but I figured it out by referencing other guides for decrypting and rebuilding 3ds roms. Thanks for the work! Now I have a cryptofixed Animal Crossing Happy Home Designer loading from CIA since Sky3ds template is still out of date!

CameraZOOM-20150927175034442.jpg
 
I did it! After hours of messing with trying to get the new Animal Crossing to work! I wish I would have selected the FW Spoof option earlier from 3DS Simple CIA Converter.

View attachment 26018

@d0k3 I was confused how the NCCH Decryptor worked since it kept giving me no errors. I was expecting some sort of output on my sd card but I figured it out by referencing other guides for decrypting and rebuilding 3ds roms. Thanks for the work! Now I have a cryptofixed Animal Crossing Happy Home Designer loading from CIA since Sky3ds template is still out of date!

View attachment 26017
Doke!
 
So, i have NAND dumps from my N3DS made by ShadowTrance's version (1280 MB) and by d0k3's version (1888 MB). Why are they so hugely different in size?
1888 MB is the actual size of the NAND memory, 1280 MB is the used region. The 608 additional MB is in fact garbage padding and can be replaced with anything you wish. I guess Nintendo just uses these 1888 MB memory chips (instead of something smaller), because that's the cheapest option for them. Decrypt9 uses 1888 MB as size, as the GW EmuNAND (and every other EmuNAND out there) also uses the full NAND memory size and we want the Decrypt9 NAND backup to be compatible with that.
I have two methods I am working on but both are unreleased as of now in fear of people bricking. I have someone also working on 8.1 mset so if that happens first we will have several options
Didn't you make a thread for the method involving the eShop? For the other one, yeah, I understand the bricking risk, but it can only be done with a hardmod anyways.
 
1888 MB is the actual size of the NAND memory, 1280 MB is the used region. The 608 additional MB is in fact garbage padding and can be replaced with anything you wish. I guess Nintendo just uses these 1888 MB memory chips (instead of something smaller), because that's the cheapest option for them. Decrypt9 uses 1888 MB as size, as the GW EmuNAND (and every other EmuNAND out there) also uses the full NAND memory size and we want the Decrypt9 NAND backup to be compatible with that.
Yep that is correct, 600MB of garbage lol Well it depends on what emmc chip the n3ds has, there's 2 that we know of Samsung and Toshiba, 1.2gb and 1.8gb used respectively. I'm pretty sure both are actually 2gb emmc chips though but different amount of space used between the 2 for some reason, same with old 3ds, different chips, different size used etc.
Also, stop adding stuff! You're on fire! :P I'm not going to be able to keep up! lol I'd still like to keep mine updated but you've gotten waaaaaay ahead of me with changes. haha I'm sure people still appreciate the graphical version, if they don't i guess i won't update it. lol
 
Last edited by Shadowtrance,
Also, stop adding stuff! You're on fire! :P I'm not going to be able to keep up! lol I'd still like to keep mine updated but you've gotten waaaaaay ahead of me with changes. haha I'm sure people still appreciate the graphical version, if they don't i guess i won't update it. lol
Sorry :D!
There's also still some stuff coming...
  • With the new SeekFileInNAND() function we can dump any file from any FAT16 partition. Movable.sed and SecureInfo_A (most likely even injecting them) will be included for SysNAND and EmuNAND (that makes four/eight new features). Maybe there are other files that would make sense to be able to dump (maybe even on TWLN?).
  • The way EmuNAND is handled now, we can run anything on EmuNAND. I doubt I will include EmuNAND backup/restore/partition dump/partition inject, though. Too little interest among the users, and the last round of tests doesn't look too good (corrupted files). You're still free to use it, it is behind the EXPERIMENTAL #define now.
  • CIA decryptor currently in the works. Maybe a one step CIA cryptofixer, too, will be a bit slow though. That means an additional two new options.
  • Also, I'm considering a SD decryptor. I'm unsure about that, though, as the CIA decryptor will take care of almost everything this could do (correct me if I'm wrong). What I will enable in any case is creating SD xorpads without SDinfo.bin (not a new feature, will be build into the existing one).
  • A new menu, utilizing the arrow keys and allowing up to 8 entries per menu in my build will be coming. Less interesting for you, as you're using an alternate menu anyways.
The good stuff now is that the decryptor.h/decryptor.c can be used among builds (Archshift/Shadowtrance/mine) without any change. You only need to replace some files for your build, and all the heavy work is done for the draw.h/.c / menu.h/.c source files and the graphics themselves. And of course the graphical version is highly appreciated! Your build always had more stars on GitHub than mine :).
 
  • Like
Reactions: klear
Sorry :D!
There's also still some stuff coming...
  • With the new SeekFileInNAND() function we can dump any file from any FAT16 partition. Movable.sed and SecureInfo_A (most likely even injecting them) will be included for SysNAND and EmuNAND (that makes four/eight new features). Maybe there are other files that would make sense to be able to dump (maybe even on TWLN?).
  • The way EmuNAND is handled now, we can run anything on EmuNAND. I doubt I will include EmuNAND backup/restore/partition dump/partition inject, though. Too little interest among the users, and the last round of tests doesn't look too good (corrupted files). You're still free to use it, it is behind the EXPERIMENTAL #define now.
  • CIA decryptor currently in the works. Maybe a one step CIA cryptofixer, too, will be a bit slow though. That means an additional two new options.
  • Also, I'm considering a SD decryptor. I'm unsure about that, though, as the CIA decryptor will take care of almost everything this could do (correct me if I'm wrong). What I will enable in any case is creating SD xorpads without SDinfo.bin (not a new feature, will be build into the existing one).
  • A new menu, utilizing the arrow keys and allowing up to 8 entries per menu in my build will be coming. Less interesting for you, as you're using an alternate menu anyways.
The good stuff now is that the decryptor.h/decryptor.c can be used among builds (Archshift/Shadowtrance/mine) without any change. You only need to replace some files for your build, and all the heavy work is done for the draw.h/.c / menu.h/.c source files and the graphics themselves. And of course the graphical version is highly appreciated! Your build always had more stars on GitHub than mine :).
Exactly why I've held off doing and updates, because i don't know what you have up your sleeves. haha (and i secretly keep hoping for a huge pull request lol)
All the changes though, I'm liking the sound of :)
 
I did it! After hours of messing with trying to get the new Animal Crossing to work! I wish I would have selected the FW Spoof option earlier from 3DS Simple CIA Converter.

View attachment 26018

@d0k3 I was confused how the NCCH Decryptor worked since it kept giving me no errors. I was expecting some sort of output on my sd card but I figured it out by referencing other guides for decrypting and rebuilding 3ds roms. Thanks for the work! Now I have a cryptofixed Animal Crossing Happy Home Designer loading from CIA since Sky3ds template is still out of date!

View attachment 26017

Is that it? That's all you did, and it worked? Or what exactly did you do to convert it?
 

Site & Scene News

Popular threads in this forum