Giter VIP home page Giter VIP logo

fheroes2's Introduction

fheroes2

Build status Build status Github Downloads (monthly) Discord Donate

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

Download

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

Please note that for 32-bit version of the game on Windows OS you have to install Visual Studio 2015 Redistributable (vc_redist.x86.exe) if you face an error during application startup.

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 II 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. Please go to script/macos or 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. For MacOS we highly recommend to use SDL 2 as latest versions of MacOS does not support SDL 1 fully.

Compilation

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

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

Windows

  • Optional step: Install 7-zip archiver at its default location 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 does 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.

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. 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.

The original project had been developed at sourceforge

Donation

Currently we accept donations via 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

fheroes2's People

Contributors

ihhub avatar idshibanov avatar shprotru avatar andrey-starodubtsev avatar undef21 avatar vasilenkoalexey avatar kgorecki avatar lumary2 avatar mariasopkova avatar palashbansal avatar ghostbot avatar moiman avatar thdankert avatar taeber avatar werfu avatar mateosss avatar mast4461 avatar vanfanel avatar euronay avatar bjauny avatar tr0id avatar mgasil avatar eos428 avatar babywashbear avatar yoshivb avatar 4d17y4 avatar swarupe avatar pathway27 avatar cruxbox avatar rsathya4802 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.