Commit graph

251 commits

Author SHA1 Message Date
derrod 211f65c4c6 [core/downloader/api] Update User-Agents 2020-05-31 02:37:37 +02:00
derrod c137affb92 Version 0.0.17 2020-05-31 02:04:53 +02:00
derrod 3063f02db3 [cli/core] Implement newer Epic authentication scheme
Fixes #52
2020-05-31 02:01:50 +02:00
derrod 1531177d8d [cli/README] Various changes to help texts 2020-05-30 22:56:20 +02:00
derrod 2309c4f428 Bump to 0.0.16 2020-05-30 22:32:07 +02:00
derrod 10cf1f7c00 [lfs] Ensure "Legendary" config section exists
Fixes #50
2020-05-30 21:15:13 +02:00
derrod d03701b3f7 [cli] Run sync even if users selects to not setup auto sync 2020-05-30 02:56:05 +02:00
derrod fb2af2b17a [core] Add more debug logging 2020-05-30 02:40:58 +02:00
derrod 3b5fc04829 [core] Keep EGL GUID when updating 2020-05-30 02:40:48 +02:00
derrod b601895536 Version 0.0.15 2020-05-30 01:30:09 +02:00
derrod 0b257e16dd [cli] Make sure -y works for egl-sync 2020-05-30 01:10:11 +02:00
derrod 918841a743 [cli] Add --yes alias for -y 2020-05-30 01:09:53 +02:00
derrod 028c2ca4e0 [cli] Add --egl-wine-prefix parameter for egl-sync setup 2020-05-30 01:07:45 +02:00
derrod a488d32502 [core] Fix game path on linux (\ vs /) 2020-05-30 00:49:48 +02:00
derrod 9dbc57ece7 [core] Abort export if manifest cannot be loaded 2020-05-30 00:49:30 +02:00
derrod 3380671b74 [core] Avoid recursion in egs_sync 2020-05-30 00:49:10 +02:00
derrod 0610b07bf3 [core] Do not attempt to fetch metadata if update_assets is not set 2020-05-30 00:48:54 +02:00
derrod d3c2769014 [core] Adjust game path when importing from EGL in WINE 2020-05-30 00:25:54 +02:00
derrod 9b545a82a8 [core] Fix egl_uninstall missing exception handling 2020-05-30 00:17:06 +02:00
derrod 9231df9d44 [cli] Improve Lutris EGS detection and ask user before using it 2020-05-30 00:16:25 +02:00
derrod 5dac4d51f8 [cli] Add --unlink parameter for egs-sync to remove syncing 2020-05-30 00:11:21 +02:00
derrod 867a661c9d [core] Also remove egl programdata path from config if invalid 2020-05-30 00:10:50 +02:00
derrod 7cb2717589 [models] Fix needs_verification being null 2020-05-30 00:05:03 +02:00
derrod 99485da7d8 [core] Reset EGL path if it is invalid 2020-05-29 23:53:07 +02:00
derrod b027bade1c [cli] Create EGL Manifest directory if parent exists. 2020-05-29 23:43:04 +02:00
derrod df566bb28f [cli] Use prompt helper for all y/n prompts 2020-05-29 23:09:21 +02:00
derrod 82f5adfaa4 [cli] Add egl-sync command 2020-05-29 23:09:02 +02:00
derrod 0b220cd19a [core] Add Epic Games Launcher import/export functionality
May contain bugs, right now it works but there are a few
hacks in there to deal with synchronization that may come
to bite me in the ass later.
2020-05-29 23:07:58 +02:00
derrod 70c559a7f9 [models] Always mark games as non-DLC and rename method
This will need to change if DLC support is ever added.
2020-05-29 23:07:00 +02:00
derrod e8a2df75fd [models] deepcopy EGLManifest input data 2020-05-29 23:06:15 +02:00
derrod 4ace27bbcc [lfs] Fix JSON writing and add delete_manifest method 2020-05-29 23:05:29 +02:00
derrod 09c8d1f80d [utils] Add cli helper for command line prompts 2020-05-29 23:04:58 +02:00
derrod 1d7d0eaa38 [core/cli] Import games installed via EGL w/o verification 2020-05-29 00:20:31 +02:00
derrod d9b0930006 [lfs] Cleanup/Rework Epic LFS to for Linux support 2020-05-28 23:10:58 +02:00
derrod b1ecce7aa3 [models] Add EGL installation manifest support 2020-05-28 23:10:15 +02:00
derrod 2e2bb3ad41 [cli/core/models] Add install size to installed games 2020-05-28 23:05:36 +02:00
derrod 5d4d46f7ea [core] Remove unused parameter 2020-05-28 22:58:14 +02:00
derrod da757ac18e [core] Also initialize Epic LFS on Linux 2020-05-28 22:45:08 +02:00
derrod 547ea4a2d4 [cli] Make list output more copy-paste friendly 2020-05-28 22:42:36 +02:00
derrod e3ad2d8de9 [core] Fix crash when game config section is missing 2020-05-28 22:41:31 +02:00
derrod 9867c5f492 [cli] Check for game exe on import and add check override 2020-05-28 02:40:12 +02:00
derrod f3f86836c8 [cli] Do not set type for --no-wine argument
Fixes #46
2020-05-27 21:18:02 +02:00
derrod e083b6f9b5 [core] Show error if game installation could not be deleted
Kinda fixes #44
2020-05-25 13:01:12 +02:00
derrod dad1c7f2c2 [core] Move getting manifest urls into separate function 2020-05-23 23:20:13 +02:00
derrod cddc58c46e README update and whitespace fixes 2020-05-23 19:02:13 +02:00
derrod 3d03d1a15d [cli] Apply strtobool to NO_WINE env var 2020-05-23 19:01:30 +02:00
derrod e4e4a0b7df [core] Add "no_wine" config option 2020-05-23 18:35:58 +02:00
derrod c52cd09eb7 [cli/core] Add env var for wrapper and fix priority
Priority should always be command line > env var > config
2020-05-23 18:33:11 +02:00
derrod 6c9e3a1d62 [cli/core] Add flag to disable WINE 2020-05-23 18:29:43 +02:00
derrod 76a0ef6be7 [cli] Treat misc. verification failures as missing 2020-05-23 16:57:06 +02:00
derrod 1ac1875a86 [models/utils] Catch and log exception when opening file fails 2020-05-23 16:55:18 +02:00
derrod e9a959e3a7 [core] Strip leading slashes from executable path
Fixes #42 and launching Hyper Light Drifter
2020-05-23 12:43:37 +02:00
derrod c7d3846118 [cli] Do not print help for repair alias 2020-05-22 14:39:01 +02:00
derrod 61c2db9b60 Bump version to 0.0.14 2020-05-22 14:34:03 +02:00
derrod de0b53710a [cli] Do not include timestamp in threaded logger 2020-05-22 14:31:59 +02:00
derrod 6b88d93576 [downloader] Clean up progress and other logging 2020-05-22 14:31:49 +02:00
derrod d62b45f899 [cli] Add message notifying users about the resumability of the downloads 2020-05-22 09:54:12 +02:00
derrod 38f5bbd934 [cli/core/models] Add support for importing already installed games
Fixes #10 though will need further improvement.
2020-05-20 14:06:55 +02:00
derrod 0d6bcf5950 [cli/core] Add support for launching games with a wrapper 2020-05-20 12:49:51 +02:00
derrod c904bbfa19 [cli/core] Add repair command/flag
Fixes #27
2020-05-20 12:44:45 +02:00
derrod 8ab63f0665 [downloader] Make resume file version-agnostic
This may result in less-optimal situations since
it effectively also disables patching. But it does
allow us to re-use the resume file mechanisms for
repairing broken installs.
2020-05-20 12:05:26 +02:00
derrod 9cc5d071d0 [utils] Return hashes from validate_files 2020-05-20 12:03:44 +02:00
derrod 5b2ebada78 [cli/utils/models] Add "verify-game" command to check game install 2020-05-19 18:29:16 +02:00
derrod 1622b415ea [core/utils] Move lfs helpers to utils 2020-05-19 17:45:46 +02:00
derrod 6278a21c77 [cli] sync-saves: Fix crash if metadata is missing 2020-05-19 16:14:20 +02:00
derrod 724ef4848c [downloader] Check if files in resume file actually exist
Also improves logging to make it obvious to users that a
resume file is being used.
2020-05-19 16:14:01 +02:00
derrod b89afeaefd [downloader] Check for success before adding to resume file 2020-05-19 14:46:59 +02:00
derrod 8cda65fd3e [core] Use and save existing base urls for manifest overrides 2020-05-19 14:44:45 +02:00
derrod 59f2ebb211 [core] Apply expanduser to config values as well 2020-05-18 10:59:38 +02:00
derrod 39f0d4c831 [cli/core/api] Allow setting locale/language
Fixes #35 as far as I can tell
2020-05-18 10:58:23 +02:00
derrod 812590db7c [cli] Fix crash if metadata does not have customAttributes 2020-05-17 15:36:34 +02:00
derrod ecf6572e5f [utils] Show warning if savegame got truncated during packing 2020-05-16 16:55:30 +02:00
derrod 099e222a80 [core] Return platform specific version if override is used 2020-05-16 16:48:45 +02:00
derrod 297d3b7690 Bump version to 0.0.13 2020-05-16 13:58:13 +02:00
derrod 7d919c1f2a [cli] Fix launch command on Windows 2020-05-16 13:57:57 +02:00
derrod 730eaebec9 [cli/core/models] Fix a whole bunch of cloud save issues
- Games that didn't already have cloud saves weren't synced
- Games that didn't have local saves didn't behave correctly
- Games that only had local saves also didn't work correctly
2020-05-16 12:50:28 +02:00
derrod 03c503b4e6 [core/utils] Show warning/info if no save files have been found
This should alert users in cases the exclude/include filters fail
2020-05-16 12:29:33 +02:00
derrod 8a60d1c436 Bum version to 0.0.12 and update README 2020-05-16 12:20:10 +02:00
derrod 8f656c5a25 [cli] Add flag to disable save game filtering 2020-05-16 12:19:44 +02:00
derrod 2ba036a654 [core/utils] Implement save game file filters 2020-05-16 12:19:06 +02:00
derrod e88a369feb [core] Honor existing installation directory
This prevents an issue where changing the base
path later on would cause an update to be written
to the wrong directory (or cause crashes).
2020-05-16 11:01:13 +02:00
derrod 532e1df237 [core] Show error if old manifest can't be loaded
Also prevents crashes.
2020-05-16 10:52:09 +02:00
derrod 289a1aa9e8 [core] Log if game installation directory does not exist 2020-05-15 12:38:27 +02:00
derrod 90dce6bd71 Version 0.0.11 2020-05-15 10:28:12 +02:00
derrod 0a41a043ac [api/downloader] Update user-agent 2020-05-15 10:25:39 +02:00
derrod d6abbcc694 Cleanup! (Remove shebangs, unused files) 2020-05-15 07:01:30 +02:00
derrod b6a701708b [lfs] Honor XDG_CONFIG_HOME env variables 2020-05-15 06:52:58 +02:00
derrod b55600f3e3 [cli] Allow specifying save path at install time
Also some minor cleanup
2020-05-14 16:40:27 +02:00
derrod 0f01e404a4 [cli/core/downloader] Support multiple filter arguments
Fixes #20
2020-05-14 16:32:08 +02:00
derrod d648d29810 [cli] Automatic DLC installation and cloud save notice 2020-05-14 16:04:03 +02:00
derrod 98df2a0a38 [cli/core/models/utils] Add basic cloud save syncing support 2020-05-14 14:52:33 +02:00
derrod 0df80773c0 [cli] Add --code and --delete options to auth command
--code allows specifying an exchange code directly, e.g.
       when the web authentication is handled by an external
       application.
--delete simply deletes the current authentication data.
2020-05-12 20:01:25 +02:00
derrod 36c1a9591f [utils] Add helper for packing save data
This helper creates manifests + chunks from
a given directory for uploading to the EOS
save game storage service.
2020-05-12 04:03:03 +02:00
derrod ffe65b5b86 [api] Add method for deleting cloud saves 2020-05-12 04:02:06 +02:00
derrod 6cfe7a74ea [models] Allow initializing ChunkPart values 2020-05-12 04:01:46 +02:00
derrod b0f5ea15a3 [models] return chunk/manifest bytes written 2020-05-12 03:59:21 +02:00
derrod 2945c6c91f [cli/core] Add flags/env vars to override WINE binary/prefix 2020-05-12 02:31:01 +02:00
derrod f9d56b8d0d [cli] Sort savegames by manifest and app name 2020-05-12 02:22:10 +02:00
derrod 8ae0fff1d7 [models] Support __setitem__ in CustomFields 2020-05-09 11:04:57 +02:00
derrod 8328a8ebaa [models] Calculate group_num based on GUID 2020-05-09 11:04:29 +02:00