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
769162e95c
ncch_container: Fix progress report in DecryptToFile
...
The total size should now be correct
2020-08-07 08:55:38 +08:00
zhupengfei
bf3fe550f8
ncch: Fix Secure1 with seed
...
Citra's code was wrong here.
2020-08-06 23:03:19 +08:00
zhupengfei
ac6f95c067
tmd: Changes in preparation for CIA building
2020-08-06 20:34:59 +08:00
zhupengfei
13409503bf
ncch: Fix some issues with DecryptToFile
...
Now have byte-for-byte accuracy against Godmode9
Now uses a file instead of a path
Preliminary work to support non-executable files
2020-08-06 20:34:10 +08:00
zhupengfei
c8f510188c
core/ncch: Add ticket
...
Added structure and fake ticket building (from GodMode9)
2020-08-03 22:47:09 +08:00
zhupengfei
900275bffd
Dump certs.db
...
This is used to build CIAs. Currently only retail certs are supported
2020-08-03 22:47:08 +08:00
zhupengfei
10122a376c
Re-add TMD modification code from Citra
2020-08-02 15:49:07 +08:00
zhupengfei
1f91cbdaec
Use virtual classes instead of templates for file interfaces
...
For convenience.
2020-08-01 09:47:44 +08:00
zhupengfei
d837a07884
Use the older command
2020-06-23 22:43:42 +08:00
zhupengfei
877c4724d8
frontend: Add -no-pie for Linux
2020-06-23 22:07:51 +08:00
zhupengfei
f009574b1e
Fix more clang issues
...
It doesn't seem to like capturing structured bindings, even though they are tuple-like
2020-06-20 23:16:19 +08:00
zhupengfei
e9d7ec7244
Fix compile error
2020-06-20 22:54:24 +08:00
zhupengfei
518c995f38
Fix std::min
2020-06-20 22:37:01 +08:00
zhupengfei
ce104eb38f
Fix strerror_r thingy
2020-06-20 22:27:13 +08:00
zhupengfei
ac8a5f447e
Add experimental support for linux and macos releases
2020-06-19 23:12:21 +08:00
zhupengfei
9e4a2931c4
Revert "Try move static to the project scope"
...
This reverts commit afc7a2cbe0 .
2020-05-17 09:32:37 +08:00
zhupengfei
afc7a2cbe0
Try move static to the project scope
2020-05-17 08:17:12 +08:00
zhupengfei
47df56ea36
Try add LTO
2020-05-16 19:50:08 +08:00
zhupengfei
ebab1c433b
Try to work around mingw issues
2020-05-16 19:39:25 +08:00
zhupengfei
4e290ba289
Remove unused include
2020-05-16 19:11:14 +08:00
zhupengfei
57a1245e2a
Add proper error handling for memcpy
2020-05-16 19:09:50 +08:00
zhupengfei
6be3fca2de
Add ETA support
2020-05-16 17:53:19 +08:00
zhupengfei
bae5fda423
Improve UI display
2020-05-16 15:54:22 +08:00
zhupengfei
1c28fff725
Improve error handling.
...
Do not cancel the entire process when an error occurs. Instead, return a list of failed contents.
2020-05-16 15:13:52 +08:00
zhupengfei
4391845185
Fix linux CI
2020-05-15 23:11:26 +08:00
zhupengfei
5d008fc952
Add version check
2020-05-15 23:08:59 +08:00
zhupengfei
2fbdaaac30
Fix up import destination indicator
2020-05-15 22:47:18 +08:00
zhupengfei
450cef3fca
Added a fallback title based on codeset info
2020-05-15 22:34:39 +08:00
zhupengfei
1415235a13
Added an 'hos' icon (to be improved)
2020-05-15 22:22:36 +08:00
zhupengfei
b19803c4d3
Add support for system titles
2020-05-14 23:14:59 +08:00
zhupengfei
24bdf0a156
core, frontend: Add 'Dump CXI file' option
...
Right click on an application in the Select Contents dialog.
2020-05-02 00:06:46 +08:00
zhupengfei
2c4dd84d49
Correctly load seeds
2020-05-01 15:05:01 +08:00
zhupengfei
f60fc572be
Code cleanup
...
Replacing macros with lambdas
2020-05-01 13:31:55 +08:00
zhupengfei
c6d561d4ed
core: Add slot0x18KeyX and slot0x1BKeyX
2020-05-01 13:24:34 +08:00
zhupengfei
0f7ebef23f
Fixed a crash
2020-05-01 13:11:10 +08:00
zhupengfei
c27589ce53
core: Add DecryptToFile in NCCHContainer
2020-05-01 11:59:24 +08:00
zhupengfei
b5b2fa32cb
core/ncch: Add back secondary key derivation from Citra
...
Along with RomFS CTR, etc.
2020-04-30 20:03:54 +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
Pengfei Zhu
576053d995
Fix compilation
2020-04-22 23:27:41 +08:00
Pengfei Zhu
142ce6b837
Fix typo
2020-04-22 23:24:01 +08:00
Pengfei Zhu
d6d04d9930
Remove unused variables warning
2020-04-22 23:19:48 +08:00
zhupengfei
8beac71fb0
Fix implementation for GetLastErrorMsg
2020-04-22 23:09:36 +08:00
zhupengfei
6068eda710
Remove pedantic
...
as we are using non-standard macro behaviour
2020-04-22 22:59:31 +08:00
zhupengfei
11e728ac4e
Fix linux compilation
2020-04-22 22:18:25 +08:00
zhupengfei
fa7aecaf37
Add import destination indicator
2020-04-18 23:58:03 +08:00
zhupengfei
376012e95e
Fixed minor UI errors
2020-04-18 23:35:16 +08:00
zhupengfei
6b7faf2c05
core: Add support for proper SeedDB import
...
This now merges the SeedDB to import with the one already existing
2020-04-18 23:34:51 +08:00
zhupengfei
b2c63e87eb
frontend: Main dialog update
2020-01-22 10:29:36 +08:00