siredmar / mdcii-engine

Platform independent remake of the game Anno 1602/1602AD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MDCII Game Engine

CircleCI Codacy Badge CodeFactor

The main goal of this project is to provide an independent reimplementation of the game engine for Anno 1602/1602 AD under a free license.

Note: Supported versions of the original game are NINA ("Neue Inseln, Neue Abenteuer", "New Islands, New Adventures"), Königsedition (Kings Edition), Gold Edition. The original vanilla game without the NINA addon won't work, because of hardcoded stuff in the .exe files. The new published version 'History Edition' currently won't work either, because of changed BSH files.

Currently this project contains several helper tools:

  • bshdump
  • bshpacker
  • cod_parser
  • codcat
  • gam_parser
  • paldump
  • zeidump
  • inselbmp
  • weltbmp
  • zeitext

The most complex program is mdcii-sdltest that can load savegames and scenario files and animate the buildings.

Requirements

  • g++-8 or greater
  • SDL2
  • boost
  • protobuf

Media

See this video for a short demonstration of an earlier stage

mdcii youtube playlist

How to build (currently only debug build!)

Clone the repo

$ mkdir build
$ cd build
$ cmake -DCMAKE_CXX_FLAGS="-Wno-error=deprecated-copy" -DCMAKE_BUILD_TYPE=Debug ..
$ make -j$(nproc)

The main program is called mdcii-sdltestd.

How to run the game

The game uses the original files from your Anno 1602/1602 AD installation.

$ ./mdcii-sdltestd -p <path-to-1602-ad-installation>

License

GPL Version 2 or newer, see COPYING.

About

Platform independent remake of the game Anno 1602/1602AD.

License:GNU General Public License v2.0


Languages

Language:C++ 85.0%Language:Python 9.6%Language:CMake 3.6%Language:C 0.7%Language:Shell 0.5%Language:Starlark 0.5%Language:Makefile 0.1%Language:Dockerfile 0.0%