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
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
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
c43833146a
[core] Subtract reusable size from required disk space
...
Fixes #362
2021-10-29 17:30:16 +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
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
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
841db6bcb6
[core] Add "asset_available" helper function
2021-10-16 18:59:18 +02:00
derrod
e6bb64f16f
[core] Only delete files that are actually installed (based on tags)
2021-10-12 15:24:49 +02:00
derrod
0bc543518c
[core] Properly construct Origin launch URI
2021-10-10 12:30:25 +02:00
derrod
74bc2fecc0
[core] Check if base path exists, add failure condition if it doesn't
2021-10-10 08:36:36 +02:00
derrod
aafba86a94
[core] Validate session expiry time before skipping login
2021-10-08 10:36:32 +02:00
derrod
9471ca41e1
[core] Do not check egstore folder for DLC
2021-10-08 10:17:15 +02:00
derrod
b3b5470947
[core] Make auth() return immediately if already logged in
2021-10-08 10:15:07 +02:00
derrod
b857967dfa
[cli/core] Add WebView killswitch to Legendary update data
...
In case epic breaks it, this at least lets us disable it remotely.
2021-10-07 05:20:08 +02:00
derrod
c4695d2b99
[cli/models/lfs] Clean up some old code/comments
2021-10-05 09:22:17 +02:00
derrod
8460fdfd2a
[cli/core/lfs] Add support for trying multiple encryption keys
...
Should Epic change the key used for EGL in the future we want to
be backwards-compatible to existing (outdated) EGL installs as well
as new ones without having to push out a new release.
Also forces updating of version data before attempting the import to
get the latest key(s) and adds a log message when auth data is deleted.
2021-10-05 07:34:52 +02:00
derrod
638578283b
[core/utils/lfs] Fix auth import with now encrypted EGL user data
...
It took way too long to find the key.
It's not even hidden, I'm just dumb.
2021-10-04 09:26:44 +02:00
derrod
e7ce2e5cb7
[core] Force-refresh aliases when fetching games without assets
2021-10-02 21:21:46 +02:00
derrod
0d8b74a9e0
[cli/core/utils/lfs] Add automatic alias generation
2021-10-02 21:10:25 +02:00
derrod
7509550eb1
[cli/core] Add option to force refresh game metadata
2021-09-28 05:56:19 +02:00
derrod
a1993eb568
[core] Refactor getting wine/wrapper launch command into its own function
2021-09-28 05:21:16 +02:00
derrod
b5d4224664
[cli/core] Only return legendary-defined environment variables
2021-09-28 05:07:06 +02:00
derrod
888d62a96d
[cli/core/models] Refactor launch parameters and add --json option
...
Primarily intended to make it easier for third-party applications
(mainly Heroic) to handle launch options on their own by simply
taking the necessary information from legendary and ignoring
user-defined stuff.
Also useful for debugging.
2021-09-28 04:06:54 +02:00
derrod
ee2432c443
[cli/core/lfs] Allow specifying custom config file
2021-09-28 03:07:15 +02:00
derrod
e881e42d5f
[core] Save non-install game metadata
2021-09-18 20:02:52 +02:00
derrod
fbd0df1ecc
[cli/core] Include DLCs in installed games list
...
This should be replaced later on by including information
about the main game in the InstalledGame metadata.
2021-09-10 20:30:53 +02:00
derrod
6b4cf6558b
[core] Warn if parsing manifest-defined launch parameters fails
2021-09-09 09:55:48 +02:00
derrod
0bf7110653
[core] Move getting env vars to separate method
2021-09-08 10:37:40 +02:00
derrod
b12798e6b0
[cli/core/lfs/utils] Fetch SDL data from API
2021-09-05 09:41:54 +02:00
derrod
791bc77c7c
[core/lfs] Enable update notification for PyInstaller on Linux
2021-09-05 00:49:11 +02:00
derrod
5a8de3a3bc
[core/utils] Update auth EGL version and game workarounds from API
2021-09-03 23:20:17 +02:00
derrod
ba6ec3ecca
[cli/core] Add option to launch games via Origin (Windows only)
2021-09-03 22:59:47 +02:00
derrod
315bdfb4a4
[cli/core/lfs] Enable update check by default, make notice optional
...
This will allow legendary to force checking for updates in critical
situations where it may be required. Also enables updating configuration
data on Linux by default.
2021-09-03 20:10:30 +02:00
derrod
d3026672d1
[core] Fix for epic authentication API changes
2021-09-03 19:16:37 +02:00
derrod
a465966954
[api/cli/core/lfs] Add Legendary update check
2021-09-02 19:31:04 +02:00
derrod
4d5539c889
[cli/utils] Automatically create missing config sections
2021-09-02 19:31:04 +02:00
derrod
f78674b3ed
[core] Formatting and type hint fixes
2021-09-01 15:29:25 +02:00
derrod
a80244ed37
[cli/core] Add flag to show non-installable games/DLCs
...
This primarily means titles that have to be activated on external stores
such as Battlefront II which has to be installed via Origin.
Addresses half of #202
2021-09-01 15:28:25 +02:00