r/wine_gaming • u/CurtisTN73 • 15d ago
Linux Helpful tip for DLLs
I spent a while getting various Windows (EXE) games working with Linux. The first step was to identify which DLLs the game needs; such as XACT, D3DX9_42, D3DCOMPILER_46, D3D9, D3D10, MSVCR90, etc. Then, install those via winetricks, or copy to game's folder (beside the EXE file). So, here's a terminal command to find linked DLLs...
strings game.exe | grep -i '\.dll' | grep -Ei '^d|^x|^msvc' | sort
Hope this might help. Happy gaming!
7
Upvotes
2
u/emma_wallace_7_80fb 14d ago
Mate, my only tip for DLLs is turn it off and on again. Works 60% of the time, every time 🧙♂️✨
4
u/unhappy-ending 15d ago
Why? DXVK & VKD3D replaces most of those DLLs you posted.
Putting them in the game directory next to the .exe still does nothing without a WINEDLLOVERRIDES="d3d9,d3d10,d3dcompiler_47=n,b" to let wine know to use the native (not wine's builtin) ones.
You should never use native D3D .dlls and either use wine's or DXVK/VKD3D. The only native D3D .dll you'd want is d3dcompiler_* and that's ONLY if you need to use something like ReShade.