Commit Graph

67 Commits

Author SHA1 Message Date
Pengfei 5fad7c0243 Remove IsNandTitle 2021-08-27 12:11:00 +08:00
Pengfei 035c71bfe9 Decouple core and frontend further
1. Unified titles & nand titles in the backend
2. Moved Application/Update/DLC and Title/Applet distinction to frontend
3. Merged System Save/Extra into System Data
4. Restore the special icon to System Archives
2021-08-26 22:31:18 +08:00
Pengfei c4e4966598 Separate NandSavegame/Extdata
Pending further UI changes
2021-08-26 15:08:17 +08:00
Pengfei ef3063c7ab Removed special case handling for config savegame 2021-08-25 21:56:39 +08:00
Pengfei 6cadb86071 Removed special case handling for system archives & safe mode firm 2021-08-25 21:51:27 +08:00
Pengfei 8bcaa0b711 Normalize line endings that got messed up for whatever reason 2021-08-24 18:49:11 +08:00
Pengfei adb4325d79 Add a rate limiter to Qt's progress dialog
To work around a macOS specific issue where theh progress bar is not updated. With this the previous workaround for other OSes also isn't needed.
2021-08-24 17:31:15 +08:00
Pengfei a30dfd7e34 Keep trying to fix things... 2021-08-18 17:30:30 +08:00
Pengfei b7b5e41908 Simplify code and trying to fix things on macos 2021-08-18 11:36:11 +08:00
Pengfei 16e41c8fd4 UI fixes 2021-08-18 11:17:10 +08:00
Pengfei 61eb960c0e Fixes to ImportDialog
1. Fixed size sorting
2. Added size & exists display to top level titles in title view
2021-08-18 10:20:02 +08:00
Pengfei b7d017f921 Fix build 2021-08-17 17:31:44 +08:00
Pengfei fa00d49fe6 Use checkable tree widget items (instead of doing everything ourselves) 2021-08-17 17:24:25 +08:00
Pengfei 0cf7e8a84a Really properly be per-monitor DPI aware
This is so hard...
2021-08-17 00:30:08 +08:00
Pengfei b25c40302f Remove context help from all dialogs 2021-08-09 19:04:44 +08:00
Pengfei 9fbdf6f529 Reorganize code 2021-08-09 16:34:03 +08:00
Pengfei f22ecacb7c Sth more 2021-08-09 11:01:24 +08:00
Pengfei 6013879213 Removed 'Encryption' column 2021-08-09 10:53:37 +08:00
Pengfei 09f3f46515 Add more content type traits 2021-08-09 10:41:49 +08:00
Pengfei d0da439731 Implement contents check 2021-08-09 00:42:45 +08:00
Pengfei 3d68baf55c Preliminary work for a title info dialog
pending DRY fixes, etc
2021-08-08 15:52:00 +08:00
Pengfei e4612770a5 More unused variables 2021-08-08 09:05:43 +08:00
Pengfei d27adc8fc9 small UI text improvement 2021-08-08 09:04:23 +08:00
Pengfei ec176e4fdf Fix unused variable 2021-08-07 14:32:50 +08:00
Pengfei ed8d6a1a82 Add support for system applets 2021-08-07 01:00:39 +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 1f0a969cb7 Add CIABuildDialog 2021-08-04 00:35:01 +08:00
Pengfei aed564fb25 Add Legit CIA building 2021-07-31 17:28:00 +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 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