-
Notifications
You must be signed in to change notification settings - Fork 59
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
Content to CIA creates bad CIA file when creating SEED-encrypted titles #107
Comments
I know that we still have the old method to convert a SEED title into proper CIA. The workable SD to CIA with SEED decrypted I used to use is
|
I'll look into it, but there is something you can try. Open the CIA in a hex editor (GM9 f.e.) and zero out the four byte at 0x14. Then try installing it again. ... and second thing you can try. Decrypt the CIA via the CIA decryptor (deep). If there are any errors, give me the output from the log. Then try to install again. .. and the third thing to try. Make 100% sure this has to do with seed crypto and not with that specific title. It is rather unlikely seed crypto is any problem in that function. |
Okay, I tried it myself. This has nothing to do with seed crypto cause other seed titles work. Can you give me the title this happened with? Was it the Sun & Moon demo? Also, please test the stuff I described above. EDIT (yeah, edits, edits): also please retry with the most recent release of D9 of you haven't yet. EDIT2 (last one, hopefully): Even the SM demo works without trouble. Can you tell me if you tried that CIA on the same console it came from? |
And here's a test build you can try: |
Thanks. I'm now dumping that title again with the test build. |
Alright, thanks! The SD -> CIA converter tries to build CIAs that are as original as possible. For installed legit CIAs f.e., you will again get a legit CIA back after rebuilding. This also means that any crypto the installable content has (SEED / regular / 7x / Secure3 / Secure4) is kept (actually must be kept to keep the sigs intact). You can fix this by running CIA decryptor (deep) after the conversion. Question now is, shouldn't that be handled by the SD -> CIA Converter itself, right? Tbh, I am unsure about that. |
OK I'll try the SD to CIA -> CIA Decryptor (deep) to see whether it works or not. |
That could actually only happen if the SEED in your seeddb.bin is invalid. In that case, though, the SD to CIA decryptor would throw an error, too. Did it? |
Tried that SD to CIA -> CIA Decryptor (deep) works without any "CIA invalid" issue. |
The shallow decryption's process was succeeded but the output CIA by shallow got the CIA invalid issue. |
Just to clarify this... Are you trying to install this CIA on GW? If so, known GW issue (incomplete / improper sig patching). Otherwise I'd need to find out what's wrong with deep decryption. |
Deep decryption's output CIA is fine. |
Since
|
Devmenu/FBI reported it that "This CIA is invalid".
Converting No-SEED titles is fine.
(Edited at 2016-11-02)
Rebuilt the CIA with 2016-10-21 release.
It can be installed properly.
So the "This CIA is invalid" case seems to be simply a file error.
But after the installation, there is one more SEED related problem occurs.
See the following comments for details.
The text was updated successfully, but these errors were encountered: