Pengfei
5c575847a6
Fix for CIA meta
...
Only titles with SMDH should have a meta
2021-08-07 10:49:14 +08:00
Pengfei
327a5a52a9
Fix for DLC
2021-08-07 10:48:43 +08:00
Pengfei
ed8d6a1a82
Add support for system applets
2021-08-07 01:00:39 +08:00
Pengfei
5b55f801f0
Fix wrapper initialization
2021-08-06 18:48:17 +08:00
Pengfei
be9e1386c3
Change CIA building to be TMD-oriented
...
... just like how it should be.
2021-08-06 14:56:54 +08:00
Pengfei
d4e1404788
Fixes to CIA building
...
1. Optimizes ticket finding
2. Fixes progress reporting overshoot
3. Use u64 for size in general
4. Various other fixes and cleanups
2021-08-06 00:55:35 +08:00
Pengfei
fd1c2363eb
Fix critical typo
2021-08-04 21:43:24 +08:00
Pengfei
b4c506d802
Fix more macos
2021-08-04 11:26:56 +08:00
Pengfei
1fe45d890c
More refactor going on
2021-08-04 11:25:39 +08:00
Pengfei
0abddb7e79
Fix macos build
2021-08-04 11:13:41 +08:00
Pengfei
c7b66f6308
Pointless huge refactor
2021-08-04 11:11:52 +08:00
Pengfei
22ebf68b90
Remove ResultStatus
...
And instead use bool to represent result, which is simpler and more consistent, as there's no error reporting anyways.
2021-08-04 09:58:17 +08:00
Pengfei
1f0a969cb7
Add CIABuildDialog
2021-08-04 00:35:01 +08:00
Pengfei
bbcad43d1c
Fix.
2021-08-03 15:21:13 +08:00
Pengfei
781d76bdab
Use destructor to release file handle
...
Instead of relying on writing `file.reset()`s
2021-08-02 00:53:03 +08:00
Pengfei
aed564fb25
Add Legit CIA building
2021-07-31 17:28:00 +08:00
Pengfei
75f79e10d1
Generalize QuickDecryptor
2021-07-31 17:25:56 +08:00
Pengfei
7115c30f76
Fix TMD signature validation
2021-07-31 17:23:33 +08:00
Pengfei
3021cfe5f0
Changes to TMD and CIA builder
...
Prepare for legit CIA.
2021-07-30 17:07:42 +08:00
Pengfei
d14ea03271
Refactor code - Add Signature class
2021-07-30 14:47:53 +08:00
Pengfei
15b1af7dd1
Add signature validation to TMD
2021-07-29 23:27:13 +08:00
Pengfei
502e05dc2b
Add CIABuildType to CIABuilder; Add legit ticket handling
2021-07-29 16:38:41 +08:00
Pengfei
325832f318
Misc changes to ticket, cert and CIA
2021-07-28 00:27:01 +08:00
Pengfei
d8c79c5d2a
Critical bug fix
2021-07-28 00:13:48 +08:00
Pengfei
705dd646dd
Add common keyYs
...
Ideally this should be derived from safe mode firm. However that is complex as we don't have a filesystem like thing, and reading the firm requires some work.
2021-07-27 16:52:43 +08:00
Pengfei
79dfe4fc8b
Add certificate, and certs.db parsing
2021-07-17 00:34:32 +08:00
Pengfei
0c04e31405
Make use of string_util
2021-07-16 22:10:49 +08:00
Pengfei
27988d09e2
Provide arguments
2021-07-16 22:01:25 +08:00
Pengfei
4e619b3621
Beautify code with new macro
2021-07-16 21:59:32 +08:00
Pengfei
55db5f110f
Simplify TitleKeysBin implementation to a simple function
2021-07-16 21:46:10 +08:00
Pengfei
374470cd60
Support SDMC/NAND path redirecting
...
Added inih as an external.
2021-07-15 16:28:33 +08:00
Pengfei
e41151420f
Fix Flatpak user path
2021-07-13 21:55:35 +08:00
Pengfei
d002928a38
Fix LGTM alerts
2021-07-12 12:14:00 +08:00
Pengfei
6fbbae7039
Rework failed task cleanup
...
Now the cleanup of failed tasks (deletion of borked files) is handled by the related task itself, instead of the frontend.
2021-07-12 11:47:42 +08:00
Pengfei
23226b2b37
Properly set crypto flags as GodMode9 does; remove pointless zeroing
2021-07-09 20:32:08 +08:00
Pengfei
b90fb11109
Fixing things again
2021-07-09 20:25:49 +08:00
Pengfei
76b0912a9a
Add proper support for CIA title keys
...
1. Support for `ticket.db`
2. Support for `gm9/support/encTitleKeys.bin`
3. Set the title key and common key index when building standard CIA
2021-07-09 20:08:42 +08:00
Pengfei
3429d9e965
Add in complete Ticket support from Citra
2021-07-07 12:03:06 +08:00
Pengfei
3ade2a382f
Fix macos again
2021-07-06 17:55:55 +08:00
Pengfei
c614131c81
Fix macos build
2021-07-06 17:40:04 +08:00
Pengfei
be5701b7ee
Do not create seeddb when loading it
2021-07-06 16:48:10 +08:00
Pengfei
cb6d58b538
Replace file writes with new helper
2021-07-06 16:42:22 +08:00
Pengfei
c81db424bb
Refactor InnerFAT into Savegame and Extdata
...
And derive TitleDB from it too.
2021-07-06 16:11:03 +08:00
Pengfei
184d73d465
Fix LGTM.com not being able to analyse
2021-07-01 15:46:10 +08:00
Pengfei
3d4d815595
Fix build for outdated compilers on CI
2021-07-01 15:34:09 +08:00
Pengfei
19bc9d0210
Use GodMode9 naming scheme
2021-07-01 15:22:38 +08:00
Pengfei
e2bef4d705
Add support for title.db, and use title.db to augment TMD finding
...
Also added support for system title CIA building, and fixed various minor issues.
Also moved MakeMagic to Common.
2021-07-01 14:13:20 +08:00
Pengfei
857bd12a6f
Fix appveyor artifact
2021-06-28 23:21:05 +08:00
Pengfei
2575e7fdde
Unify ProgressCallbacks to a Common::ProgressCallback
2021-06-28 22:50:16 +08:00
Pengfei
5a4bf7daff
Clean up code a little bit
2021-06-28 22:37:03 +08:00