ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

  • Thread starter Thread starter Relys
  • Start date Start date
  • Views Views 649,102
  • Replies Replies 2,226
  • Likes Likes 30
Seeing that some of you have trouble decrypting roms, I've created a very crappy coded Python script that does most of the command line work for you.
Instructions:
You need ctrKeyGen, ctrtool and padxorer in the folder the script is.
 
Seeing that some of you have trouble decrypting roms, I've created a very crappy coded Python script that does most of the command line work for you.
Instructions:
You need ctrKeyGen, ctrtool and padxorer in the folder the script is.
Why not just a batch script?
 
I did it!
BEOd6Sb.png


Turns out I was right about the format, but I had my locations messed up.
So happy~
And thank you, SciresM, for making me realize this.
 
if is possible and working to repacking , translate HM games is possible (actually is useless XD). my plan is only mining HM data and other game only ... is enough ...

SNAG_0171.png

since i not have any experience on 3D thing format, i hope someone kindly share their tools :3
 
  • Like
Reactions: cearp
Good so actually rom decryption is going on in the public.
For those who have better infos, how the ctr for the sd file encryption is calculated?
Also, regarding game translations, i always thought about creating custom DLC, so piracy will not be necessary but actually even original games can load custom files instead of their romfs ones.
Also my bad, i don't own a gateway but since it launches homebrews i guess the newest betas spoof the signature checks. If it is true you guys can actually try to edit the game roms, what you just need is to edit the decrypted rom, recalculate the sha256 hashes in the ncch header and xor back the files in the rom with the xorpads.
We can't rebuild IVFC filesystem yet, but simple hexedit is legit i guess.
 
N2dZRX3.png



It't be awesome if we could use a batch script to automate extracting the models from Pokemon :P

Thanks SciresM for the help!
 
  • Like
Reactions: Celice
Also, regarding game translations, i always thought about creating custom DLC, so piracy will not be necessary but actually even original games can load custom files instead of their romfs ones.

well i doubt every game supports dlc, but i imagine every game is able to receive an update patch. (surely all games could support dlc with an update patch that allows dlc :))
but yes, that is a nice idea, although it would be more trouble than it is worth, at the moment we cannot install custom stuff like that, it would be much more simple just to patch and load the rom, just because a rom is needed does not technically mean piracy has to be involved...
 
Also my bad, i don't own a gateway but since it launches homebrews i guess the newest betas spoof the signature checks. If it is true you guys can actually try to edit the game roms, what you just need is to edit the decrypted rom, recalculate the sha256 hashes in the ncch header and xor back the files in the rom with the xorpads.
We can't rebuild IVFC filesystem yet, but simple hexedit is legit i guess.

Yeah I was hoping to try something like this while waiting for the rebuilding to be fixed by some kindly genius. Good tip on the sha256 hash, thanks!
 
N2dZRX3.png



It't be awesome if we could use a batch script to automate extracting the models from Pokemon :P

Thanks SciresM for the help!

Well, you can extract the textures too:
Pokemon%2520X%2520Modelo%25203.png

Mewtwo%2520X.png

Just use that tool in PT files (Seek for the 4 bytes in the file, if says as PT are texture, PC are Model, and PF are Eye/Mouth)
 
  • Like
Reactions: gamefan5
Those launchers start at an offset.
They're based off the first padgen posted which was more reliable but it freezes after about an hour.
What you do is generate from the start until it stops, then you can use the launcher for where you made it up to and later merge the results.
If this is a little bit too complicated, I'm sure another padgen will be released soon enough.


With what tool can i merge the files?
Is it done with a Hex editor?
 
Thanks will try that!
just use either the new v2 padgen or this one
Hi, I've refactored/improved the tool. Now it shows a percentage and it's a little bit faster.
Launcher.dat: https://www.dropbox.com/s/g0znm6uyikawy74/Launcher.dat?dl=0
Launcher_noGW.dat: https://www.dropbox.com/s/orxl5befn5adfko/Launcher_noGW.dat?dl=0
Source code: https://bitbucket.org/xerpi/3ds-ctr-decryptor-refactored/src
Code:
Original version by VOiD
Refactored by xerpi
 
Many thanks to Ryanrocks462, planetarian, Vappy and everyone else who helped me testing :P
Also thanks to megazig for the crypto lib.

Hope you like it!

none of my SD cards liked the new padgen, but this one works great, its much faster than the first padgen and there is no freezing so you wont have to mess about merging files
 
just use either the new v2 padgen or this one


none of my SD cards liked the new padgen, but this one works great, its much faster than the first padgen and there is no freezing so you wont have to mess about merging files

That's even better! Thanks!! Will try it right away
 
I managed to get the game data from Pokedex 3D Free
Though the fact is that some files in the game data are .z5
these files are probably the models and textures because the files are called p*number*.z5 and match the numbers of the pokemon of the 5th generation.
I will post the Link here: *removed*
three files are included: p493.z4, p494.z5, p495.z5
so these are probably the textures models and maybe more stuff of snivy, serpine and serperior
 
  • Like
Reactions: cearp
Luckily I managed to download them. Not having a 4.5 3DS sux D;

I'll have to wait for some way to do it on 8.0+ :sleep:
 

Site & Scene News

Popular threads in this forum