Giter VIP home page Giter VIP logo

fheroes2's Introduction

fheroes2

Github Downloads Discord Facebook VK Donate

Free implementation of Heroes of Might and Magic II game engine.

Download

You can download a compiled version of the game for your operating system at Github releases of this project.

Copyright

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.

Requirements

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.

Mac OS

Please go to script/macos and run install_sdl_1.sh or install_sdl_2.sh file. For MacOS we highly recommend to use SDL 2 as latest versions of MacOS do not fully support SDL 1.

Debian-based

Please go to script/linux directory and run install_sdl_1.sh or install_sdl_2.sh file.

Arch

For Arch based Linux distributions use the command sudo pacman -S sdl sdl_mixer.

RedHat-based

RPM based distributions like Fedora/Red Hat use the commands sudo yum install SDL* or sudo dnf install SDL*.

OpenSUSE

openSUSE supports the One-Click-Install via SDL_mixer.ymp file in script/linux.

Gentoo

If you have Gentoo, in addition to basic distribution you need to run following command emerge --ask media-libs/sdl2-mixer media-libs/sdl2-ttf.

Compilation

Build status Build status Build Status

Maintainability Rating Reliability Rating Bugs Code Smells Duplicated Lines (%) Language grade: C/C++ Total alerts

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

Windows

  • 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 fheroes2-vs2015.vcxproj or fheroes2-vs2019.vcxproj file depending on your Visual Studio and compile the project.

MacOS and Linux

  • open script/macos or script/linux directory 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.
  • open script/demo directory and run demo_unix.sh file. 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 1 compilation please run export FHEROES2_SDL1="ON" command before compiling the project.

Compilation with CMake

If you would like to build the project using CMake please follow the instructions on this page.

Contribution

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.

License

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.

Donation

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.

Donate Donate

fheroes2's People

Contributors

ihhub avatar idshibanov avatar oleg-derevenetz avatar undef21 avatar shprotru avatar eos428 avatar vincent-grosbois avatar kant2002 avatar vasilenkoalexey avatar andrey-starodubtsev avatar tau3 avatar northfear avatar dimag0g avatar emotionalamoeba avatar oroty avatar killbrum avatar kgorecki avatar lumary2 avatar mariasopkova avatar palashbansal avatar ghostbot avatar taeber avatar hgdagon avatar moiman avatar dreamer avatar thdankert avatar pathway27 avatar mr1bitl8r avatar werfu avatar mateosss avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.