Skip to content

Commit

Permalink
[d3d8] Install to Proton lib64
Browse files Browse the repository at this point in the history
Fixes latest Proton experimental
  • Loading branch information
AlpyneDreams committed Nov 12, 2022
1 parent d99f47d commit 474d8c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup_d3d8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,7 @@ if [ "$action" == "install" ] && ! [ -z "$PROTON" ]; then
# Install d3d8 and d3d9 to Proton
installFile "$PROTON/$proton_dxvk" "$dxvk_lib32" "d3d9" "d3d9.dll -> \$PROTON/files/lib/wine/dxvk/d3d9.dll"
installNewFile "$PROTON/$proton_dxvk" "$dxvk_lib32" "d3d8" "d3d8.dll -> \$PROTON/files/lib/wine/dxvk/d3d8.dll"

# Install dummy d3d8.dll to lib64 so as not to confuse Proton
installFile "$PROTON/$proton_dxvk64" "$dxvk_lib32" "d3d9" "d3d9.dll -> \$PROTON/files/lib64/wine/dxvk/d3d9.dll"
installNewFile "$PROTON/$proton_dxvk64" "$dxvk_lib32" "d3d8" "d3d8.dll -> \$PROTON/files/lib64/wine/dxvk/d3d8.dll"

# Update ./proton to install d8vk
Expand All @@ -275,8 +274,7 @@ elif ! [ -z "$PROTON" ]; then
# Uninstall d3d8/d3d9 from Proton
uninstallFile "$PROTON/$proton_dxvk" "$dxvk_lib32" "d3d9" "d3d9.dll.old -> \$PROTON/files/lib/wine/dxvk/d3d9.dll"
uninstallNewFile "$PROTON/$proton_dxvk" "$dxvk_lib32" "d3d8" "Removing \$PROTON/files/lib/wine/dxvk/d3d8.dll"

# Remove dummy d3d8.dll
uninstallFile "$PROTON/$proton_dxvk64" "$dxvk_lib32" "d3d9" "d3d9.dll.old -> \$PROTON/files/lib64/wine/dxvk/d3d9.dll"
uninstallNewFile "$PROTON/$proton_dxvk64" "$dxvk_lib32" "d3d8" "Removing \$PROTON/files/lib64/wine/dxvk/d3d8.dll"

# Revert ./proton to not install d8vk
Expand Down

0 comments on commit 474d8c0

Please sign in to comment.