Better than rxToolsomg, ctr title decryptor, like rxtool ?

Just ran it again after the latest changes, harvest moon still fails... haven't tried anything else yet.Okay, new release. This is mainly to improve the CTR Title Decryptor.
This should now handle everything that NCCH padgen does (and without using Python scripts and xorpads, of course). Seed crypto and 7x crypto is implemented. Game backups still go to /Decrypt9/D9titles. Everything else still goes into /Decrypt9. Looking forward to you opinions!
- Implemented seed crypto
- Hopefully fixed directory parsing
- Improved the onscreen output
As for the decision of keeping it inside the D9titles subdir: As you know, the title decryptor checks all files inside a directory, and - if detected as NCCH/NCSD container - overwrites files with their decrypted versions. While it has a fairly reliable detection for decryptable stuff, false positives are possible. Mixing that with your regular files is dangerous, and so it is better to keep it contained.
I know too little about the CIA format yet, but i think it should be possible to add CIA compatibility.It's just for decrypt .3ds or a .cia too ?
Not working with multiples files.
He decrypt the first file perfectly, but not the second (error and ask me for reboot or return to the menu).
Just test the new version with title decryption.
4.x ncch pass
7.x ncch fail
7.x ncch 9.3 crypto fail
7.x ncch 9.6 seed crypto fail
Just ran it again after the latest changes, harvest moon still fails... haven't tried anything else yet.
Opening D9titles/avmp.3ds ...
Found NCSD 000400000012BE00
Product Code: CTR-P-AVMP
Crypto Flags: 7x
Decrypting ExtHeader (2048b)...
Failed!
-----------
Bah ninja'd by @key1340 lol
Okay, thanks everyone. I think I already know what goes wrong there. Just give me an hour or two.

Ah yeah woops... it did fail after exefs.I know too little about the CIA format yet, but i think it should be possible to add CIA compatibility.
Okay, thanks everyone. I think I already know what goes wrong there. Just give me an hour or two.
BTW, @Shadowtrance I think you didn't write the complete message. It is almost impossible to fail decrypting the ExHeader. Failure should happen when decrypting ExeFS.
Okay, the .code offset was wrong, which in turn messed up everything else. This release should fix all the issues you described. Can't try myself now, cause I don't have any way to get big files on my N3DS now and I don't have any seed or 7x crypto titles on the card.
If you want to try, fixed release is attached. Or wait until I get to test it myself. I'll only make a new release once this is sufficiently tested. Keep in mind that when testing, you need to copy the unchanged files back to the D9titles directory. Even when Decrypt9 fails decrypting a game backup, It may have already made some changes to it.
Did you download the one attached above? I haven't yet updated the release on GitHub. If so, I guess we'll have to wait unti I can get proper test data on my 3DS.Same results as before with the new file.I put all games on fresh also put n3ds game on as well and that fail aswell.
Okay, thanks a lot then! I think I should have an opportunity to get proper test data on there this evening. More later...Yes i download the one attached above.The game with old ncch was fine the rest failed.It was much faster with the fail this time like 1-2 seconds and the whole lot were failed.Before it was like a few seconds per game.
That's almost impossible. If the ExHeader was decrypted correctly for the other 3 and CN ExeFS / RomFS were decrypted correctly, there is almost no way there could have gone something wrong with the CN ExHeader. ExHeader decryption is always the same, regardless of 7x or seed crypto. And you say, everythings okay for those three other titles? Could you check again?But I have a problem.
I think the ExHeader for CubicNinja is not decrypted well, because when I open it with 3DS Builder, he is not automatically recognized.
That's strange at least... You will need to try the comparison with hex editor (regular, old xorpad way vs shiny new title decryptor). HxD has a good comparison feature under 'Analysis'. The offset of the first difference may be enough, but a screenshot of the comparison would be better.And you say, everythings okay for those three other titles?
-> Yeah, everythings is okay for all other titles (Decryption, XXXFS Extraction...)
The exheader is not automatically recognized just for CubicNinja and TheGreatAceAttorneyJAP (but it's normal, it's a new game)
