Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nintendo 3DS .cia file support #3

Open
SamRohod opened this issue Jan 2, 2021 · 4 comments
Open

Nintendo 3DS .cia file support #3

SamRohod opened this issue Jan 2, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@SamRohod
Copy link

SamRohod commented Jan 2, 2021

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

@mnadareski mnadareski self-assigned this Jul 23, 2021
@mnadareski mnadareski added the enhancement New feature or request label Jul 23, 2021
@mnadareski
Copy link
Contributor

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.

@SamRohod SamRohod changed the title Inconsistency with .3ds files and .cia support Nintendo .cia file support Nov 10, 2021
@SamRohod SamRohod changed the title Nintendo .cia file support Nintendo 3DS .cia file support Nov 10, 2021
@SamRohod
Copy link
Author

SamRohod commented Nov 10, 2021

I'm Sorry for the mistake.
Apparently I had wrong keys.bin file.
I changed the title and the original issue post.

@SabreTools SabreTools deleted a comment from XpertGame2020 Apr 23, 2022
@SamRohod
Copy link
Author

SamRohod commented Mar 6, 2023

Any updates regarding this?

@mnadareski
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants