From 848f9fb0f9793ff0f86eb6029cee9397fec60a09 Mon Sep 17 00:00:00 2001 From: m1m1k4tz <83061466+m1m1k4tz@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:54:09 -0500 Subject: [PATCH] Update README.md Small fixes, finish up the 32 bit stuff --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fe2974dc..2b2cb94ea 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,11 @@ For a pure 32-bit Wine prefix (non default) the 32-bit DLLs instead go to the `s ``` export WINEPREFIX=/path/to/wineprefix cp x32/*.dll $WINEPREFIX/drive_c/windows/system32 -winecfg +wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d8" /d native,builtin /f >/dev/null 2>&1 +wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d9" /d native,builtin /f >/dev/null 2>&1 +wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d10core" /d native,builtin /f >/dev/null 2>&1 +wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d11" /d native,builtin /f >/dev/null 2>&1 +wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "dxgi" /d native,builtin /f >/dev/null 2>&1 ``` Verify that your application uses DXVK instead of wined3d by enabling the HUD (see notes below). @@ -36,6 +40,8 @@ Tools such as Steam Play, Lutris, Bottles, Heroic Launcher, etc will automatical ### Uninstall In order to remove DXVK from a prefix, remove the DLLs and DLL overrides, and run wineboot -u to restore the original DLL files. + +In a default Wine prefix that would be as follows: ``` export WINEPREFIX=/path/to/wineprefix rm $WINEPREFIX/drive_c/windows/system32/d3d8.dll @@ -56,6 +62,22 @@ wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d11" /d nat wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "dxgi" /d native,builtin /f >/dev/null 2>&1 ``` +For a pure 32-bit Wine prefix (non default) that would be as follows: +``` +export WINEPREFIX=/path/to/wineprefix +rm $WINEPREFIX/drive_c/windows/system32/d3d8.dll +rm $WINEPREFIX/drive_c/windows/system32/d3d9.dll +rm $WINEPREFIX/drive_c/windows/system32/d3d10core.dll +rm $WINEPREFIX/drive_c/windows/system32/d3d11.dll +rm $WINEPREFIX/drive_c/windows/system32/dxgi.dll +wine wineboot -u +wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d8" /d native,builtin /f >/dev/null 2>&1 +wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d9" /d native,builtin /f >/dev/null 2>&1 +wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d10core" /d native,builtin /f >/dev/null 2>&1 +wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "d3d11" /d native,builtin /f >/dev/null 2>&1 +wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "dxgi" /d native,builtin /f >/dev/null 2>&1 +``` + ### DLL dependencies Listed below are the DLL requirements for using DXVK with any single API.