ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

  • Thread starter Thread starter Relys
  • Start date Start date
  • Views Views 648,847
  • Replies Replies 2,226
  • Likes Likes 30
Actually I don't think the environment variables matter in this case. Your .py files are associated with the Python 2.7 exe, not another version?


No other version, anyway the files worked grate anyway , So no matter .

hiBEPZD.jpg
 
No other version, anyway the files worked grate anyway , So no matter .

Oh, duh. I just figured it out.
When you right click the link and save, it saves as ctrKeyGen.py, but what you're actually saving is the webpage: https://github.com/Relys/3DS_Multi_Decryptor/blob/master/ctrKeyGen.py

I just go here and click the Download ZIP button.

Alternatively, if you go to the ctrKeyGen.py page, you can right click on the link in the top right that says Raw, and save that.
 
Oh, duh. I just figured it out.
When you right click the link and save, it saves as ctrKeyGen.py, but what you're actually saving is the webpage: https://github.com/Relys/3DS_Multi_Decryptor/blob/master/ctrKeyGen.py
I just go here and click the Download ZIP button.

Yes that is what is happen-ing .

They can be usd in plain text , did you not know that ???
All the phython scripts i use are plain text and working , so you can change things in them.


Yes you are right :) , it works as long as you have Python installed .

If you don't have Python installed then yes they would need compiling correctly, for non Python users to use .
 
Excuse me, I have made changes in the RomFS folder, but now how I can rebuild my rom ? It's Pokemon Y EUR
 
Is any way modify Decryptor to working from Gateway (3DS or CIA format) or from Ninjhax? For Gateway because now is not possible decrypt content on SD card, when sysNAND was formatted. And for Ninjhax to decrypt content 3DS with FW above 4.x.
No. The decryptor runs with full kernel access, which it needs. 3DS and CIA format applications run in "userland", without access to things like the AES module, so no decryption can take place that can be controlled via the application.
 
No. The decryptor runs with full kernel access, which it needs. 3DS and CIA format applications run in "userland", without access to things like the AES module, so no decryption can take place that can be controlled via the application.

I've often wondered how hard it would be to add in a service port that userland apps in cfw could access with the needed functions, but I've never gotten around to actually looking because I have a gateway(so I don't use cfw) and I don't find the need to decrypt things often enough to be bothered. Still, someone should look into it.
 
Counter generation(info from http://3dbrew.org/wiki/Extdata):

First, take the path of the file you want you want to decrypt.
Let's use 'X:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/0000008f/00000000/00000001' ('00000001' is the file, it has no extension)
We only need what's after X:/Nintendo 3DS/<ID0>/<ID1>
So, '/extdata/00000000/0000008f/00000000/00000001'
Convert that to UTF16, add two null bytes to the end, then take the SHA256.
The counter is then CTRword = Hashword ^ Hashword[4+i]

For the example file, the counter is {0x24, 0xE2, 0xF7, 0x91, 0x92, 0x6A, 0xDC, 0x96, 0x49, 0x4E, 0x81, 0xA9, 0x7B, 0x3C, 0x90, 0xCF}


This works for anything in 'extdata', 'dbs', 'title', and possibly 'backups'(haven't tested this one)

Tool = ? 'X:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/0000008f/00000000/00000001' ('00000001' is the file, it has no extension)
We only need what's after X:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/0000008f/00000000/00000001

Missing info what tool was used ?, Tool = ?
 
Hey guys, I created a program to make editing your Mega Evolution Tables easier. Goes great with [user]SciresM[/user]'s Personal editor.

RZaqwZp.png


Just open your decrypted Garc folder at a/1/9/3 (For OR/AS), or a/2/1/6 (For X/Y), make your edits, then click save. A list of item IDs can be found in the program.

Download: https://github.com/Huntereb/MEE/releases

Source: https://github.com/Huntereb/MEE

By the way, the source is kinda messy. This is my first C# project, so that's to be expected I suppose.

Enjoy!
 
Hey guys, I created a program to make editing your Mega Evolution Tables easier. Goes great with [user]SciresM[/user]'s Personal editor.

rW0bfPB.png


Just open your decrypted Garc folder at a/1/9/3, make your edits, then click save. You can find a list of item ID's here.

Download: https://github.com/Huntereb/MEE/releases

Source: https://github.com/Huntereb/MEE

By the way, the source is kinda messy. This is my first C# project, so that's to be expected I suppose.

Enjoy!

EDIT: Updated with new picture. It now allows for three evolution slots.

It's for XY or ORAS ?
 
sbJFn5r and everyone - thanks for all the work, i really like that it is a multi tool and i do not have to switch out launcher.dats for when i want to decrypt eshop/3ds rom stuff!
this has unadulterated nand access right - is it not possible to 'simply' (not sure how simple it really is) - to simply copy the ticket.db from the nand to the sd card?
then those who just want that file do not have to go through the whole process of decrypting their nand, etc etc.
is this possible, would you think about this? i appreciate it.

thank you
 
[user]HunterEB[/user]

I just made a pull request that vastly improves all of the code in your project. I made it use way more iteration, and rely less on hardcoded stuff. Also, the Species box is sorted alphabetically by Mon Name now. ;)
 
I just made a pull request that vastly improves all of the code in your project. I made it use way more iteration, and rely less on hardcoded stuff. Also, the Species box is sorted alphabetically by Mon Name now. ;)


You just rewrote the whole thing, it can't even be compared to what it was before.

Also, your commit is based on an older build.
 

Site & Scene News

Popular threads in this forum