LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
56 stars 6 forks source link

[virtualization][wine] Manual DLL overrides #1033

Open LukeShortCloud opened 1 year ago

LukeShortCloud commented 1 year ago

Using the registry.

The simplest way to use DXVK is to simply right click on the bottle, and under "Options," check "DXVK Backend for D3D11."

The simplest way to switch a DLL to native is to use the Wine Configuration program (winecfg). On the "Libraries" tab, you can set any DLL, including d3d11 and dxgi, to native.

All that does is set a registry key, HKCU\Software\Wine\DllOverrides, with value name equal to the basename of the DLL, type REG_SZ, and value n for native, or b for built-in. You use the Registry Editor (regedit) to make changes to the registry. Or you can change the file user.reg with a text editor.

https://github.com/KhronosGroup/MoltenVK/issues/1507#issuecomment-1153309508