Mass Effect: Failed to compile global shaders
Simple solution
Error can be simply fixed by using protontricks with command:
protontricks 17460 d3dx9
I’m sure it’s also possible with winetricks and setting right prefix.
Plain wine solution
I ecnountered an error when tried to run Mass Effect in Steam:
Failed to compile global shaders...
I found EA forum thread on this
But I use linux on my daily basis, so I tried to play this game under Proton.
As proton uses wine under the hood, we need to install DirectX binaries under Wine instance.
Proton’s Wine usually located near game installation.
Each game has its own Proton and Wine instances.
In my case it was at:
~/.local/share/Steam/steamapps/compatdata/17460/pfx
17460
is the steam app ID.
To run Wine in certain instance we should use WINEPREFIX
environment variable.
In my case to install DirectX into Mass Effect’s Wine instance the command was:
WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/17460/pfx wine ~/Downloads/DXSDK_Jun10.exe
And then just follow installation master.