A C-library wrapping the phoenix 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 phoenix in cases where C++ can not be used (i.e. when interfacing with another programming language).
If you'd like to contribute, please read contributing first.
You will need:
- A working compiler which supports C++17, like GCC 9
- CMake 3.10 or above
- Git
To build phoenix-shared-interface from scratch, just open a terminal in a directory of your choice and run
git clone --recursive https://github.com/GothicKit/phoenix-shared-interface
cd phoenix-shared-interface
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
build
(tested mingw-w64 version: 12.2.0)
cmake -G "MinGW Makefiles" -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build