ROM Hack 3DS Decryption Key Generator

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,041
Country
Vietnam
So, if I understand this correctly, this tool extracts/generates the key for the partitions. Then you run those keys through the AES engine to get OTPs to xor with the partitions, thus decrypting the ROM?

I now wish that fundraiser had succeeded
 

cracker

Nyah!
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Is the homebrew ROP chain able to access the AES functions on the 3DS? If not then it would probably require a real-time RAM injection and additional code (perhaps requiring another exploit) to generate the XOR value or a hacked GW perhaps?
 

Cjuub

Well-Known Member
Member
Joined
May 25, 2006
Messages
198
Trophies
1
Age
33
XP
2,078
Country
Is the homebrew ROP chain able to access the AES functions on the 3DS?

I believe it is, I have reversed a bit of the first gw-launcher some time ago and it did call the aes-engine to decrypt part of their Launcher.dat in the ROP-chain.
 

Blueie

Well-Known Member
Member
Joined
Apr 30, 2013
Messages
226
Trophies
0
XP
325
Country
Argentina
right there on the previous page
Whoops, missed that! Thanks!


Ugh, I keep getting an exception no matter what I do. For instance, the following command:

ctrtool.exe -i "E:/ROMs/3DS/Pokemon X (E).3ds"

Generates messages like this one:

1 [main] ctrtool 12016 cygwin_exception::open_stackdumpfile: Dumping stack trace to ctrtool.exe.stackdump
 

ground

Well-Known Member
Member
Joined
Mar 22, 2007
Messages
907
Trophies
0
XP
597
Country
Netherlands
Maybe a dump question:

Can this be used to decrypt the data file of a .cia file and repack it as .3ds?
 

3dslove79

Well-Known Member
Member
Joined
Jul 27, 2014
Messages
140
Trophies
0
Age
32
XP
188
Country
Italy
Graeat job team fail!:) a little question ,thanks to this program is possible in the near future to translate a game?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Simply open your 3DS or 3DZ (I need confirmation on this format, as I cannot dump them at this time)
.3dz is only a file extension renaming.
.3dz is used to allow online access by storing an unique cartridge ID and a Chip ID in the ROM header. It's added automatically by Gateway 3DS ROM dumper, or by users sharing ID togethers (you can find threads with more details on ChipID).
Unique cartridge ID located at 0x1200.
Chip ID located at 0x1240.
 

loco365

Well-Known Member
OP
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
So, if I understand this correctly, this tool extracts/generates the key for the partitions. Then you run those keys through the AES engine to get OTPs to xor with the partitions, thus decrypting the ROM?

I now wish that fundraiser had succeeded

Exactly. I am aware of a set of libraries that can actually communicate with the AES engine, but I can't locate it at this time, although the contents of this 3DBrew page would be of use.
 
  • Like
Reactions: Queno138

Lone Fail

New Member
Newbie
Joined
Aug 28, 2014
Messages
1
Trophies
0
Age
34
XP
52
Country
United States
So what does this do? Does this mean i could play pokemon x and y yet? What is decrypting and what does the key do? I have r4i gold deluxe btw
 
  • Like
Reactions: bkifft

Jorsher

New Member
Newbie
Joined
Aug 30, 2014
Messages
2
Trophies
0
Age
39
XP
51
Country
United States
Will this have any benefit for decrypting newer saves?

Since injecting a new header ruins any saves made before injecting the data, the save data is surely bound to the cart ID somehow and likely something else.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Nighty night, wise one, thanks for trying to help.
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself to your 0% juice, lol
    +1
  • BigOnYa @ BigOnYa:
    Damn, is that Wing from South Park?
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa hmmm I wonder how long until someone just vapes the straight nicotine lol
  • BigOnYa @ BigOnYa:
    I was gonna say people are not that dumb, but yea you right, some are.
    +1
  • K3Nv2 @ K3Nv2:
    People have put 50mg salt nic in straight subohm coils which is like more powerful hits
    +1
  • BigOnYa @ BigOnYa:
    Hey psi, do they have dress codes down there in FLa, here there are signs on stores that say "No shirt, no service" but curious bout down yonder
  • BigOnYa @ BigOnYa:
    Yea I tried the salts and too strong for me, I prefer the norm juice
  • K3Nv2 @ K3Nv2:
    In Florida they don't serve you if you have clothes on
    +1
  • K3Nv2 @ K3Nv2:
    Fucking raining again
  • BigOnYa @ BigOnYa:
    How can you tell, do you see rain drops on top of other rain drops?
    +1
  • K3Nv2 @ K3Nv2:
    I can tell by whenever your wife done letting out loud ass moans then I get her a ticket back home
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah most places demand clothes and shoes, unless it's some really back water place that I am unaware of lol
    +1
  • BigOnYa @ BigOnYa:
    Cool, I got lunch money for tomorrow then.
  • BakerMan @ BakerMan:
    @K3Nv2 call uremum Sloppenheimer the way she givin me this bomb head
    +1
  • K3Nv2 @ K3Nv2:
    I call uremum alzheimer she forgets to leave
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Time to start a vape straight nicotine challenge, Darwin be praised!
    +1
  • K3Nv2 @ K3Nv2:
    Imagine if Hitler had vapes, we promise it's not cyanide it'll help you quit nicotine
    +1
  • BigOnYa @ BigOnYa:
    Please, walk into my patented vape chamber, aka the non smoking area
  • K3Nv2 @ K3Nv2:
    I do wonder how dominate Germany would've been if they just enlisted Jewish people
  • BigOnYa @ BigOnYa:
    They actually enlisted Muslims, seriously, because the Muslims hates Jews, even tho it was not the supreme race. He claimed common hate, is friendship.
  • K3Nv2 @ K3Nv2:
    He could've just made them walking shields kind of a dumb ass move
  • K3Nv2 @ K3Nv2:
    https://a.co/d/3km8bqC lol cd level quality I fucking hope so
    K3Nv2 @ K3Nv2: https://a.co/d/3km8bqC lol cd level quality I fucking hope so