Skip to content

GothicKit/ZenKitCAPI

Repository files navigation

ZenKit CAPI

Build License C++ Platforms Version

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).

Building

You will need:

  • A working compiler which supports C++17, like GCC 9
  • CMake 3.10 or above
  • Git

Basic

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/.

MinGW

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

About

C-bindings for ZenKit, the ZenGin asset parser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published