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

  • Thread starter d0k3
  • Start date
  • Views 794,337
  • Replies 4,476
  • Likes 71

ironmaster49

Well-Known Member
Member
Joined
Aug 9, 2015
Messages
764
Trophies
0
XP
244
Country
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,

keven3477

Fresh Prince of Lemonade
Member
Joined
Jul 12, 2012
Messages
953
Trophies
0
Location
Somewhere i can never find.
XP
1,167
Country
United States
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.
 

Nuzzgok

Well-Known Member
Newcomer
Joined
Nov 7, 2014
Messages
72
Trophies
0
Age
27
XP
120
Country
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.
 

atkfromabove

Well-Known Member
Member
Joined
Feb 9, 2015
Messages
321
Trophies
0
Age
30
Location
The state with lots of wives
XP
418
Country
United States
@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
 

atkfromabove

Well-Known Member
Member
Joined
Feb 9, 2015
Messages
321
Trophies
0
Age
30
Location
The state with lots of wives
XP
418
Country
United States
@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

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
@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,
  • Like
Reactions: OctopusRift

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
... 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.
 

Krude

Well-Known Member
Member
Joined
May 18, 2013
Messages
344
Trophies
0
XP
1,198
Country
Gambia, The
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?
 

atkfromabove

Well-Known Member
Member
Joined
Feb 9, 2015
Messages
321
Trophies
0
Age
30
Location
The state with lots of wives
XP
418
Country
United States
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.
 

Ronhero

Too Weird to Live, Too Rare to Die
Member
Joined
Jun 28, 2014
Messages
3,470
Trophies
1
Location
Arizona Bay
Website
127.0.0.1
XP
2,052
Country
United States
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
 

atkfromabove

Well-Known Member
Member
Joined
Feb 9, 2015
Messages
321
Trophies
0
Age
30
Location
The state with lots of wives
XP
418
Country
United States
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
 

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
937
Country
Saint Kitts and Nevis
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!
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
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.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,797
Country
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,

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
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

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,797
Country
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 :)
 

ubergeek77

Post editing world champ.
Member
Joined
Dec 6, 2014
Messages
584
Trophies
0
XP
587
Country
United States
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?
 
General chit-chat
Help Users
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    I @ Iron_Masuku: Hello