Commit Graph

119 Commits

Author SHA1 Message Date
zhupengfei 87fd41076b frontend: Minor text improvements 2020-11-28 15:53:30 +08:00
zhupengfei 2688a6ef61 Move System Applets into a new category and deselect by default
As they are known to cause problems with Mii Maker and games like Tomodachi Life.
2020-11-28 15:39:59 +08:00
zhupengfei e238015e82 import_dialog: Fix Qt weirdty with ProgressDialog
Hopefully fixes #11

There are times when file writes can be *really* fast (for instance if you just deleted the same file). With modal progress dialogs, Qt call processEvents on setValue. If the operation is done too fast, a new signal would have arrived by this time. This can lead to stack overflow caused by overly deep recursion.
2020-08-27 00:52:35 +08:00
zhupengfei b06440aefb Fix some LGTM alerts 2020-08-07 16:03:22 +08:00
zhupengfei 7c0dc35cab Dump ticket.db
In case we need it later
2020-08-07 13:56:33 +08:00
zhupengfei 0c2e034fac Minor UI fixes 2020-08-07 12:35:56 +08:00
zhupengfei 66b09ffa27 A bunch of fixes to CIA building
1. Clean stale state
2. DLC CIAs
3. Build content index for ticket better
2020-08-07 12:28:47 +08:00
zhupengfei 26b6aee5ca Add LGTM static analyzer config file 2020-08-07 09:02:03 +08:00
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 e861d84b72 Fix macos dist folder 2020-06-24 16:13:53 +08:00
zhupengfei 562ef5a3ed Set deployment to tags only 2020-06-24 16:01:21 +08:00
zhupengfei f0d0552139 Updates to the deploy scripts
Only push 7z files (to reduce confusion)
Use tag name when possible
2020-06-24 15:38:29 +08:00
zhupengfei 732695f456 Properly set date and rev 2020-06-23 23:19:42 +08:00
zhupengfei 0323749718 Configure appveyor deploy 2020-06-23 23:11:18 +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 1b8b66521f Fix framework linking 2020-06-20 23:38:07 +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 5bfe180348 Fix zlib as well 2020-05-17 10:52:16 +08:00
zhupengfei d1ca2faf37 Hack another time 2020-05-17 10:08:59 +08:00
zhupengfei 908485a714 Try again 2020-05-17 09:34:16 +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 2f23efd2ad Fix static link 2020-05-17 08:52:28 +08:00
zhupengfei afc7a2cbe0 Try move static to the project scope 2020-05-17 08:17:12 +08:00
zhupengfei 87603d5d50 LTO isn't working for windows 2020-05-16 20:54:38 +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