The result of building is a DLL file called d3d9.dll
.
The DLL should be placed in a game's executable directory.
Use winecfg
to set this DLL override to "Native".
The library has extensive logging capabilities.
export RUST_LOG=d3d9=info
wine my-game.exe
You can replace info
with your desired logging level: error, warn, info, debug, trace.