Margen67
5bb89328d0
Remove whitespace
2023-02-15 08:58:02 +01:00
Megamouse
13ef4c1236
Clarify unknown type log message
2023-02-05 09:36:56 +01:00
Megamouse
68dd25a4a5
Replace std::filesystem::u8path with TODO
2023-02-05 09:36:56 +01:00
Megamouse
2372116acc
Improve logging during package installations
2023-02-05 09:36:56 +01:00
Megamouse
12fa7c41f6
Qt: more package install fixes
...
- Clean directories if fill_path fails
- Fix check_target_app_version when installing multiple packages (compromise: no more optimized singular file installs for now)
2023-01-11 19:26:13 +01:00
Megamouse
fc85ed8730
Qt: fix some package install cancellation issues
...
- Abort installation if any thread has errors
- Only clean the directories of packages that actually had errors
- Additionally clean the directories of packages that were cancelled before they could finish
- Clear boot path in case of error or cancelation
- Propagate result to caller
- Skip success message if the installation was canceled
2023-01-11 19:26:13 +01:00
Megamouse
65f10ff840
package_reader: fix some warnings
2023-01-11 19:26:13 +01:00
Elad Ashkenazi
7c2d6f8a23
PKG: Pack multiple PKGs into fast+efficient install ( #13147 )
2023-01-03 15:31:39 +03:00
Elad Ashkenazi
3250c16cdc
Restrict package installation to 1 thread
...
It is possible that a package contains the same file multiple times.
This leads to possible corruption or installation failure when they are extracted on different threads.
(easy to reproduce with DeS)
2022-12-30 21:10:23 +01:00
Eladash
02f35383bd
PKG: Implement Multi-threaded installation
2022-12-30 17:48:14 +03:00
Eladash
1d5fef4930
PKG: Create directories first
2022-12-30 17:48:14 +03:00
Elad Ashkenazi
dd8ec8f09e
PKG install hotfix
2022-12-30 17:48:14 +03:00
Eladash
0d126afb1f
PKG: Ask to user if he wants to install game shortcut on PKG installation
2022-12-09 12:20:57 +03:00
Megamouse
5dbadccd7f
Log PSF path on error
2022-11-27 22:07:15 +01:00
RipleyTom
8b6f68abcf
fix: parsing bug in read_metadata
2022-05-29 22:36:30 +02:00
Eladash
63f16d7a46
GUI Utilities: Implement PS3 SDAT/EDAT decryption
2021-10-02 11:29:01 +02:00
Eladash
65e9388f00
Update unpkg.cpp
2021-09-30 21:33:28 +03:00
Eladash
056d43eca7
PKG: Simplify files management
2021-09-30 20:48:47 +03:00
AniLeo
1f8f428a59
unpkg: Don't append title ID to license packages
2021-09-18 18:20:55 +01:00
Eladash
3e84a2acc0
PKG: Implement SDATA decryption
2021-09-17 22:15:48 +02:00
Eladash
77c252a4c0
PKG: Debugging messages
2021-09-17 22:15:48 +02:00
Megamouse
1caf81811a
Move unspecific Emulator code out of System.cpp
2021-04-24 11:21:22 +03:00
Megamouse
a16d8ba3ea
More random changes
2021-04-11 14:01:51 +03:00
Megamouse
4d50d9daa4
unpkg: add missing break and some cleanup
2021-01-12 14:13:15 +01:00
Megamouse
ccec6e53c0
Rename package_reader member variables
2021-01-12 14:13:15 +01:00
Megamouse
68d411918d
Read patchsets from compat db
2021-01-12 14:13:15 +01:00
Nekotekina
fb29933d3d
Add usz alias for std::size_t
2020-12-18 12:23:53 +03:00
Nekotekina
36c8654fb8
Remove HERE macro
...
Some cleanup.
Add location to some functions.
2020-12-10 12:30:22 +03:00
RipleyTom
af8c661a64
Remove BOM markers
2020-12-06 15:30:12 +03:00
Eladash
edc09e22b4
PSF: Avoid redundent string copies in psf::array/string/get_string ( #8707 )
2020-08-21 23:55:17 +01:00
Megamouse
fa81146b79
Use proper install paths depending on pkg content
2020-06-29 10:36:24 +02:00
Megamouse
b923eb058a
Crypto: read sfo in memory instead of tmp file
2020-04-25 15:17:17 +02:00
Megamouse
773448a8f6
Crypto/Qt: check target app version for packages
2020-04-25 15:17:17 +02:00
Megamouse
2094e52d7d
Crypto: add another file type for PSVita
2020-04-18 19:11:53 +02:00
Megamouse
5657363642
Crypto: move PSVita keys to key vault
2020-04-18 19:11:53 +02:00
Megamouse
d35a29bbe4
Crypto: PSVita metadata and missing entry type
2020-04-18 19:11:53 +02:00
Megamouse
22d01e4d05
Crypto: interpret metadata versions
2020-04-18 19:11:53 +02:00
Megamouse
1762324702
Crypto: fix metadata variable names
...
header_size was just wrong, on PS3 games it just happens to match the meta offset, which is half of data_offset
PS3: meta_offset + meta_size = data_offset
PSP: meta_offset + meta_size = metadata_header_hmac_offset
PSP: metadata_header_hmac_offset + ext_data_size = data_offset
2020-04-18 19:11:53 +02:00
Megamouse
e4b6de409a
Crypto: fix magical type
2020-04-18 19:11:53 +02:00
Megamouse
3a6bda4d93
Crypto: read and log PSP and PSVita headers
2020-04-18 19:11:53 +02:00
Megamouse
3b9dc29781
Crypto: add log verbosity to pkg installations
...
also enables installation with one more filetype
2020-04-18 19:11:53 +02:00
Nekotekina
771eff273b
First part of fixing sign-compare warning (inside be_t).
2020-02-19 22:54:58 +03:00
Nekotekina
f08c778d2c
Use more starts_with/ends_with.
...
Remove ends_with global func.
2020-02-18 14:53:23 +03:00
clienthax
a08ed0d22e
Fix #7445
2020-02-16 17:09:32 +03:00
Nekotekina
3c0bd821c8
Give log channels fancier names
...
Improve LOG_CHANNEL macro to accept custom name.
2020-02-01 10:43:43 +03:00
Nekotekina
3eca2d5d6c
Remove legacy LOADER log channel
2020-02-01 07:49:38 +03:00
Megamouse
8ef69429d8
Add early out to pkg_install
2020-01-30 18:21:18 +01:00
Silent
b591633cb9
Fail pkg_install if any files fail to be created
...
This could happen if eg. paths are too long or some files
could not be overwritten. Until now, installation happily
reported success regardless.
2019-12-31 19:24:19 +03:00
Nekotekina
ad9c9f0183
C-style cast cleanup II
2019-11-30 18:17:45 +03:00
Silent
f5d8110ead
Create emulator directories after changing dev_*** directories ( #6707 )
...
* Make pkg_install create path to the game recursively
* Create emulator directories after changing dev_*** dir paths
2019-10-05 16:23:12 +03:00