Skip to content

OpenEnroth/OpenEnroth

Repository files navigation

Might and Magic Trilogy

Windows Linux MacOS Doxygen Style Checker

We are creating an extensible engine & modding environment that would make it possible to play original Might&Magic VI-VIII games on modern platforms with improved graphics and quality-of-life features expected of modern titles, and make modding and installing & playing the mods a pleasurable experience.

Currently only MM7 is playable. You can check out the milestones to see where we're at.

screenshot_main

Download

To download the code without having to compile it we have our releases at https://github.com/OpenEnroth/OpenEnroth/releases

Currently there are only the nightly builds which may have bugs.

Discord

Join our discord channel to discuss, track progress or get involved in the development of this project.

Discord channel invite

Getting Started on Windows

  1. You will need a GoG or any other version of Might and Magic VII. Run the installer as usual.

  2. Download one of the prebuilt releases and unzip the files.

  3. From the dist folder inside the zip file copy OpenEnroth.exe and OpenEnroth.pdb to the folder where the game is installed.

  4. Run OpenEnroth.exe.

Getting Started on Ubuntu Linux

  1. You will need a GoG or any other version of Might and Magic VII. If you have an offline GoG installer, then follow these steps:

    • Install innoextract with sudo apt-get install innoextract.
    • Run innoextract -e -d <target-folder> <mm7-gog-folder>/setup_mm_7.exe, where <target-folder> is the folder where you want to have game data extracted from the mm7 installer.
    • Check the files in <target-folder>, it should now contain the app subfolder. This is where game assets were extracted into.
  2. Install OpenEnroth dependencies with sudo apt-get install libsdl2-dev libdwarf-dev libelf-dev.

  3. Download one of the prebuilt releases and unzip the files.

  4. From the dist folder inside the zip file copy the OpenEnroth binary to <target-folder>/app.

  5. Run OpenEnroth binary.

Getting Started on MacOS

  1. You will need a GoG or any other version of Might and Magic VII. If you have an offline GoG installer, then follow these steps:

    • Install innoextract with brew install innoextract.
    • Run innoextract -e -d <target-folder> <mm7-gog-folder>/setup_mm_7.exe, where <target-folder> is the folder where you want to have game data extracted from the mm7 installer.
    • Check the files in <target-folder>, it should now contain the app subfolder. This is where game assets were extracted into.
  2. Move extracted game assets to ~/Library/Application Support/OpenEnroth. This is where OpenEnroth will look for game data.

  3. Download one of the prebuilt releases and unzip the files.

  4. Run xattr -rc <extracted-path>/dist/OpenEnroth.app. This is needed because OpenEnroth binaries are unsigned, without this step the app bundle won't start.

  5. Start OpenEnroth.app.

Game Assets Path Override

You can set OPENENROTH_MM7_PATH env variable to point to the location of the game assets. If this variable is set, OpenEnroth will look for game assets only in the location it's pointing to. You might also want to add the following line to your bash profile (e.g. ~/.profile on Ubuntu or ~/.zshrc on Mac):

export OPENENROTH_MM7_PATH="<path-to-mm7-game-assets>"

Development

See the HACKING document for information on how to compile or if you intend to contribute.

See the code DOCUMENTATION.

Screenshots

screenshot_1

screenshot_2

screenshot_3

screenshot_4