Commit Graph

7 Commits

Author SHA1 Message Date
zhupengfei 49ddd86b7a Add CIA building
Quite a lot of code, yeah.

The built CIA is almost identical to GM9, with the following differences:
1. Paddings are zeroed out
2. Title key is not written (GM9 gets it from support data/ticket db)
3. Ticket content index is slightly different (GM9 likely takes it from the legit ticket, while we are building a fake one)

The 2, 3 points can be fixed probably.
2020-08-07 08:58:09 +08:00
zhupengfei 1f91cbdaec Use virtual classes instead of templates for file interfaces
For convenience.
2020-08-01 09:47:44 +08:00
zhupengfei c27589ce53 core: Add DecryptToFile in NCCHContainer 2020-05-01 11:59:24 +08:00
zhupengfei f0de8da515 core: Makes it possible to skip decryption part in QuickDecryptor
Bad name, huh?
2020-04-30 18:54:10 +08:00
zhupengfei c831a0785e core: Generalize QuickDecryptor
This is now a class template. This would be useful when we implement NCCH decryption.
2020-04-30 18:05:58 +08:00
zhupengfei cd5eccd32a Fix DLCs not imported correctly, fix progress not reported correctly 2019-10-04 15:45:39 +08:00
zhupengfei d55af0108e core, frontend: Better progress reporter
A new "quick" decryptor is implemented. This is not really much faster (not slower either) but provides the benefit of being able to report progress on a single file. The frontend is updated accordingly to support this feature.
2019-09-12 22:08:44 +08:00