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:

  1. You need to remove your ~/.wine folder:
    $ rm -rf ~/.wine/
  2. Then you need to install winetricks:
    $ apt install winetricks
    $ pacman -s winetricks
  3. Now you can to install some native Win32 packages:
    $ winetricks d3dx9_42 d3dcompiler_42

Now you can install the game and swing a sword.

mount and blade: warband under wine

Навигация по записям