View on GitHub

fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.

fheroes2 installation guide

Requirements

You will need to have a demo version or the full version of Heroes of Might and Magic II game to be able to play. We strongly advise to purchase the original game on GOG or Ubisoft Store platforms.

Alternatively, you can download a free demo version of the game (in English only) using the bundled script. See detailed instructions below.

Installation

Precompiled binaries of the release version are currently available for the following platforms and operating systems:

Alternatively, you can download the precompiled binaries of the latest commit (snapshot) here.

Windows

Windows installer

Windows ZIP archive

If you see complaints about missing DLLs when running fheroes2, then you may need to install the Microsoft Visual C++ redistributable package. You can download it using the following URLs:

https://aka.ms/vs/17/release/vc_redist.x64.exe - for 64-bit x64 fheroes2 builds;
https://aka.ms/vs/17/release/vc_redist.x86.exe - for 32-bit x86 fheroes2 builds.

macOS

Homebrew

If you are using Homebrew, you can install the game by running the following command:

brew install fheroes2

Follow the instructions below to gather resources necessary for fheroes2 to function as expected.

MacPorts

If you are using MacPorts, you can install the game by running the following command:

port install fheroes2

Then follow the instructions on the screen.

Follow the instructions below to gather resources necessary for fheroes2 to function as expected.

macOS ZIP archive

Follow the instructions below to gather resources necessary for fheroes2 to function as expected.

macOS native app

make FHEROES2_MACOS_APP_BUNDLE=ON
make FHEROES2_MACOS_APP_BUNDLE=ON bundle

Follow the instructions below to gather resources necessary for fheroes2 to function as expected.

Gathering game resources

Once you obtain the fheroes2 executable using any of the options above, you should follow these steps to load in the correct resources:

Linux

Flatpak

If you are using Flatpak and Flathub, you can install the game by running the following command:

flatpak install flathub io.github.ihhub.Fheroes2

And launch from the start menu or the console:

flatpak run io.github.ihhub.Fheroes2

Alternatively, you can use an application manager like Discover, which is also available on Steam Deck.

After the first start you will be asked for the original files. There are three possibilities:

  1. Install GOG version (recommended)
  2. Manual install
  3. Install demo

The recommended option requires the Heroes of Might and Magic II installer file (*.exe) from GOG. This will extract the appropriate resources by itself.

For the manual installation you have to copy the subdirectories ANIM, DATA, MAPS and MUSIC from the original game or demo directory to the ~/.var/app/io.github.ihhub.Fheroes2/data/fheroes2 directory. The destination folder will be opened when this option is selected.

Homebrew

If you are using Homebrew, you can install the game by running the following command:

brew install fheroes2

If you have a legally purchased copy of the original game, copy the subdirectories ANIM, DATA, MAPS and MUSIC (some of them may be missing depending on the version of the original game) from the original game directory to the $XDG_DATA_HOME/fheroes2 (usually ~/.local/share/fheroes2) directory. Otherwise, you can download and install the demo version of the original game by running the /usr/share/fheroes2/download_demo_version.sh script.

AUR package

If you are using Arch Linux or compatible distribution, you can install fheroes2 package from AUR (Arch User Repository).

Install using AUR helper

If you use one of AUR helpers, e.g. yay, you can install the game by running the following command:

yay -S aur/fheroes2

Install using official guide

Follow official guide. One of possible command sets:

git clone https://aur.archlinux.org/fheroes2.git
cd fheroes2
makepkg -si

Linux ZIP archive

Android

PlayStation Vita

Please note: you need to be running custom firmware for it to work.

Nintendo Switch

Please note: you need to be running custom firmware for it to work.

Snapshots (latest builds)

You can download the precompiled binaries of the latest commit (snapshot) for Windows ( x64 SDL2, x64 SDL1, x86 SDL2 and x86 SDL1 ), macOS x86-64 ( SDL2 and SDL1 ), Ubuntu ( x86-64 SDL2, x86-64 SDL1, ARM64 SDL2 and ARM64 SDL1 ), Android, PlayStation Vita and Nintendo Switch. These binaries incorporate all the latest changes, but also all the latest bugs, and are mainly intended for developers.

DON’T EXPECT THEM TO WORK PROPERLY.