Commit 55544533 authored by Tk-Glitch's avatar Tk-Glitch

proton-tkg: Add dxvk_config lib handling

parent 528246fc
......@@ -426,6 +426,12 @@ else
cd "$_nowhere/proton_tkg_$_protontkg_version"
patch -Np1 < "$_nowhere/proton_template/dxvk_minimald3d10.patch" && rm -f proton.orig
cd "$_nowhere"
# Patch our proton script to handle dxvk_config lib
if [ -e "$_nowhere"/dxvk/x64/dxvk_config.dll ]; then
cd "$_nowhere/proton_tkg_$_protontkg_version"
patch -Np1 < "$_nowhere/proton_template/dxvk_config_support.patch" && rm -f proton.orig
cd "$_nowhere"
fi
fi
# Patch our makepkg version of the proton script to not create default prefix and use /tmp/dist.lock
......
From f319dc029be11156c22429c8e0892b4c0e3d0657 Mon Sep 17 00:00:00 2001
From: Tk-Glitch <ti3nou@gmail.com>
Date: Mon, 23 Mar 2020 22:24:54 +0100
Subject: dxvk_config lib support
diff --git a/proton b/proton
index be3586d..75e2e93 100755
--- a/proton
+++ b/proton
@@ -333,7 +333,7 @@ class CompatData:
os.remove(dstfile)
try_copy(steamdir + "/legacycompat/" + f, dstfile)
- dxvkfiles = ("d3d11", "d3d10core")
+ dxvkfiles = ("dxvk_config", "d3d11", "d3d10core")
def make_dxvk_links(dll_dir, link_dir):
for f in dxvkfiles:
dst = link_dir + "/" + f + ".dll"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment