Skip to content

Commit

Permalink
Add D3D8 support to dxvk verb
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComputerGuy96 committed Jul 10, 2024
1 parent 86a8de5 commit d3e9152
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -8643,22 +8643,23 @@ load_dxvk2040()
#----------------------------------------------------------------

w_metadata dxvk dlls \
title="Vulkan-based D3D9/D3D10/D3D11 implementation for Linux / Wine (latest)" \
title="Vulkan-based D3D8/D3D9/D3D10/D3D11 implementation for Linux / Wine (latest)" \
publisher="Philip Rebohle" \
year="2023" \
year="2024" \
media="download" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/d3d9.dll" \
installed_file2="${W_SYSTEM32_DLLS_WIN}/d3d10core.dll" \
installed_file3="${W_SYSTEM32_DLLS_WIN}/d3d11.dll" \
installed_file4="${W_SYSTEM32_DLLS_WIN}/dxgi.dll"
installed_file1="${W_SYSTEM32_DLLS_WIN}/d3d8.dll" \
installed_file2="${W_SYSTEM32_DLLS_WIN}/d3d9.dll" \
installed_file3="${W_SYSTEM32_DLLS_WIN}/d3d10core.dll" \
installed_file4="${W_SYSTEM32_DLLS_WIN}/d3d11.dll" \
installed_file5="${W_SYSTEM32_DLLS_WIN}/dxgi.dll"

load_dxvk()
{
# https://github.com/doitsujin/dxvk
_W_dxvk_version="$(w_get_github_latest_release doitsujin dxvk)"
_W_dxvk_version="${_W_dxvk_version#v}"
w_linkcheck_ignore=1 w_download "https://github.com/doitsujin/dxvk/releases/download/v${_W_dxvk_version}/dxvk-${_W_dxvk_version}.tar.gz"
helper_dxvk "dxvk-${_W_dxvk_version}.tar.gz" "7.1" "1.3.204" "dxgi,d3d9,d3d10core,d3d11"
helper_dxvk "dxvk-${_W_dxvk_version}.tar.gz" "7.1" "1.3.204" "dxgi,d3d8,d3d9,d3d10core,d3d11"
unset _W_dxvk_version
}

Expand Down

0 comments on commit d3e9152

Please sign in to comment.