Commit Graph

28 Commits

Author SHA1 Message Date
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 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 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 c81db424bb Refactor InnerFAT into Savegame and Extdata
And derive TitleDB from it too.
2021-07-06 16:11:03 +08:00
Pengfei 3d4d815595 Fix build for outdated compilers on CI 2021-07-01 15:34:09 +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 3d3b51bb98 Enable C++20 and re-enable MSVC build
Also switched to standard-conforming __VA_OPT__ for logging.
2021-06-26 17:37:05 +08:00
zhupengfei 5c595a8046 Add IOFile::GetData 2020-11-28 20:12:24 +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 1f91cbdaec Use virtual classes instead of templates for file interfaces
For convenience.
2020-08-01 09:47:44 +08:00
zhupengfei ce104eb38f Fix strerror_r thingy 2020-06-20 22:27:13 +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 2fbdaaac30 Fix up import destination indicator 2020-05-15 22:47:18 +08:00
zhupengfei 8beac71fb0 Fix implementation for GetLastErrorMsg 2020-04-22 23:09:36 +08:00
zhupengfei 895cbb272c Add in NCCH, TMD and SMDH from Citra (to get game title) 2019-09-27 22:11:27 +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 ccffd51904 Update logging system
- Update to fmt 6.0.0
- Updated logging system to be macro based
- Fixed a bug with including
2019-09-05 23:05:16 +08:00
zhupengfei 7941811fd8 file_util: Fix multiple definition error for mingw static 2019-08-31 23:29:06 +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
zhupengfei 7df0b63a1e updates
- implemented frontend
- namespaced Core
- imported qdevicewatcher
- fixed bug in logging (more like in misc)
2019-08-28 19:16:05 +08:00
zhupengfei fd5106759a build system updates and other fixes
add preset config
import qt
separate core and frontend
2019-08-28 11:43:44 +08:00
zhupengfei d612b9cf37 misc changes
- Add dumper script
- Fill importer code
- other fixes
2019-08-26 23:20:02 +08:00
zhupengfei 4f5a3effd8 Initial commit 2019-08-24 23:30:22 +08:00