ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

Relys

^(Software | Hardware) Exploit? Development.$
OP
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
Port by Archshift to work with 9.x: https://github.com/archshift/Decrypt9

Instructions: https://github.com/citra-emu/citra/wiki/Decryption

Compiled download for 9.x (beta):https://mega.co.nz/#!7dIGgJKL!RL1rkYMlpz1gV-EDQZSRc5WGWYU-r86iD_3GwONSQvg

3DS multitool thing.

Functions:
NCCH padgen -- use ctrkeygen.py to generate the needed ncchinfo.bin
SD padgen -- use SDinfo_gen.py to generate the needed SDinfo.bin
Title key decrypter -- check out the scripts in 'ticket-titlekey_stuff'
NAND FAT16 partition padgen --self-explanatory
NAND dumper --self-explanatory

Controls:
DPAD Up/Down: change selection
A: select item
B: return to menu(after your selected process finishes)


YOU NEED TO SUPPLY YOUR OWN COPY OF slot0x25KeyX.bin.

To build for iQUE (Chinese 3DS) please change the following line in rop.py
_pop_r2_pc = 0x0022952D ### for ique change to 0x00229565

Thanks to enler for finding the correct gadget offset.

credits:

sbJFn5r - everything
relys - coded the original C version of "ctrkeygen"
xerpi - did some refactoring early on, that I then built off of and made ugly again. :(


Thanks:

yellows8 and everyone that contributes to the 3dbrew wiki
megazig for the crypto functions
some GBAtemper for the FS functions. Don't know who you are, but the person I got them from said they came from someone on GBAtemp.







My code is awful, sorry if it's hard to read/follow.

Download Link: https://github.com/Relys/3DS_Multi_Decryptor

Project CTR fork from AppleStashs "Vandalized" version: https://github.com/Relys/Project_CTR

Every File Explorer by Gericom:
http://gbatemp.net/threads/release-every-file-explorer.373615/

sm4sh data tools by comex:
https://github.com/comex/smash-stuff

Sm4shCommand by Sammi Husky and dantarion: http://gbatemp.net/threads/release-sm4shcommand.378245

Sm4sh Documentation by dantarion: http://opensa.dantarion.com/wiki/Main_Page

Sm4sh Patch notes by dantarion: http://opensa.dantarion.com/s4/mastercore2/
 

GorTesK

Mad Hatter
Member
Joined
Jan 29, 2013
Messages
1,099
Trophies
0
Age
35
Location
Down The Rabbit Hole
XP
611
Country
Gambia, The
For dah no0bZ, how about someone explains what this does?

well to be honest I don`t understand much about how the 3DS works, because that is not my field of expertise, but if I read something, I usually memorize it and I read this thingy here from Team Fail from his recent release
"Basically

1. You get your keys.
2. Put them into the aes core, and get your xorpad. <- This is the only step that hasn't been completed. However, all the files to achieve this are public.
3. xor the file you want to decrypt.
4. ???
5. Profit!"
because this release seems to produce a xorpad file, I have reason to believe it might be step 2 of what he described here... well I may just be totally wrong of course and unless somebody knowledgable delivers some comprehensable explaination, we might just sit here and stare at it :P
 
  • Like
Reactions: loco365

Relys

^(Software | Hardware) Exploit? Development.$
OP
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
That is correct. You can use 3DSExplorer to extract the files and use the XOR Tool to decrypt. You can use ctrtool to extract the dcrypted files.
 

GorTesK

Mad Hatter
Member
Joined
Jan 29, 2013
Messages
1,099
Trophies
0
Age
35
Location
Down The Rabbit Hole
XP
611
Country
Gambia, The
That is correct. You can use 3DSExplorer to extract the files and use the XOR Tool to decrypt. You can use ctrtool to extract the dcrypted files.

so correct me, if I am wrong with my assumption, but does this mean, that rom files are now "easily"/publicly decryptable? (with a 4.5 3DS/XL)
or does it still need another step, that is yet to be discovered?
 

Relys

^(Software | Hardware) Exploit? Development.$
OP
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
so correct me, if I am wrong with my assumption, but does this mean, that rom files are now "easily"/publicly decryptable? (with a 4.5 3DS/XL)
or does it still need another step, that is yet to be discovered?

You are correct. :) We made this since no one else would share. All of our source is included. We made this because we wanted to rip music, create level editors for SM3DL and mod like Project M for SSB (although we will need 7.x decryption for that I believe).
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,854
Trophies
3
Location
Gaming Grotto
XP
29,943
Country
Poland
I counted six download buttons on that page, eenie meanie miney moe.
5hfcc3z.png
 

ground

Well-Known Member
Member
Joined
Mar 22, 2007
Messages
907
Trophies
0
XP
597
Country
Netherlands
You are correct. :) We made this since no one else would share. All of our source is included. We made this because we wanted to rip music, create level editors for SM3DL and mod like Project M for SSB (although we will need 7.x decryption for that I believe).
and rom injection for virtual consoles ?;)
 
  • Like
Reactions: Margen67

jqrn

Well-Known Member
Member
Joined
Dec 28, 2011
Messages
113
Trophies
0
Age
48
XP
516
Country
well to be honest I don`t understand much about how the 3DS works, because that is not my field of expertise, but if I read something, I usually memorize it and I read this thingy here from Team Fail from his recent release
"Basically

1. You get your keys.
2. Put them into the aes core, and get your xorpad. <- This is the only step that hasn't been completed. However, all the files to achieve this are public.
3. xor the file you want to decrypt.
4. ???
5. Profit!"
because this release seems to produce a xorpad file, I have reason to believe it might be step 2 of what he described here... well I may just be totally wrong of course and unless somebody knowledgable delivers some comprehensable explaination, we might just sit here and stare at it :P



erhhmm.... how to ask... you know...

- What keys?
- what aes core
- what xorpad

I am at a complete loss here.
 
  • Like
Reactions: yuyuyup
B

Ben12066

Guest
Sounds promising, but I don't have Gateway... Sorry.

EDIT: NVM that. I forgot to read... :|
 

GorTesK

Mad Hatter
Member
Joined
Jan 29, 2013
Messages
1,099
Trophies
0
Age
35
Location
Down The Rabbit Hole
XP
611
Country
Gambia, The
erhhmm.... how to ask... you know...

- What keys?
- what aes core
- what xorpad

I am at a complete loss here.

http://gbatemp.net/threads/3ds-decryption-key-generator.370630/
this is Team Fail`s release, that gets you the keys
apparently this new release in this thread here gets you the xorpad file (whether or not it uses Team Fail`s code or was written before that, I do not know...) / follow the instruction to acquire it, you still need a 4.5 3DS/XL to actually launch this release
and apparently XOR Tool can decrypt it and ctrtool extracts it...
is it usable to the average user? uhm no, I guess?
but it might just be the first real BIG step into fan translation apparently, since it enables rom decryption

still waiting for some big name to give his statement on this, but It looks realy promising :-)
 

Snailface

My frothing demand for 3ds homebrew is increasing
Member
Joined
Sep 20, 2010
Messages
4,324
Trophies
2
Age
40
Location
Engine Room with Cyan, watching him learn.
XP
2,256
You are correct. :) We made this since no one else would share. All of our source is included. We made this because we wanted to rip music, create level editors for SM3DL and mod like Project M for SSB (although we will need 7.x decryption for that I believe).
Just curious, why did you make a scene release nfo for this?

Whatever the reasons, thanks for the release.
 
  • Like
Reactions: Ryanrocks462

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    But my 3DS is loaded with emulators and 3DS games and DS games and GBA games probably thousands of games in total lol
  • Xdqwerty @ Xdqwerty:
    Brb going with my dad
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, are most of those games shovelware?
    +1
  • K3Nv2 @ K3Nv2:
    Nah gotta buy 3 1tb SD cards for 3ds the entire libraries need archived in my home
    +1
  • SylverReZ @ SylverReZ:
    >buys x3 1TB SD cards
    >stores the entire 3DS library on them
    >installs CFW
    >realised why I wasted loads of money and resources
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Lol no I clean my sets
  • K3Nv2 @ K3Nv2:
    Cause it's in my home ready to go
  • K3Nv2 @ K3Nv2:
    Like uremum
  • Psionic Roshambo @ Psionic Roshambo:
    But 100 games on SNES and Genesis and GBA then TG16 and NES and GB and GBC then all the other random systems and arcade games it all adds up lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Virtual Boy alone has probably 5 games!!! Lol
    +1
  • K3Nv2 @ K3Nv2:
    I won't mention any names in chat but some of us wastes $300 on preloaded hdds :tpi:
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The PS5 had none.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Lol I spent more than that on a stuffed 4TB drive lol
  • K3Nv2 @ K3Nv2:
    Honestly I've yet to fill the 1tb internal drive on my ps5
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, 1) except final fantasy 16. 2) why would I have a console's whole catalogue if most of the games are either shovelware or terrible games?
  • Psionic Roshambo @ Psionic Roshambo:
    Kind of a waste, but the allure of all those games over 100,000
  • Psionic Roshambo @ Psionic Roshambo:
    Some shovel ware with low ratings you might enjoy more than the ratings would sugest
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Cruisn on the Wii is one of my personal examples of that, it's considered one of the worst games of all time, I loved it and completed it several times.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The trick for me was to go into the settings and crank up the Wiimote sensitivity to the max and it gets twitchy but you can win that way lol
  • Psionic Roshambo @ Psionic Roshambo:
    Lots of other games I enjoyed that reviews would say otherwise lol
  • btei @ btei:
    lethal company servers are down rn
  • btei @ btei:
    my pocket pikachu is going crazy rn
  • Psionic Roshambo @ Psionic Roshambo:
    Pocket Pikachu sounds dirty lol
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Penischu, I choose you.
    SylverReZ @ SylverReZ: Lol