ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

  • Thread starter Thread starter Relys
  • Start date Start date
  • Views Views 648,841
  • Replies Replies 2,226
  • Likes Likes 30
It's just AES I think. The problem is the keys.


You'd have to dump keyX in bootrom as well as the key scrambler algorithm. keyY (We calculate this) along with keyX (locked in bootrom) is ran through the keyscrambler to get the final key used for AES.
 
CaitSith2 said:
SHA256 verification now works with large files, instead of crashing with a memory error.
File size is now verified as well, to make sure the download was complete.
A rerun of the same command verifies the file size during the download phase, and if there is a mismatch, the file is redownloaded. Also realized that decryption is implied if the file is downloaded, so added that into the download bit, then did an elif on the not downloading part.
Source: https://github.com/Relys/3DS_Multi_Decryptor/pull/6
 
Im trying to use Pk3DS with Pokemon Alpha Sapphire, but im stuck in the same point, doesnt work nothing

3TTlxh3.png


ExeFS and ExHeader its Ok, but I dont understand why doesnt work with the RomFS, I used the modified launcher.dat, I used diferent ctrtool, I used my own xorpads and downloaded xorpads, I modify the size with HDX, I use 3DSExplorer and getromfs.exe... Nothing work for me :( Some help? Thanks ^^
 
Im trying to use Pk3DS with Pokemon Alpha Sapphire, but im stuck in the same point, doesnt work nothing

ExeFS and ExHeader its Ok, but I dont understand why doesnt work with the RomFS, I used the modified launcher.dat, I used diferent ctrtool, I used my own xorpads and downloaded xorpads, I modify the size with HDX, I use 3DSExplorer and getromfs.exe... Nothing work for me :( Some help? Thanks ^^

You'll have to obtain different xorpads from a rom download site (obviously you'll have to use google as I can't tell you where here). I had that issue with mine not working and using someone else's pregenerated xorpad got it to work. Perhaps the xorpad generator doesn't work on certain SD cards when doing large files. Not sure why it didn't work.
 
Im trying to use Pk3DS with Pokemon Alpha Sapphire, but im stuck in the same point, doesnt work nothing

3TTlxh3.png


ExeFS and ExHeader its Ok, but I dont understand why doesnt work with the RomFS, I used the modified launcher.dat, I used diferent ctrtool, I used my own xorpads and downloaded xorpads, I modify the size with HDX, I use 3DSExplorer and getromfs.exe... Nothing work for me :( Some help? Thanks ^^

i just wonder why is not working for you. i never adjust file size on both file (xorpad and encrypted one) and is always working for me with my own generated xorpad. you used 7.x key? used good mSD card? class 10 or not?. xorpad from googleknowaboutit is should working for you, make sure encrypted file is properly extracted.
 
Using the wrong key would result in all the files not decrypting properly. The interesting part is, it's just the RomFS file that comes out bad. Which I find odd. Hopefully when this is ported to the new exploit, it will be more stable and perhaps be more consistent. From what I heard, if it's able to be run on newer native firmware, we won't even need the slot0x25KeyX.bin file anymore because it will be initialized correctly by sysnand. (although I don't know what impact this will have on older roms that don't use the newer encryption. But since they still work on newer firmware I would assume it's backwords compatible? Someone elaborate on this... :P )
 
I tried reading through this thread a bit to find what I need, but it is admittedly a bit too big... So I hope people won't mind if the following has been asked (which I am sure it has already).
I want to decrypt the EU version of Tomodachi Life. For this, I most likely need to 7.x key, but I honestly do not know how it comes into play and where I should use it.
Using slightly different tools than the one provided (since github confuses me only more), I was finally able to get a DecryptedRomFS.bin... But I am guessing this one is corrupt since at no point did I need to use the 7.x key and I can't for the life of me figure out how to unpack it...
If someone would please be kind enough to guide me a little bit here, I'd be eternally grateful.
 
Does the xorpad generator not work on certain kinds of SD cards? I've tried three now and it freezes when opening the .bin file. It either say Opening...... and doesn't progress or I get a message that it can't open.
 
I tried reading through this thread a bit to find what I need, but it is admittedly a bit too big... So I hope people won't mind if the following has been asked (which I am sure it has already).
I want to decrypt the EU version of Tomodachi Life. For this, I most likely need to 7.x key, but I honestly do not know how it comes into play and where I should use it.
Using slightly different tools than the one provided (since github confuses me only more), I was finally able to get a DecryptedRomFS.bin... But I am guessing this one is corrupt since at no point did I need to use the 7.x key and I can't for the life of me figure out how to unpack it...
If someone would please be kind enough to guide me a little bit here, I'd be eternally grateful.

You only need the 7.x key to completly decrypt ExeFS, RomFS should work fine right away.

As for unpacking:
ctrtool.exe -x DecryptedRomFS.bin --romfsdir=<targetdir>
 
Thanks guys for all the reply. I use xorpads getting on google too, but result on the same thing, and obviously I had the 7.x key edited with the HXD. Maybe the rom have a sav inside, I gonna delete it from my retail game and dump it again.

Both, MicroSD and SD I think are good, class 10, 32 GB...

I gonna report you what happen after dump without a sav.

Thanks again guys.
 
You only need the 7.x key to completly decrypt ExeFS, RomFS should work fine right away.

As for unpacking:
ctrtool.exe -x DecryptedRomFS.bin --romfsdir=<targetdir>
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
 

Site & Scene News

Popular threads in this forum