release: target GE-Proton10-34 with latest DXVK
build-elsword-ge / build (push) Has been cancelled

This commit is contained in:
magges
2026-07-19 21:34:43 +02:00
parent 43099ccbd4
commit a840db9b41
6 changed files with 63 additions and 20 deletions
+16 -5
View File
@@ -10,11 +10,11 @@ DXVK_CACHE_DIR="${DXVK_CACHE_DIR:-$CACHE_DIR/dxvk}"
METADATA_DIR="${METADATA_DIR:-$DIST_DIR/metadata}"
STEAM_COMPAT_DIR_DEFAULT="${STEAM_COMPAT_DIR_DEFAULT:-$HOME/.local/share/Steam/compatibilitytools.d}"
UPSTREAM_REPO="${UPSTREAM_REPO:-GloriousEggroll/proton-ge-custom}"
ELSWORD_GE_VERSION="${ELSWORD_GE_VERSION:-11-1}"
ELSWORD_GE_VERSION="${ELSWORD_GE_VERSION:-10-34}"
PROTON_TAG="${PROTON_TAG:-GE-Proton${ELSWORD_GE_VERSION}}"
PROTON_ASSET="${PROTON_ASSET:-x86_64}"
RUNTIME_APPID="${RUNTIME_APPID:-4183110}"
WINE_SERIES="${WINE_SERIES:-Wine 11}"
WINE_SERIES="${WINE_SERIES:-Wine 10}"
DXVK_STABLE_TAG_DEFAULT="${DXVK_STABLE_TAG_DEFAULT:-latest}"
DXVK_GIT_REF="${DXVK_GIT_REF:-origin/master}"
MINGW_PTHREAD_ROOT="${MINGW_PTHREAD_ROOT:-}"
@@ -259,7 +259,7 @@ PY
resolve_runtime_dll_path() {
local arch="$1"
local dll="$2"
local compiler result nix_attr store_path
local compiler result nix_attr store_path arch_dir
case "$arch" in
x86_64) compiler="x86_64-w64-mingw32-g++" ;;
@@ -275,9 +275,20 @@ resolve_runtime_dll_path() {
if [[ "$dll" == "libmcfgthread-2.dll" ]]; then
case "$arch" in
x86_64) nix_attr="pkgsCross.mingwW64.windows.mcfgthreads" ;;
x86) nix_attr="pkgsCross.mingw32.windows.mcfgthreads" ;;
x86_64)
nix_attr="pkgsCross.mingwW64.windows.mcfgthreads"
arch_dir="x64"
;;
x86)
nix_attr="pkgsCross.mingw32.windows.mcfgthreads"
arch_dir="x32"
;;
esac
result="${MINGW_PTHREAD_ROOT:-}/$arch_dir/$dll"
if [[ -f "$result" ]]; then
printf "%s\n" "$result"
return 0
fi
store_path="$(NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix path-info --impure "nixpkgs#${nix_attr}")"
result="$(find "$store_path" -name "$dll" -type f | head -n1 || true)"
if [[ -n "$result" && -f "$result" ]]; then