Nintendo 3DS .cia file support
Hi SabreTools Thank you for creating this amazing easy-to-use all-in-one tool.
I use No-Intro database to verify that I have good files. When it comes to .nds & .dsi & .3ds files, your tool always gives the correct hash values (md5) for both encrypted and decrypted files. Is it possible to add .cia files support to your tool?
Tools that decrypt .cia files:
Batch CIA 3DS Decryptor: https://gbatemp.net/threads/batch-cia-3ds-decryptor-a-simple-batch-file-to-decrypt-cia-3ds.512385/
3DS + CIA Rom Script: https://anonfiles.com/Fb7fw8Xcob/3DS_CIA_Rom_Script_rar
The two aforementioned tools do decrypt .cia files but the md5 is inconsistent and not matching No-Intro database. Also neither of them encrypt .cia files back.
Note: When I tried to encrypt a .cia file, I got [Expected .nds .srl .dsi .3ds] but .ids wasn't included in the list even though it's supported by your tool. Sorry I'm a bit OCD :)
Thank you again
I don't check this repo often, so apologies that I missed this when you reported.
For your first part, if you can provide an example for something that didn't encrypt or decrypt properly (assuming you have a properly filled keys.bin file), that would help. Just a link to the Dat-o-Matic page would suffice. I had a user test every single 3DS file for both encrypt and decrypt and everything matched at the time.
For the second part, I can consider doing .cia support, but that's a little more complex. I don't mind eventually porting that sort of functionality. .cia files are structured differently than the .3ds files that are supported currently, so it's a non-trivial addition.
I'm Sorry for the mistake. Apparently I had wrong keys.bin file. I changed the title and the original issue post.
Any updates regarding this?
Not really, CIA support is still kinda low on my list given the other projects that I maintain. I appreciate the prod, though. Having the decrypt/encrypt working properly is quite a pain each time I've attempted it so far.