Skip to content

Poligraf/homm2_retrofw

Repository files navigation

fheroes2

Compile with

make -j4 CXX=mipsel-linux-g++ AR=mipsel-linux-ar CC=mipsel-linux-gcc STRIP=mipsel-linux-strip PREFIX=/run/media/raboten/c03df044-bb85-4f9c-a53f-e537b8a024a0/buildroot/output/host/mipsel-RetroFW-linux-uclibc/sysroot/usr/include/ PLATFORM=unix

Build status Build status CodeFactor Github Downloads (monthly)

Direct continuation of free implementation of Heroes of the Might and Magic II engine. The original project had been developed at sourceforge.

Copyright

All rights for the original game and it's 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 do not provide any information about downloading of the original game in any form.

Download

You can download compiled game for specific OS via Github releases of this project.

Compilation

Please follow below instructions to be able to compile the project:

Windows

  • Optional step: Install 7-zip archiver at your local system's folder as- C:\Program Files\7-Zip\7z.exe or otherwise, you will need to manually extract each downloaded package (follow instructions shown by batch scripts mentioned below).
  • open script/windows directory and run install_packages.bat file. It installs necessary packages for Visual Studio build.
  • open script/demo directory and run demo_windows.bat file. It downloads a demo version of the game which is needed for minimum development.
  • open fheroes.vcxproj by Visual Studio and compile the project.

MacOS and Linux

  • open script/macos or script/linux directory depending on your OS and run install_sdl_1.sh or install_sdl_2.sh file. For MacOS we recommend to run SDL 2 as latest versions of MacOS do not support SDL 1 fully.
  • open script/demo directory 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.
  • run make command in root directory of the project. For SDL 2 compilation please run export WITH_SDL2="ON" command before compiling the project.

Requirements

You are required to have at least a demo version of Heroes of Might and Magic II game to be able to play it.

Contribution

We welcome and appreciate any help, even if it's a tiny text or code change. Please read contribution page before starting work on a pull request. All contributors are listed in the project's wiki page. Not sure what to start with? Feel free to refer to good first issue or help wanted tags.

License

This project is under GNU General Public License v2.0. Please refer to file LICENSE for more details.