A C-library wrapping the ZenKit library for parsing game assets of PiranhaBytes' early 2000's games Gothic and Gothic II. This library is intended to be used as a proxy to ZenKit in cases where C++ can not be used (i.e. when interfacing with another programming language).
You will need:
- A working compiler which supports C++17, like GCC 9
- CMake 3.10 or above
- Git
To build ZenKitCAPI from scratch, just open a terminal in a directory of your choice and run
git clone --recursive https://github.com/GothicKit/ZenKitCAPI
cd ZenKitCAPI
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
You will find the built library in build/
.
If you want to build with MinGW on Windows, follow these instructions
Setup
choco install mingw
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=User'
Build
cmake -G "MinGW Makefiles" -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build