-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
366 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# Frequently Asked Questions | ||
|
||
## Can I run {{prefill_name}} on the Lancache server? | ||
|
||
You certainly can! All you need to do is install **{{prefill_name}}** onto the server, and run it as you regularly would! | ||
|
||
If everything works as expected, you should see a message saying it found the server at `127.0.0.1` | ||
|
||
<img src="../images/svg/AutoDns-Server.svg" alt="Prefill running on Lancache Server"> | ||
|
||
Running from a Docker container on the Lancache server is also supported! You should instead see a message saying the server was found at `172.17.0.1` | ||
|
||
<img src="../images/svg/AutoDns-Docker.svg" alt="Prefill running on Lancache Server in Docker"> | ||
|
||
Running on the Lancache server itself can give you some advantages over running **{{prefill_name}}** on a client machine, primarily the speed at which you can prefill apps. | ||
Since there is no network transfer happening, the `prefill` should only be limited by disk I/O and CPU throughput. | ||
For example, using a **SK hynix Gold P31 2TB NVME** and running `prefill --force` on previously cached game yields the following performance: | ||
<img src="../images/svg/AutoDns-ServerPerf.svg" alt="Prefill running on Lancache Server in Docker"> | ||
|
||
--- | ||
|
||
## Can {{prefill_name}} be run on a schedule? | ||
|
||
Yes it can! Scheduled jobs can be easily setup on Linux using `systemd` services, and can be flexibly configured to run on any schedule that you desire. | ||
See [Configuring a Nightly Job](https://tpill90.github.io/{{repo_name}}/install-guides/Scheduled-Job/) for a guide on how to get setup with a schedule. | ||
|
||
--- | ||
|
||
## Can I fill my cache using previously installed {{gaming_service_name}} games? | ||
|
||
Unfortunately it is not possible to fill a Lancache using games that have been installed with {{gaming_service_name}}. The installed games are in a different format than what Lancache caches, as they are decrypted and unzipped from the raw request. The decryption/unzip process is not reversible. Thus, the only way to get games properly cached is to redownload them using either **{{prefill_name}}** or **{{gaming_service_name}}** | ||
|
||
--- | ||
|
||
## Where does {{prefill_name}} store downloads? | ||
|
||
**{{prefill_name}}** actually doesn't save anything at all! It will simply download data from the Lancache as quickly as it can, without saving the data to disk. The Lancache instance will be what is writing game downloads to disk as something is being downloaded through it, whether by using **{{gaming_service_name}}** or **{{prefill_name}}**. | ||
|
||
--- | ||
|
||
## How do I pause my running downloads? | ||
|
||
You can pause your downloads at any time by simply pressing `CTRL + C`, which will immediately terminate the application. This won't hurt anything at all, and **{{prefill_name}}** will pickup where it left off during the next `prefill` run. | ||
|
||
--- | ||
|
||
## Is it possible to prefill apps I don't own? | ||
|
||
While it would certainly be helpful (and cheaper!) to prefill apps that you don't own, it is unfortunately not possible. In order to download from the {{gaming_service_name}} network, {{gaming_service_name}} requires you to authenticate with your username and password. {{gaming_service_name}} keeps track of which apps you own, which is how **{{prefill_name}}** displays the list of available apps in `select-apps`. When **{{prefill_name}}** attempts to download any app (owned or unowned) the {{gaming_service_name}} network will validate that you do indeed own that app. If you do not own it, then the {{gaming_service_name}} network will simply refuse to let you download it. | ||
|
||
--- | ||
|
||
## How can I limit download speeds? | ||
|
||
You may want to limit the download speed of **{{prefill_name}}** to prevent it from potentially saturating your entire connection, causing other devices to suffer from massive latency and poor speeds. This issue is known as bufferbloat, and more detailed information on the issue can be found here: [What is bufferbloat?](https://waveform.com/tools/bufferbloat) | ||
|
||
**{{prefill_name}}** does not currently contain any functionality to limit its own download speed, and due to the way that downloads are implemented will likely never be able to throttle its own download speed. Additionally, even if **{{prefill_name}}** was able to throttle itself, the same issue would persist with downloads through **{{gaming_service_name}}**. | ||
|
||
One method to limit bandwidth would be to configure _Quality of Service (QOS)_ on your router, limiting bandwidth to the Lancache server, or by prioritizing other network traffic. A general overview of QOS can be found here : [Beginners guide to QOS](https://www.howtogeek.com/75660/the-beginners-guide-to-qos-on-your-router/) | ||
|
||
For more brand specific guides (non-exhaustive), see : | ||
|
||
- [Asus](https://asus.com/support/FAQ/1013333/) | ||
- [Netgear](https://kb.netgear.com/25613/How-do-I-enable-Dynamic-QoS-on-my-Nighthawk-router) | ||
- [Linksys](https://linksys.com/support-article?articleNum=50216) | ||
- [TP-Link](https://tp-link.com/us/support/faq/557/) | ||
|
||
--- | ||
|
||
## My logs have weird characters that make it hard to read. Is there any way to remove them? | ||
|
||
Depending on the terminal that you are using, and what colors your system supports, you may see output similar to the following: | ||
|
||
```text | ||
[6:20:46 PM] Starting [38;5;80mFortnite[0m | ||
[6:20:46 PM] Downloading [38;5;170m42.91 GiB[0m | ||
``` | ||
|
||
One of the reasons you may be seeing this is that your terminal is misreporting what capabilities it supports, thus receiving output that it can't handle. To remove these characters from the log, simply use the flag `--no-ansi` which will remove all unsupported characters from the application's output. | ||
|
||
--- | ||
|
||
## Can I use more than one {{gaming_service_name}} account at the same time? | ||
|
||
Unfortunately {{prefill_name}} doesn't directly support multiple accounts as it was written to be a single user application. Fortunately there is however a fairly simple workaround. {{prefill_name}} is designed as a "self-contained" application, meaning that it keeps all of its configuration inside of the folder where it is installed. | ||
|
||
In order to use two (or more) accounts at the same time, you should create a separate instance of {{prefill_name}} for each account. Suppose that you have two accounts that you would like to use, when correctly setup the folder structure should look similar to this: | ||
|
||
<img src="../images/svg/Multi-User-File-Structure.svg" alt="Structure required for two {{gaming_service_name}} accounts"> | ||
|
||
After the multiple instances have been created, they can both be used as usual by logging in and running the prefill. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[6:20:46 PM] Detected Lancache server at [38;5;80m172.17.0.1[0m [[38;5;141m172.17.0.1[0m] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[6:20:46 PM] Detected Lancache server at [38;5;80mlocalhost[0m [[38;5;141m127.0.0.1[0m] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Downloading.. [38;5;11m━━━━━━━━━[0m[38;5;8m━━━━━━━━━━━━━━━━━[0m 18% [38;5;12m00:00:09[0m 8.0[38;5;8m/[0m48.2 [38;5;8mGiB[0m 24.7 Gbit/s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[01;34m.[00m | ||
├── [01;34mEpicPrefill-Account1[00m | ||
│ ├── [01;34mConfig[00m | ||
│ │ └── account.config | ||
│ ├── [01;32mEpicPrefill[00m | ||
│ └── [01;32mupdate.sh[00m | ||
└── [01;34mEpicPrefill-Account2[00m | ||
├── [01;34mConfig[00m | ||
│ └── account.config | ||
├── [01;32mEpicPrefill[00m | ||
└── [01;32mupdate.sh[00m |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.