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
derrod
7ff16aad44
[core/downloader] Move downloader to new sub-package
...
Preparing to add a new AIO based downloader
2021-08-14 05:12:10 +02:00
derrod
d86039dd9b
[cli/core] Add option to disable HTTPS for downloads
...
The EGS client does not use HTTPS for downloads in order to facilitate
the use of tools such as LanCache that use DNS based CDN redirection.
Legendary should be usable in such an environment as well,
but HTTPS will remain on by default.
See: https://lancache.net/news/2019/06/15/steamcache-is-rebranding-to-lancachenet/
2021-08-09 11:31:03 +02:00
derrod
1760c34703
[cli/core] Add option for preferred CDN host
...
Allows a user to specify a preferred CDN via config or command line.
Also changes selection process to match EGS client
(no random selection anymore).
2021-08-09 11:17:15 +02:00
derrod
bb3d6f9348
[core/utils] Improve minimum disk space calculation when updating
2021-06-17 15:00:34 +02:00
derrod
a2280edea8
[cli/core] Add option to override launch executable
2021-01-10 14:24:06 +01:00
derrod
ee3b3fb9fe
Fix various typos and some style complaints
...
Closes #175
2021-01-02 06:53:21 +01:00
derrod
3c71229b7e
[core] Fix missing {} around KnownFolders GUID
2020-12-26 22:01:30 +01:00
derrod
104b928e3a
[core] Increase default shared memory to 2048 MiB
...
This should still be reasonable for most machines people are going to run games on,
and means no manual increases are required for every game it has been previously
needed for.
2020-12-18 17:26:51 +01:00
derrod
1a015a3ba7
[core] Only attempt to delete untagged files that exist
2020-12-18 17:01:52 +01:00
derrod
1cec4c6cb0
[core] Add method to remove untagged files
2020-12-17 15:25:01 +01:00
derrod
86ea066e8d
[core] Save install tags to InstalledGame
2020-12-17 15:23:06 +01:00
derrod
cff8abd0da
[core] Import/Export install tags to EGL
2020-12-17 15:23:05 +01:00