REGoth-project/REGoth


OpenSource-Reimplementation of the zEngine, used by the game "Gothic"

License: GPL-3.0

Language: C++

Keywords: cpp, engine, gothic, gothic2, reimplementation


REGoth Build status Build Status

OpenSource-Reimplementation of the zEngine, used by the game "Gothic" and "Gothic II".

Source

Make sure to clone this repository with the --recursive flag:

ssh:
git clone --recursive git@github.com:degenerated1123/REGoth.git
https:
git clone --recursive https://github.com/degenerated1123/REGoth.git

To update the repo, you need to make sure to update the submodules as well. Instead of simply pulling the repository, you can do:

git pull --recurse-submodules
git submodule update --remote --recursive

Building

You will need CMake (3.1 or newer) and a C++14-capable compiler. Currently supported/tested are:

  • GCC (6.x)
  • MinGW
  • Visual Studio 2015

Then:

cd path/to/REGoth
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..

If CMake complains about some folders missing a CMakeLists.txt, you most likely forgot to clone with the --recursive-flag! Simple do git submodule update --init --recursive and it should work.

Then, choose depending on your OS:

Linux

make -j

Windows

Open the generated REGoth.sln in VisualStudio and build as usual.

Running

The compiled files are inside the build/bin directory.

Make sure to copy the content/shaders folder to the working directory of the compiled REGoth-Executable. Then, run the program with the following flags:

REGoth -g "path/to/gothic1or2" -w startworld.zen

Where path/to/gothic1or2 points to the root of a Gothic I or II installation and startworld.zen is one of the Zen-Files found in a .vdf-files in the games data/-directory. For example: newworld.zen or addonworld.zen for Gothic II.

It is recommended to run this from the commandline, to see the debug-output of the program.

Examples

Gothic 1 - Overworld: REGoth -g "path/to/gothic1" -w world.zen

Gothic 1 - Oldmine: REGoth -g "path/to/gothic1" -w oldmine.zen

Gothic 1 - Freemine: REGoth -g "path/to/gothic1" -w freemine.zen

Gothic 1 - Sleeper temple: REGoth -g "path/to/gothic1" -w orctemple.zen

Gothic 2 - Overworld: REGoth -g "path/to/gothic2" -w newworld.zen

Gothic 2 - Valley of mines: REGoth -g "path/to/gothic2" -w oldworld.zen

Gothic 2 - Addonworld: REGoth -g "path/to/gothic2" -w addonworld.zen

Gothic 2 - Dragonisland: REGoth -g "path/to/gothic2" -w dragonisland.zen

Project Statistics

Sourcerank 8
Repository Size 5.74 MB
Stars 408
Forks 47
Watchers 90
Open issues 68
Dependencies 0
Contributors 4
Tags 599
Created
Last updated
Last pushed

Top Contributors See all

Andre Taulien FalseStar Leinnan OortJacek

Recent Tags See all

nightly-0.4.189 April 28, 2018
nightly-0.4.186 April 23, 2018
nightly-0.4.183 April 23, 2018
nightly-0.4.180 April 19, 2018
nightly-0.4.179 April 19, 2018
nightly-0.4.178 April 19, 2018
nightly-0.4.177 April 19, 2018
nightly-0.4.176 April 19, 2018
nightly-0.4.175 April 19, 2018
nightly-0.4.174 April 19, 2018
nightly-0.4.173 April 19, 2018
nightly-0.4.172 April 18, 2018
nightly-0.4.170 April 16, 2018
nightly-0.4.169 April 16, 2018
nightly-0.4.168 April 16, 2018

Interesting Forks See all

ErrorFlexXx/REGoth
OpenSource-Reimplementation of the zEngine, used by the game "Gothic"
C++ - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2016-11-24 17:21:08 UTC

Login to resync this repository