Free implementation of Heroes of Might and Magic II game engine.
You can download a compiled version of the game for your operating system at Github releases of this project.
All rights for the original game and its resources belong to former The 3DO Company. These rights were transferred to Ubisoft. We do not encourage and do not support any form of illegal usage of the original game. 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.
You are required to have at least a demo version of Heroes of Might and Magic 2 game to be able to play it. Please use one of our scripts to download the demo version of the original game. A script comes with the compiled game.
MacOS and Linux
Unix OSes need an explicit installation of SDL packages. Please go to
script/linux directory depending on your OS package and run install_sdl_1.sh or install_sdl_2.sh file. For Arch based Linux distributions use the command
sudo pacman -S sdl sdl_mixer instead. RPM based distributions like Fedora/Red Hat use the commands
sudo yum/dnf install SDL*. openSUSE supports the One-Click-Install via
SDL_mixer.ymp file in
script/linux. For MacOS we highly recommend to use SDL 2 as latest versions of MacOS do not fully support SDL 1.
Please follow below instructions to be able to compile the project:
- Optional step: Install 7-zip archiver at its default location as
C:\Program Files\7-Zip\7z.exeor otherwise, you will need to manually extract each downloaded package (follow the instructions shown by batch scripts mentioned below).
script/windowsdirectory and run install_packages.bat file. It installs necessary packages for Visual Studio build.
script/demodirectory and run demo_windows.bat file. It downloads a demo version of the game which is needed for minimum development.
- open fheroes2-vs2015.vcxproj or fheroes2-vs2019.vcxproj file depending on your Visual Studio and compile the project.
MacOS and Linux
script/linuxdirectory depending on your OS and run install_sdl_2.sh (default setup) or install_sdl_1.sh file. For MacOS we do not recommend to run SDL 1 as latest versions of MacOS do not support it fully.
script/demodirectory and run demo_macos.sh or demo_linux.sh file depending on your OS. It downloads a demo version of the game which is needed for minimum development.
makecommand in root directory of the project. For SDL 1 compilation please run
export FHEROES2_SDL1="ON"command before compiling the project.
We welcome and appreciate any help, even if it is a tiny text or code change. Please read contribution page before starting work on a pull request. Not sure what to start with? Feel free to refer to good first issue or help wanted tags.
This project is under GNU General Public License v2.0. Please refer to file LICENSE for more details.
The original project had been developed at sourceforge.
We accept donations via Patreon or PayPal. All donations will be used only for the future project development as we do not consider this project as a source of income by any means.