Laboratorium Komputerowe Progmar
Marcin Załęczny

We are using cookies in the page. If you use the page you agree for the cookies.      Close

Heroes of Might and Magic IV - how to install (Ubuntu 16.04, wine-staging 2.21)

Make sure you have wine installed at minimum 2.21 version (it was tested by me). Here is how to achieve this: latest wine installation

Make sure you have proprietary producer's graphic card drivers installed. For example for NVIDIA required version is minimum 375.26 (it was tested by me). Here is how to achieve this: NVIDIA GTX GeForce drivers installation

Below there is a step by step instruction how to install and run the game:

  1. env WINEPREFIX=~/.wine32-heroes4 WINEARCH=win32 /opt/wine-staging/bin/winecfg

    In a popup window in Applications tab select Windows 7 option. Next switch to Graphics tab, check Virtual Desktop Emulation checkbox and fill in your desktop's resolution in use, for example 1366x768.

  2. cd [directory that contains the installation file Heroes_4/setup.exe (on the game's CDROM HEROES 1-4 Golden Edition) or file downloaded from GOG.com]
    env WINEPREFIX=~/.wine32-heroes4 WINEARCH=win32 /opt/wine-staging/bin/wine setup.exe

    It will launch installation process that installs the game. When installator installs the game it ask you if you want to install DirectX - click NO. After successful installation it will create shortcut on your Desktop that is meant to run the game. But it does not works properly. So you can run the game by issuing following command: cd ~/.wine32-heroes4/dosdevices/c\:/Program\ Files/Ubisoft/Heroes\ of\ Might\ and\ Magic\ IV\ -\ Zlota\ Edycja/
    env WINEPREFIX=~/.wine32-heroes4 WINEARCH=win32 /opt/wine-staging/bin/wine Heroes4.exe
    On the small screens the game's default window can be too large to fit the screen, so you must go to game's options and there change resolution to 800x600.

Sample screenshots