Sometimes I like to ride a horse with a sword in my hand in Mount & Blade: Warband. This happens a couple of times a year. Usually between this times, the game is uninstalled. And every time after installing the game, I see this message:
Error loading postFX shaders:
Make sure you have the latest DirectX runtime library installed
Return code: -2147024703
Then I start googling. Sometimes I find a solution, sometimes I don’t. It happens again and again. So I decided to save here the solution to the problem.
In fact, it is very easy:
- You need to remove your ~/.wine folder:
$ rm -rf ~/.wine/
- Then you need to install winetricks:
$ apt install winetricks
or
$ pacman -s winetricks
- Now you can to install some native Win32 packages:
$ winetricks d3dx9_42 d3dcompiler_42
Now you can install the game and swing a sword.
