shijimasoft/cia-unix

How to use this tool?

jingzhongchangan opened this issue · 6 comments

Firstly, thanks for the tool!!!

But I met some problems:
I ran "python decrypt.py xxx.cia", and got two ncch files, but no cci file, and the two ncch files hadn't been deleted.

This is the screenshot of the folder
image

This is the output on terminal
image

It looks like you called decrypt.py manually. This tool is cia-unix and uses decrypt.py as just one of its steps. You can either compile the cia-unix Crystal file itself. See the README for that or continue with your next manual step and run ./makerom -f cci -ignoresign -target p -o Dai-Gyakuten-Saiban-decrypted.cia -i Dai-Gyakuten-Saiban2(CN).0.ncch:0:0 -i Dai-Gyakuten-Saiban2(CN).1.ncch:1:1

It looks like you called decrypt.py manually. This tool is cia-unix and uses decrypt.py as just one of its steps. You can either compile the cia-unix Crystal file itself. See the README for that or continue with your next manual step and run ./makerom -f cci -ignoresign -target p -o Dai-Gyakuten-Saiban-decrypted.cia -i Dai-Gyakuten-Saiban2(CN).0.ncch:0:0 -i Dai-Gyakuten-Saiban2(CN).1.ncch:1:1

Thanks for the reply.
I figured it out by running cia-unix directly, I got the cci file. And the output in the terminal seemed alright:
image

But when I load the cci file in citra, it said it's not a valid CIA file. And it seemed there's some issues in the cia-unix log:

image

I don't have much experience with CIA files, only .3ds files. I do know that those 2 warnings about failed to sign header are normal and my files work even with those warnings. I'd be happy to take a look further if you can find a way to get me your .cia file.

I don't have much experience with CIA files, only .3ds files. I do know that those 2 warnings about failed to sign header are normal and my files work even with those warnings. I'd be happy to take a look further if you can find a way to get me your .cia file.

Much appreciate that!
I'm uploading the cia file onto my google drive, and I'll update here as long as it finished

I don't have much experience with CIA files, only .3ds files. I do know that those 2 warnings about failed to sign header are normal and my files work even with those warnings. I'd be happy to take a look further if you can find a way to get me your .cia file.

Hi, skabber, here's the link:
Please don't keep .cia download link on cia-unix issues, thank you
Thank you very much and please take your time.

I don't have much experience with CIA files, only .3ds files. I do know that those 2 warnings about failed to sign header are normal and my files work even with those warnings. I'd be happy to take a look further if you can find a way to get me your .cia file.

Hi, skabber, I found another 3ds file and it works fine.
So there's no need to bother you to check it at all.
Thanks again for your kind help and wish you a good day!