Commit Graph

38 Commits

Author SHA1 Message Date
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 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 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
Pengfei 974363b0d9 Added 'Advanced...' menu with batch dumping cxi/cia 2021-06-28 22:17:28 +08:00
Pengfei dac4b1cb41 Rename ImportJob to MultiJob and generalize 2021-06-28 00:26:32 +08:00
Pengfei 817c3ea1a8 Rename ProgressiveJob to SimpleJob
Because I had to.
2021-06-28 00:26:32 +08:00
Pengfei 3db1c43fd6 Changes to accommodate for high DPI
Not sure how this will work on Linux or macOS.
2021-06-27 18:46:08 +08:00
zhupengfei e6d67f3aee Fix build 2020-11-28 23:11:10 +08:00
zhupengfei 47a98faa6f Fix a potential bug in ProgressiveJob 2020-11-28 20:26:52 +08:00
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 0c2e034fac Minor UI fixes 2020-08-07 12:35:56 +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 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 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 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 11e728ac4e Fix linux compilation 2020-04-22 22:18:25 +08:00
zhupengfei 376012e95e Fixed minor UI errors 2020-04-18 23:35:16 +08:00
zhupengfei eee82fcd5c frontend: Added icons for everything except titlebar 2020-01-20 00:22:31 +08:00
zhupengfei 94b9ec028b Display title icon; display title icon and names for save/extdata in group mode 2020-01-17 12:10:44 +08:00
zhupengfei 0708744a17 Added encryption scheme display. 2020-01-17 10:10:58 +08:00
zhupengfei 58f903f80f import_dialog: UI improvements
1. A warning regarding system data and system archives are added
2. Disable button when nothing is selected
2019-10-02 16:16:49 +08:00
zhupengfei 5d675d605a Add system archives import 2019-10-02 16:00:32 +08:00
zhupengfei 9f9d1d85db frontend: Allow selection of views 2019-09-28 23:03:06 +08:00
zhupengfei 479dd327df core, frontend: Group contents by title / game instead of category
I may look to introduce a option to select in the future
2019-09-27 23:33: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
zhupengfei 4ec0fcf9d8 Fix missing include 2019-08-30 22:11:38 +08:00
zhupengfei 67e6b05e87 lots of important fixes
- DPFS container is fixed
- SD Savegame is fixed
- added slot0x25KeyX load
- added regex for titile ID
- added aes_keys.txt import
- sd savegame listing is fixed (uninitialized won't be listed any more)
- error handling is improved (removed asserts and replaced with return values)
- UI is now functional
- config is now checked in main
2019-08-30 15:33:47 +08:00
zhupengfei 8acfe9f304 UI updates
- add import dialog
  this is more complex than I thought
- added scope exit
  grammar sugar
- main dialog is now linked to import dialog
- importer citra file path is fixed
- importer now reports maximum size
- file util is improved with GetDirectoryTreeSize
2019-08-28 23:02:30 +08:00