I develop the
Steam ,
Battlenet
and Epic
prefills.
I also help out with the Lancache
project where I can!
I sometimes write game mods too. I've written mods for Valheim as well as The Long Dark
CLI tool to automatically prime a Lancache with Epic Launcher games
Home Page: https://tpill90.github.io/epic-lancache-prefill/
License: MIT License
I added Fornite and get this error:
[4:37:22 PM] Starting Fortnite
[4:37:23 PM] Unexpected download error : Index was outside the bounds of the array. Skipping app...
Other apps work fine.
I worked after I a
./EpicPrefill clear-cache
Encountered this error upon first run of the select-apps command. Looks like the root error is "Cannot get the value of a token type 'Number' as a string"
System.Text.Json.JsonException: The JSON value could not be converted to System.Collections.Generic.List`1[
System.String]. Path: $[0] | LineNumber: 0 | BytePositionInLine: 8.
System.InvalidOperationException: Cannot get the value of a token type 'Number' as a string.
at string System.Text.Json.Utf8JsonReader.GetString()
at bool System.Text.Json.Serialization.JsonCollectionConverter`2.OnTryRead(ref Utf8JsonReader , Type ,
JsonSerializerOptions , ref ReadStack , out TCollection )
at bool System.Text.Json.Serialization.JsonConverter`1.TryRead(ref Utf8JsonReader , Type ,
JsonSerializerOptions , ref ReadStack , out T )
at T System.Text.Json.Serialization.JsonConverter`1.ReadCore(ref Utf8JsonReader , JsonSerializerOptions ,
ref ReadStack )
at void System.Text.Json.ThrowHelper.ReThrowWithPath(ref ReadStack , in Utf8JsonReader , Exception )
at T System.Text.Json.Serialization.JsonConverter`1.ReadCore(ref Utf8JsonReader , JsonSerializerOptions , ref
ReadStack )
at TValue System.Text.Json.JsonSerializer.ReadFromSpan(ReadOnlySpan , JsonTypeInfo , int? )
at TValue System.Text.Json.JsonSerializer.ReadFromSpan(ReadOnlySpan , JsonTypeInfo )
at TValue System.Text.Json.JsonSerializer.Deserialize(string , JsonTypeInfo )
at List EpicPrefill.EpicGamesManager.LoadPreviouslySelectedApps()
at async Task<List> EpicPrefill.CliCommands.SelectAppsCommand.BuildTuiAppModelsAsync(EpicGamesManager
epicManager)
at async ValueTask EpicPrefill.CliCommands.SelectAppsCommand.ExecuteAsync(IConsole console)
Describe the bug
When I run EpicPrefill prefill -f I get the error: "System.InvalidOperationException: Sequence contains no matching element"
Additional Details
Debian GNU/Linux 11
Linux lancache 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux on bare metal
Screenshots
user1@lancache:/EpicPrefill$ ./update.sh/EpicPrefill$ ./EpicPrefill clear-cache
Checking for latest version
Found latest version : 1.1.1
Downloading...
EpicPrefill-1.1.1-linux-x64.zip 100%[======================================================================================================================>] 12.67M --.-KB/s in 0.1s
Unzipping...
Complete!
user1@lancache:
[10:25:49 AM] Found 3 cached files, totaling 2.61 MiB
[10:25:50 AM] Done!
user1@lancache:~/EpicPrefill$ ./EpicPrefill prefill -f
[10:26:06 AM] Reusing existing auth session...
[10:26:06 AM] Retrieving owned apps
[10:26:10 AM] Loaded new app metadata for 16 apps
[10:26:10 AM] Retrieved 16 apps 03.7645
[10:26:10 AM] Starting Satisfactory Early Access
[10:26:10 AM] Downloaded manifest 00.0498
[10:26:11 AM] Downloading 9.02 GiB
[10:26:11 AM] Detected Lancache server at localhost [127.0.0.1]
[10:26:17 AM] Finished in 06.3728 - 12.15 Gbit/s
[10:26:17 AM] Starting Satisfactory Experimental
[10:26:17 AM] Downloaded manifest 00.0437
[10:26:17 AM] Downloading 9.02 GiB
[10:26:23 AM] Finished in 05.9489 - 13.02 Gbit/s
ERROR
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 , Func
2 )
at EpicPrefill.EpicGamesManager.DownloadMultipleAppsAsync(Boolean downloadAllOwnedGames, List1 manualIds) at EpicPrefill.CliCommands.PrefillCommand.ExecuteAsync(IConsole console) at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in /D:\a\CliFx\CliFx\CliFx\CliApplication.cs:147 at CliFx.CliApplication.RunAsync(IReadOnlyList
1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables) in /D:\a\CliFx\CliFx\CliFx\CliApplication.cs:191
user1@lancache:~/EpicPrefill$
Other prefill apps show the following at the end of each run:
Prefilled 3 apps in 25.8501
Suggest this be added to EpicPrefill so we can compare one vs the other. :)
Thanks again for the awesome work on this solid solution!
Would be nice to have an option to prefill all games from the favourite list
When attempting to initially login with an Epic Games account using the select-apps option, it produces the following output:
:~/EpicPrefill-1.1.0-linux-x64$ ./EpicPrefill select-apps
[1:28:40 PM] Please login into Epic via your browser
[1:28:40 PM] If the web page did not open automatically, please manually open the following URL: https://legendary.gl/epiclogin
Please enter the authorizationCode from the JSON response: [redacted]
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at async Task EpicPrefill.Handlers.UserAccountManager.LoginAsync()
at async Task EpicPrefill.EpicGamesManager.InitializeAsync()
at async ValueTask EpicPrefill.CliCommands.SelectAppsCommand.ExecuteAsync(IConsole console)
I will update when I find out if the account has any additional MFA or other limitations that may be out of the ordinary.
When using a different account, login worked successfully.
Discord name: Ed/Megabeard
Hi, was trying to get this prefill working but before starting the program i started the update.sh script
I was presented with an error so i took a look into the script and found that the #unzip and below it is still looking for SteamPrefill instead off EpicPrefill:
# Unzip
echo -e "${Yellow} Unzipping... ${NC}"
unzip -q -j -o SteamPrefill-${LATEST_TAG}-linux-x64.zip
# Required so executable permissions don't get overwritten by unzip
chmod +x SteamPrefill update.sh
# Cleanup
rm SteamPrefill-${LATEST_TAG}-linux-x64.zip
When i change the SteamPrefill to EpicPrefill the script runs without errors :)
See title
Describe the bug
This is a follow-up to #16. I'm seeing several Unreal Engines being downloaded when doing --all
.
Additional Details
Error Handling - Read upstream status code for failed requests, and display it to the user.
Describe the bug
A clear and concise description of what the bug is.
Additional Details
Screenshots
If applicable, add screenshots to help explain your problem.
After 8 hours of prefill. I get errors for the rest of the list.
[3:35:54 PM] Starting theHunter: Call of the WildT
[3:35:54 PM] Unexpected download error : Response status code does not indicate success: 401 (Unauthorized). Skipping app...
[3:35:54 PM] Starting while True: learn()
[3:35:54 PM] Unexpected download error : Response status code does not indicate success: 401 (Unauthorized). Skipping app...
[3:35:54 PM] Prefill complete!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Prefilled 269 apps in 8:15:52.46
Updated โ Up To Date โ Failed
โโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโ
30 โ 56 โ 183
Describe the bug
Using the Docker image, fresh install today and showing the below error after running the select-apps option
[1:01:57 AM] Selected 13 apps to prefill!
[1:01:58 AM] Retrieving owned apps
[1:01:59 AM] Retrieved 41 apps 00.1535
[1:01:59 AM] Starting Destiny 2
[1:01:59 AM] Unexpected download error : Response status code does not indicate success: 508 ().
Skipping app...
Additional Details
Describe the bug
When going through the LAN-Cache, Fortnite only completes to 28%. It doesn't matter which computer in the house I use. Epic Games launcher shows the download rate drop to 0 instantly once it reachs 28% downloaded. Filesystem was XFS on a 6TB HDD.
Additional Details
Screenshots
If applicable, add screenshots to help explain your problem.
access.log
Control + C does not pause the prefill if it started after select-apps command is ran. Reboot necessary to stop the prefill.
Additional Details
Describe the bug
A clear and concise description of what the bug is.
Additional Details
Screenshots
If applicable, add screenshots to help explain your problem.
Win 10 pro 21H2
When I enter the code to enable unicode I get an error.
Test-Path $profile
gives "False"
After I created a profile following this
if (!(Test-Path -Path <profile-name>)) { New-Item -ItemType File -Path <profile-name> -Force }
Duplicate of tpill90/steam-lancache-prefill#294
See pull request tpill90/steam-lancache-prefill#309
Describe the bug
A clear and concise description of what the bug is.
While I can completelly configure EpicPrefill in both the Unraid Docker as well as the standanlone windows application, the prefill download does not progress and stays at 0% with no network traffic.
The bandwitdh value shown in the Unraid Docker version is "broken" as it shows several Gbps which my internet connection is not capable of - also there is no progress and no drive activity on my LanCache nvme.
The bandwitdh indicator in the windows build is more accurate as there is no traffic.
LanCache Logs:
These are the logs from an attempt to prefill City Skylines
upstream-error.log
error.log
access.log
LanCache_access.log
With the Epic Launcher I can download these games, even on the same machine where the EpicPrefill.exe does not produce any download traffic.
Result: EpicPrefill.exe "downloads" everything that the EpicLauncher put in the lancache.
See issues/352
select-apps
on detailed command usage page.Unlike BattleNetPrefill
and SteamPrefill
, EpicPrefill
does not contain --nocache
flag, and/or it is not working.
Consider a situation where one has a Lancache and for example deletes the cache, then runs ./EpicPrefill prefill
, the prefill will just tell user "nothing to download", which is not true, as the actual cache is empty.
..or is the EpicPrefill so wise that it can deal with a situation as mentioned above? If so, then both BattleNetPrefill and SteamPrefill would need the same kind of brains.
See related
[10:02:12 AM] Starting A Short Hike [10:02:34 AM] Unexpected download error : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (fastly-download.epicgames.com:443) Skipping app...
From a PCAP (172.16.1.40 is lancache instance):
36 3.755003 172.16.1.100 172.16.1.40 TCP 66 53437 โ 443 [SYN] Seq=0 Win=62720 Len=0 MSS=8960 WS=256 SACK_PERM
Same instance works fine using epicprefill on OSX
Trying to see why its requesting port 443 on .exe but 80 on the OSX version
From OSX
104 10.082232 172.16.1.110 172.16.1.40 TCP 78 62416 โ 80 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=64 TSval=2083870588 TSecr=0 SACK_PERM=1
If you could, print this at the end of each run, then we could see what du -h shows and compare to see what's in the cache on disk vs just now downloaded.
Having this in all three programs would be great because then you can bash script running each of them and see what the total is.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.