Commit graph

846 commits

Author SHA1 Message Date
derrod 42aae4eccf [core] Do not show locale error on macOS 2021-12-01 21:59:53 +01:00
derrod f00d23c8c4 [core] Cleanup imports 2021-12-01 21:58:56 +01:00
derrod 0fb3d39a0a [core] Check if game is not-None before updating asset info 2021-12-01 21:38:44 +01:00
derrod c83bf7218c [core] Remove remaining hardcoded platform strings 2021-12-01 21:30:41 +01:00
derrod 24832ea074 [cli] Add --platform to import 2021-12-01 21:30:15 +01:00
derrod 8c56bd93d5 [core/lfs] Include platform in saved manifest name 2021-12-01 21:26:21 +01:00
derrod 081cca2c19 [core] Check all platforms for metadata prune 2021-12-01 21:20:11 +01:00
derrod de24ee8157 [cli] Do not crash if DLC is missing metadata for some reason
Fixes #371
2021-12-01 21:19:40 +01:00
derrod 0d1592266b [cli] Set platform argument default 2021-12-01 21:06:39 +01:00
derrod e8207d53cd [cli/core] Ensure update checks use the right platform(s) 2021-12-01 21:02:38 +01:00
derrod f280d53496 [cli/core/lfs] Add support for mixing platforms 2021-12-01 20:57:43 +01:00
derrod ee3f9a3e07 [models] Migrate app info to dataclasses, split platforms 2021-12-01 20:46:10 +01:00
derrod d0d37c40e7 [models/downloader] Add task flag to make file executable 2021-12-01 20:45:17 +01:00
derrod c9f9d38f1b [doc] Further improvements/fixes to Kaitai Struct file 2021-11-24 21:49:29 +01:00
derrod 8d4cf943c7 [doc] Fix Katai definition and retain "unknown" data 2021-11-24 18:44:11 +01:00
derrod 0523ecfe28 [doc] Add Kaitai Struct file for binary UE Manifests 2021-11-24 17:04:30 +01:00
derrod 95e76b0624 .github: Do not build universal binaries for now
For some reason this now fails, so just go with x86 for now.
Probably not a huge issue anywayDo not build universal binaries for now
2021-10-31 14:35:49 +01:00
derrod 73b1dc1825 .github: Use "fail-fast" correctly
I have no idea why macOS started failing. It doesn't make any sense. I
guess it's probably due to the image being updated. Re-running older
runs still seems fine so I really have no clue.

For now let's just ignore it, we don't support macOS anyway.
2021-10-29 17:45:35 +02:00
derrod c43833146a [core] Subtract reusable size from required disk space
Fixes #362
2021-10-29 17:30:16 +02:00
derrod 19ba9a45f7 .github: Don't fail all builds if macOS is being a dunce 2021-10-29 16:48:04 +02:00
derrod 926e89c89a [models] Explicitly specify serialisation version
Newer features may not be supported, so don't use the (potentially unsupported)
ones we read from the input.
2021-10-29 14:27:15 +02:00
derrod 3145fdb534 [models] Make manifest deserializer skip unknown data instead of failing 2021-10-29 14:19:52 +02:00
derrod eacb8eb006 [models] Add tentative support for new file manifest fields
Why on earth would anybody want MD5 hashes?
2021-10-29 14:04:17 +02:00
derrod b27879f21f Bump version 2021-10-29 12:43:00 +02:00
derrod 22b9c5c932 [models] Skip over unknown data in manifest 2021-10-29 12:40:18 +02:00
derrod d8cd885542 .github: Do not include pywebview on macOS
Doesn't work (yet)
2021-10-28 14:25:47 +02:00
derrod 8d47b4b2af .github: Attempt to build universal binaries for macOS 2021-10-28 11:18:12 +02:00
derrod 42d737a301 .github: Try macos-11 and python3.9 and hope for the best 2021-10-28 11:08:42 +02:00
derrod 33ad64f0a4 [core] Only fail if absolutely no base-url can be found
Overrides without a known base-url should work.
2021-10-28 10:34:28 +02:00
derrod b89579e3be .github: Go back to python 3.8 for now 2021-10-28 10:27:15 +02:00
derrod 1850a8491f .github: Build macOS binary and enable optimisations 2021-10-28 10:22:36 +02:00
derrod 07415d944c Bump version 2021-10-22 04:37:34 +02:00
derrod d14ba92c9b Update README 2021-10-22 04:37:22 +02:00
derrod aaf7e0934f [core/utils] Attempt to find save path case-insensitively 2021-10-22 04:29:39 +02:00
derrod 106ed16a49 [cli/core] Do not delete merely incomplete saves unless user says so 2021-10-21 14:27:08 +02:00
derrod 658cc94dbe [core] Include app name in clean-saves command for specific game 2021-10-21 14:11:53 +02:00
derrod 8181f9faeb [core] Log number of deleted files (if any) 2021-10-21 14:10:14 +02:00
derrod 964ee08d05 [core] Add references to "clean-saves" in error message 2021-10-21 13:28:33 +02:00
derrod 355b1107e6 [cli/core] Add "clean-saves" command to remove obsolete/broken cloud save data 2021-10-21 13:26:36 +02:00
derrod 85a275950d [core] Show warnings and error out if save data is corrupted 2021-10-21 13:26:00 +02:00
derrod d5ec14b556 [core] Fix resolving "{AppData}" in save path
Why did they decide that {AppData} should match to %LOCALAPPDATA%?
2021-10-21 12:15:44 +02:00
derrod 2146a45104 [cli] Explicitly set CSV/TSV line terminator
Fixes #358
2021-10-21 11:39:11 +02:00
derrod 856c5ef2ee [cli] Abort install if game is managed by third party store 2021-10-16 19:47:19 +02:00
derrod 0ef916e9c5 [cli/lfs] Prune game metadata that's no longer needed 2021-10-16 19:44:48 +02:00
derrod 8c002a76e0 [cli/core] Replace old manual game store query with new property 2021-10-16 19:44:15 +02:00
derrod 9462aa331f [models] Add "third_party_store" property to Game 2021-10-16 19:42:47 +02:00
derrod 7f53746ee6 [cli] Show note when no game information is available 2021-10-16 19:33:59 +02:00
derrod b57735abf3 [core] Show warning in "info" if game asset is unavailable
Also disable manifest download as that will probably fail.
2021-10-16 18:59:54 +02:00
derrod 841db6bcb6 [core] Add "asset_available" helper function 2021-10-16 18:59:18 +02:00
derrod fa9e650ea1 [cli] Ensure "info" JSON output items are null if empty 2021-10-16 18:58:20 +02:00