Commit graph

827 commits

Author SHA1 Message Date
derrod c20619d6e7 [cli] Rework CLI
- Class instead of giant main() function
- Uses subparsers for commands (cleaner)
- Will make future enhancements easier
2020-04-25 12:20:14 +02:00
derrod 96602d1890 [downloader/models] Minor code cleanups 2020-04-25 10:18:45 +02:00
derrod f1885639ae [downloader] Remove unnecessary imports 2020-04-25 09:25:12 +02:00
derrod 0e81b87fac [cli] Simplify "is game installed" check 2020-04-24 06:38:11 +02:00
derrod d8b629a66d [cli] Simplify manual login procedure 2020-04-24 06:37:40 +02:00
derrod a59107e503 [core/lfs] Load correct old manifest file after aborted installation
If a user were to start and then abort an installation previously
we would have loaded the downloaded new manifest, rather than the
one of the installed version. By explicitly setting the version
we can avoid this.
2020-04-24 06:29:22 +02:00
derrod 78d745b03f [downloader] Fix log message and close shared memory on exit 2020-04-21 20:26:17 +02:00
derrod 04cc72d154 [downloader] Make read speed actually work (somewhat) 2020-04-21 20:25:26 +02:00
derrod a8a0be5bd2 [downloader] Fix file patching for real this time
Missed this one m(
2020-04-21 20:18:19 +02:00
derrod be8e0169d4 [downloader] Check if resume file actually exists before trying to delete it 2020-04-21 20:05:03 +02:00
derrod 0b6824ba58 [core] Add status queue parameter for UI updates 2020-04-21 20:01:00 +02:00
derrod c388c0d516 [cli/core] Add overrides for old manifest and install dir 2020-04-21 19:59:58 +02:00
derrod c9961f4435 [downloader] Fix patching games with reused chunks 2020-04-21 19:56:34 +02:00
derrod a2197aec12 [models] Add build id to manifest meta 2020-04-21 16:55:47 +02:00
derrod 988be667df [core] Simplify game installation directory code 2020-04-20 01:27:41 +02:00
derrod c2ae5b7367 [core] Allow default env/wine overrides in config 2020-04-20 01:27:36 +02:00
derrod 92a0003e6f [core/lfs] Fix old manifest saving and install version saving 2020-04-20 01:27:28 +02:00
derrod feed5735d4 [downloader] Remove resume file after installation finishes 2020-04-20 01:27:22 +02:00
derrod 0b2917d1eb [cli] Ask for verification before installing/uninstalling 2020-04-20 01:27:16 +02:00
derrod 662f6e7bd0 [cli/core/models] Add basic support for DLCs 2020-04-20 01:27:06 +02:00
derrod 0031e5908a [api/core] Overhaul session resume and verify session validity 2020-04-20 01:27:01 +02:00
derrod 5eb51dfd11 [api/core/models] Add support for "Ownership Token"
Ownership verification tokens appear to be part of EPIC's DRM scheme,
they're basically just a JSON file with a token in it that's downloaded
from their API before launching.

This fixes launching games such as Just Cause 4.
2020-04-20 01:26:44 +02:00
derrod ce28ce2914 [core] Fix session reuse not checking if expiry is after now
Since total_seconds() just returns a positive number with the difference
we have to make sure we're actually still before the expiry time.
2020-04-20 01:25:59 +02:00
derrod 82163754ae Add usage examples to README 2020-04-14 15:50:15 +02:00
derrod e00e534f2c First public test version of legendary
Unfortunately the history from before this commit is lost to time. And
that's probably for the best.
2020-04-14 15:40:41 +02:00
derrod 8062475cb6 Added .gitignore 2020-04-12 21:04:42 +02:00
Rodney 7a469af959
Initial commit 2020-03-25 10:35:20 +01:00