Skip to content

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

License

Notifications You must be signed in to change notification settings

OortJacek/REGoth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REGoth

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

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++11(14?)-capable compiler. Currently supported are:

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.7%
  • Lua 5.8%
  • Makefile 2.3%
  • Other 1.2%