Skip to content

Commit

Permalink
proton-tkg: D9VK has been merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk-Glitch committed Dec 16, 2019
1 parent 5d1de42 commit 4550240
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
19 changes: 0 additions & 19 deletions proton-tkg/proton-tkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,25 +248,6 @@ else
mkdir -p proton_dist_tmp/lib/wine/dxvk && cp -v dxvk/x32/* proton_dist_tmp/lib/wine/dxvk/
fi

# d9vk
if [ "$_use_d9vk" != "false" ]; then
if [ ! -d "$_nowhere"/d9vk ] || [ "$_use_d9vk" == "release" ]; then
rm -rf "$_nowhere"/d9vk
echo "#####################################################"
echo ""
echo " Downloading some D9VK release from github for you..."
echo ""
echo "#####################################################"
echo ""
wget https://github.com/Joshua-Ashton/d9vk/releases/download/0.40.1/d9vk-0.40.1.tar.gz
tar -xvf d9vk-*.tar.gz >/dev/null 2>&1
rm -f d9vk-*.tar.*
mv "$_nowhere"/d9vk-* "$_nowhere"/d9vk
fi
mkdir -p proton_dist_tmp/lib64/wine/d9vk && cp -v d9vk/x64/d3d9.dll proton_dist_tmp/lib64/wine/d9vk/
mkdir -p proton_dist_tmp/lib/wine/d9vk && cp -v d9vk/x32/d3d9.dll proton_dist_tmp/lib/wine/d9vk/
fi

echo ''
echo "Packaging..."

Expand Down
6 changes: 3 additions & 3 deletions proton-tkg/proton_template/conf/proton
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,13 @@ class CompatData:
if not ("wined3d9only" in g_session.compat_config or "wined3d" in g_session.compat_config or "custom9" in g_session.compat_config):
if not os.path.exists(self.prefix_dir + "drive_c/windows/syswow64"):
#use vulkan-based d9vk for d3d9 32
make_d9vk_links(g_proton.lib_dir + "wine/d9vk/",
make_d9vk_links(g_proton.lib_dir + "wine/dxvk/",
self.prefix_dir + "drive_c/windows/system32")
else:
#use vulkan-based d9vk for d3d9 32+64
make_d9vk_links(g_proton.lib64_dir + "wine/d9vk/",
make_d9vk_links(g_proton.lib64_dir + "wine/dxvk/",
self.prefix_dir + "drive_c/windows/system32")
make_d9vk_links(g_proton.lib_dir + "wine/d9vk/",
make_d9vk_links(g_proton.lib_dir + "wine/dxvk/",
self.prefix_dir + "drive_c/windows/syswow64")
g_session.dlloverrides["d3d9"] = "n"
elif not ("wined3d9only" in g_session.compat_config or "wined3d" in g_session.compat_config) and "custom9" in g_session.compat_config:
Expand Down

0 comments on commit 4550240

Please # to comment.