-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- change default host to VPS - allow overriding of default cache target - increase read timeout - fix doubly stripping extension
- Loading branch information
Showing
15 changed files
with
143 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Building | ||
|
||
Prerequisites: | ||
- maven 3 | ||
- openjdk >= 8 | ||
|
||
Build: | ||
```bash | ||
./build.sh | ||
``` | ||
|
||
Executables: | ||
```bash | ||
dxvk-cache-client | ||
dxvk-cache-server | ||
``` | ||
|
||
Archlinux: | ||
|
||
See [PKGBUILD](arch/PKGBUILD) | ||
|
||
## Implementation problems | ||
|
||
### Identifying a game | ||
|
||
Possible Solutions: | ||
|
||
- Just the exe's filename. After a bit of discussion the only possible choice: https://github.com/doitsujin/dxvk/issues/677 | ||
- ~~SHA1 of the exe.~~ Don't want to loose the cache if the application is updated. Games built using an engine can have the same exact binary. | ||
- ~~Steam game id.~~ The most robust and my preferred solution, but would make it exclusive to Steam. | ||
- ~~Exe name plus parent directory.~~ ~~Still suboptimal but right now what I opted for. Assumes users don't go around changing the installation folder name. Should work well for Steam.~~ |
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,13 @@ | ||
## FAQ | ||
|
||
#### Why is setting an environment variable necessary? | ||
|
||
The client will create a symlink inside each wine prefix it encounters when scanning from `drive_c/dxvk-cache-pool` to `$XDG_CACHE_HOME/dxvk-cache-pool`. | ||
|
||
All caches will be written to $XDG_CACHE_HOME/dxvk-cache-pool, so if your wine prefix is missing that symlink or the DXVK_STATE_CACHE_PATH isn't set DXVK won't find the cache. | ||
|
||
#### What if I don't want to set the environment variable globally? | ||
|
||
If you don't want to set it up globally you have to set it before running wine, otherwise it won't use the shared caches. | ||
|
||
You can probably configure it in Lutris for the wine prefix you want to use or create a wrapper script. |
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
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,19 @@ | ||
# DXVK cache pool server | ||
|
||
Server (users do not need this): | ||
- Centralized storage. Provides REST interface to access caches and signatures. | ||
|
||
## Usage | ||
|
||
The server requires Java >= 8. | ||
|
||
### Server | ||
```bash | ||
$ ./dxvk-cache-server -h | ||
usage: dvxk-cache-server [-h] [--port <port>] [--storage <path>] | ||
[--versions <version>] | ||
-h,--help show this help | ||
--port <port> Server port | ||
--storage <path> Storage path | ||
--versions <version> DXVK state cache versions to accept | ||
``` |
Oops, something went wrong.