-
Notifications
You must be signed in to change notification settings - Fork 136
How to enable DXVK with dxwrapper
To use DxWrapper with DXVK, follow these instructions:
DXVK is automatically used on Linux when using Proton. For non-Proton/base Wine, you need to use Winetricks to install DXVK to the Wine prefix. Your Wine manager may handle this automatically (e.g., Bottles).
However, to use DxWrapper properly, the DLLs need to be set to override the builtin Proton/Wine DLLs. This varies across launchers. Check documentation for your Proton/Wine manager on how to override a DLL.
DX1-DX7:
For DX7 and older games you can use the ddraw.dll stub and dxwrapper.dll/ini files from dxwrapper. Make sure you enable dd7to9 in dxwrapper.ini. Set WINEDLLOVERRIDES environment variable to: WINEDLLOVERRIDES=ddraw=n,b
DX8:
For DX8 games you can use the d3d8.dll stub and dxwrapper.dll/ini files from dxwrapper. Make sure you enable d3d8to9 in dxwrapper.ini. Set WINEDLLOVERRIDES environment variable to: WINEDLLOVERRIDES=d3d8=n,b
DX9:
For DX9 games you can use the d3d9.dll stub and dxwrapper.dll/ini files from dxwrapper. Make sure you enable EnableD3d9Wrapper in dxwrapper.ini. Set WINEDLLOVERRIDES environment variable to: WINEDLLOVERRIDES=d3d9=n,b
DX1-DX7: For DX7 and older games you can use the ddraw.dll stub and dxwrapper.dll/ini files from dxwrapper. Make sure you enable dd7to9 in dxwrapper.ini. Then you can use the d3d9.dll (32bit version) from DXVK.
DX8: For DX8 games you can use the d3d8.dll stub and dxwrapper.dll/ini files from dxwrapper. Make sure you enable d3d8to9 in dxwrapper.ini. Then you can use the d3d9.dll (32bit version) from DXVK.
DX9: For DX9 games you can use the d3d9.dll stub and dxwrapper.dll/ini files from dxwrapper. Make sure you enable EnableD3d9Wrapper in dxwrapper.ini.
However, for DX9 games there is an extra step. You still need to use the d3d9.dll (32bit version) from DXVK, however if you just copy that over it will overwrite the d3d9.dll stub from dxwrapper. So you have to use a d3d9.ini stub configuration from dxwrapper to get this to work.
Here is what you can do for DX9 games:
- Copy d3d9.dll stub and dxwrapper.dll/ini files from dxwrapper into the game folder.
- Enable
EnableD3d9Wrapperin dxwrapper.ini. - Download the stub.ini file from here and copy it into the game folder.
- Rename
stub.initod3d9.ini. - Set the
RealDllPathin d3d9.ini stub config tod3d9_dxvk.dll. - Rename the
d3d9.dllfile from DXVK tod3d9_dxvk.dll. - Copy
d3d9_dxvk.dllinto the game folder.
Here are the files you should see in the game folder when using DX9 games:
d3d9.dll - (stub file from dxwrapper) d3d9.ini - (stub config file from dxwrapper) dxwrapper.dll - (from dxwrapper) dxwrapper.ini - (from dxwrapper) d3d9_dxvk.dll - (from DXVK)
Note: similar steps may work with other wrappers besides DXVK.