ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

_eyCaRambA_

Well-Known Member
Member
Joined
Apr 22, 2009
Messages
525
Trophies
1
Location
Right around the corner™
XP
409
Country
United States
There is no trimming required and you don't drag and drop the xorpad onto the xor.exe (unless you have some modded version that supports this lol)

xor.exe EncryptedRomFS.bin CTR-P-EC6P0.romfs.xorpad
I think this should give you EncryptedRomFS.bin.out instead of DecryptedRomFS.bin but that doesn't matter.
 
  • Like
Reactions: Nurio

AHP_person

Well-Known Member
Member
Joined
Nov 2, 2014
Messages
364
Trophies
0
XP
518
Country
United States
Yeah, I tried that, but all I get is "Unknown file" in return. I performed these steps:

1. Download ctrKeyGen and padgen (old versions, I think, since these are still .exe -- As I said, github confuses me.)
2. Donwload getromfs and xor.exe (from Twili here: http://www.mediafire.com/download/qipafy450qsv3aq/romfsdecryption.zip )
3. Drag the Tomodachi Life ROM onto ctrKeyGen to get ncchinfo.bin
4. Put the resulting ncchinfo.bin and the Launcher.dat (GW version) onto the root my SD card
5. Run the exploit and let the 3DS generate the xorpads
6. Drag the Tomodachi Life ROM onto getromfs.exe to get EncryptedRomFS.bin
7. Use HxD to trim the CTR-P-EC6P0.romfs.xorpad to match the size of EncryptedRomFS.bin (I just had to shave off a bit of the end, right?)
8. Drag CTR-P-EC6P0.romfs.xorpad to xor.exe to get DecryptedRomFS.bin
9. Run ctrtool.exe -x DecryptedRomFS.bin --romfsdir=TomoLifeDecrypt
10. Get error =(

All files on my computer were in the same folder
You can't use the 7x keyX with the old version of padgen etc.
 
  • Like
Reactions: Nurio

FR0ZN

Well-Known Member
Member
Joined
Nov 2, 2013
Messages
1,402
Trophies
1
Age
37
XP
3,960
Country
United States
Relys are there any plan to port this over to 9.x ? afaik someone that, but decided not to look further into it because there is SD access missing?
 

alejakaiser

Member
Newcomer
Joined
Jan 23, 2015
Messages
22
Trophies
0
Age
30
XP
284
Country
Well people, I still cant decrypt my Alpha Sapphire backup. I tried did a backup of my Omega Ruby and decrypt it, and at first try, I did it. I dont know what happen to my Alpha Sapphire, but with my Omega Ruby I did it.

Now Im randomized all things, but Im sad because a few month ago, a friend randomized for me my Pokémon Y, and trainers have Perma-Megas, the Elite 4 at least 2 Perma-Megas, and I cant do it with Pk3DS, but I see there isnt an option for that, and the trainer's randomizer dont do it :(

Well, at least I can randomized trainers, wild pokemon and a lot of things ^^
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,478
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,928
Country
United States
Well people, I still cant decrypt my Alpha Sapphire backup. I tried did a backup of my Omega Ruby and decrypt it, and at first try, I did it. I dont know what happen to my Alpha Sapphire, but with my Omega Ruby I did it.

Now Im randomized all things, but Im sad because a few month ago, a friend randomized for me my Pokémon Y, and trainers have Perma-Megas, the Elite 4 at least 2 Perma-Megas, and I cant do it with Pk3DS, but I see there isnt an option for that, and the trainer's randomizer dont do it :(

Well, at least I can randomized trainers, wild pokemon and a lot of things ^^

PK3DS might have tweaked the randomizer for the wild editor. You can try using RSTW/RSTE (RSTW can randomize wild encounters while RSTW handles trainer encounters) as those programs separately haven't been changed much since work was moved on to PK3DS. The only down side is you have to unpack and repack the GARC files manually if you use that version of it. Google GARCTool as that is what you'll need for the GARC files found in the "a" folder.

I randomized my Omega Ruby rom with RSTW and RSTE before PK3DS was out. My second rival battle had a perma mega salamance and the second gym leader became Zinnia with a perma mega Aggron as her lead. :P

Lost my starter to a gym trainer in that same gym to a **king Furfrou with transform. :P
 

Nurio

That Kirby fan
Member
Joined
Mar 31, 2009
Messages
850
Trophies
0
Age
33
Location
The Netherlands
XP
450
Country
Netherlands
There is no trimming required and you don't drag and drop the xorpad onto the xor.exe (unless you have some modded version that supports this lol)

xor.exe EncryptedRomFS.bin CTR-P-EC6P0.romfs.xorpad
I think this should give you EncryptedRomFS.bin.out instead of DecryptedRomFS.bin but that doesn't matter.
See:
1. Extract getromfs.exe and xor.exe to the same folder as the ROM that you obtained the romfs xorpad for, and put the xorpad in that folder as well.

2. Click and drag your ROM into getromfs.exe and it will extract the encrypted romfs for the rom as EncryptedRomFS.bin. Don't close the cmd window. It will close on its own when it's done. It will take a couple minutes.

3. Click and drag the xorpad for the romfs into xor.exe and it will xor EncryptedRomFS.bin with the xorpad to decrypt it. It will output DecryptedRomFS.bin. AGAIN, IT'S SLOW. DON'T CLOSE THE CMD WINDOW. IT WILL CLOSE ON ITS OWN.
In this case delete [the extra data from the xorpad], since my xor.exe only works if the xorpad has the exact same size as the encrypted romfs.
I followed these instructions... And if I do not trim, then I simply get a 0-byte file.

You can't use the 7x keyX with the old version of padgen etc.
I never had to use the 7.x KeyX anywhere for some reason. But I'll use a newer version of padgen. (That's literally the only file on github that makes sense for me and that I'm able to pull and use right away.)



EDIT:
Is it just me or is there about zero documentation to be found about these new methods? Things like...
1. I installed Python and downloaded the new ctrKeyGen.py, but how on Earth can I get it to create the new nchhinfo.bin?
2. I need to supply my own copy of slot0x25KeyX.bin. Great, I got one. How and where do I supply this exactly?
3. I see a list of controls... Where exactly do these controls come in handy?
 

einstein95

Well-Known Member
Member
Joined
Aug 31, 2013
Messages
230
Trophies
0
Age
29
XP
312
Country
New Zealand
Is it just me or is there about zero documentation to be found about these new methods? Things like...
1. I installed Python and downloaded the new ctrKeyGen.py, but how on Earth can I get it to create the new nchhinfo.bin?
2. I need to supply my own copy of slot0x25KeyX.bin. Great, I got one. How and where do I supply this exactly?
3. I see a list of controls... Where exactly do these controls come in handy?
1. Just run it in the same way as the old ctrKeyGen.py
2. Put it on the root of the main SD card, in the same place you put the Launcher.dat
3. If you mean the list of controls in the 3DS-side application (the Launcher.dat), only if you want to use them.
 
  • Like
Reactions: Nurio

Nurio

That Kirby fan
Member
Joined
Mar 31, 2009
Messages
850
Trophies
0
Age
33
Location
The Netherlands
XP
450
Country
Netherlands
1. Just run it in the same way as the old ctrKeyGen.py
2. Put it on the root of the main SD card, in the same place you put the Launcher.dat
3. If you mean the list of controls in the 3DS-side application (the Launcher.dat), only if you want to use them.
I did not have an "old ctrKeyGen.py"... I used a .exe that supported dragging the file onto it.
 

Nurio

That Kirby fan
Member
Joined
Mar 31, 2009
Messages
850
Trophies
0
Age
33
Location
The Netherlands
XP
450
Country
Netherlands
make sure you have python 2
...Alright. See, this is why documentation would've been nice. But I couldn't find any documentation anywhere. I'll try this out and report back.

EDIT: In the meantime, can anyone tell me which tools they use to XOR? I feel like all the instructions I use are heavily outdated.
 

einstein95

Well-Known Member
Member
Joined
Aug 31, 2013
Messages
230
Trophies
0
Age
29
XP
312
Country
New Zealand
...Alright. See, this is why documentation would've been nice. But I couldn't find any documentation anywhere. I'll try this out and report back.

EDIT: In the meantime, can anyone tell me which tools they use to XOR? I feel like all the instructions I use are heavily outdated.
padxorer. Supports xorpads that are a different size to the file to be xored. Use like "padxorer romfs.bin romfs.xorpad".
 
  • Like
Reactions: Nurio

Nurio

That Kirby fan
Member
Joined
Mar 31, 2009
Messages
850
Trophies
0
Age
33
Location
The Netherlands
XP
450
Country
Netherlands
padxorer. Supports xorpads that are a different size to the file to be xored. Use like "padxorer romfs.bin romfs.xorpad".
Thanks! I used the old tools for now, and they finally worked! But I'll use the padxorer in the future. Saves me some trouble.
If I use this padxorer, do I need to separate the RomFS from the ROM still? (If that even makes any sense what I just said)
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
Well people, I still cant decrypt my Alpha Sapphire backup. I tried did a backup of my Omega Ruby and decrypt it, and at first try, I did it. I dont know what happen to my Alpha Sapphire, but with my Omega Ruby I did it.

Now Im randomized all things, but Im sad because a few month ago, a friend randomized for me my Pokémon Y, and trainers have Perma-Megas, the Elite 4 at least 2 Perma-Megas, and I cant do it with Pk3DS, but I see there isnt an option for that, and the trainer's randomizer dont do it :(

Well, at least I can randomized trainers, wild pokemon and a lot of things ^^
You could try archshift's xorer
https://github.com/archshift/xorer

I'm attaching a Win32-compiled version to this post
 

Attachments

  • xorer.zip
    18.9 KB · Views: 421

alejakaiser

Member
Newcomer
Joined
Jan 23, 2015
Messages
22
Trophies
0
Age
30
XP
284
Country
Guys, Its normal that? I change some things like MegaEvo or Evolve Ditto into Mew, some text, etc etc. But this doesnt change in my rom. I think that can be the update 1.2, but I deleted the Omega Ruby's update, and if I try load it, I get an infinite 3ds logo load, the rom doesnt work...

Its that the problem? How can I load the game without update it?

Thanks people ^^ Hugs.
 

tjexp

Happy New Year!
Member
Joined
May 20, 2012
Messages
743
Trophies
1
Location
England
XP
409
Country
Not sure if anyone can help me here but when trying to use 3DStoCDN to dump one of my games, once the game has finished downloaded it would say "aescbc.exe has stopped working"
Any idea what's going on? This hasn't happened before
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,478
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,928
Country
United States
Guys, Its normal that? I change some things like MegaEvo or Evolve Ditto into Mew, some text, etc etc. But this doesnt change in my rom. I think that can be the update 1.2, but I deleted the Omega Ruby's update, and if I try load it, I get an infinite 3ds logo load, the rom doesnt work...

Its that the problem? How can I load the game without update it?

Thanks people ^^ Hugs.

Try extracting the exheader with CTRTool instead of 3DSExplorer and decrypt it again. (you only have to decrypt exheader again. If everything else was decrypted already, you don't have to redo that part)

Then use that for building your rom instead. I've heard from one user that got it booting without the patch after doing that. ;)
 

Relys

^(Software | Hardware) Exploit? Development.$
OP
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
CaitSith2 said:
(Some eshop games are big enough to cause out of memory issues trying to decrypt the entire file in memory.)
Also, the original code assumed the buffer was created successfully, instead of checking that it actually was, which of course caused a crash on that large game.

https://github.com/Relys/3DS_Multi_Decryptor/pull/7
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Ratings for it are calling it bad, but it looks cool. Damn 48/100 rating.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    looks are deceiving
  • BigOnYa @ BigOnYa:
    Yea people always down vote games anymore seems like, good or bad, bunch of haters
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, review bombing?
    +1
  • K3Nv2 @ K3Nv2:
    Yeah seems like people hate on original ideas anymore
  • K3Nv2 @ K3Nv2:
    Oh were sorry our small dev team can't shit out a cod clone every 6 months
    +1
  • K3Nv2 @ K3Nv2:
    Mostly positive on steam
  • BigOnYa @ BigOnYa:
    Eew, you use steam, I'm down voting you cause you not using or playing what I like.
  • K3Nv2 @ K3Nv2:
    Yes and epic and gog, sleep with me
  • K3Nv2 @ K3Nv2:
    Gay
  • BigOnYa @ BigOnYa:
    Homophobic
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, whats wrong with steam?
  • BigOnYa @ BigOnYa:
    Nothing, I was just teasing
  • K3Nv2 @ K3Nv2:
    He's a big tease trying to take my booty
  • BigOnYa @ BigOnYa:
    No, I don't wanna make ancientboi mad, I know you two already have a thing going
    +1
  • K3Nv2 @ K3Nv2:
    He divorced me once I threatened him with the fbi
    +2
  • Xdqwerty @ Xdqwerty:
    @K3Nv2,
    he also fucked uremum despite being gay
  • K3Nv2 @ K3Nv2:
    Yeah so did you and I want back child support pay enjoy the lawsuits
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, im virgin
  • K3Nv2 @ K3Nv2:
    So was mother Theresa
  • BigOnYa @ BigOnYa:
    @XdqwertyThat's ok, he is too
    +1
  • K3Nv2 @ K3Nv2:
    Uremum doesn't think so
    +2
  • Xdqwerty @ Xdqwerty:
    good night
    Xdqwerty @ Xdqwerty: good night