Rust readers, writers and a Daedalus runtime for Gothic I and II archives, assets, object graphs, worlds and savegames. Tested on Windows x64 with Rust 1.99.0.
Start with the crate guide and examples. Ordinary and Union compressed VDF support is included by default.
The crate carries its own license.
The world viewer renders Gothic I and II world geometry and static objects with a keyboard and mouse free camera. It requires your own game installation and uses a separate Cargo workspace and dependency lockfile. Run it from the repository root:
cargo run --manifest-path examples/world-viewer/Cargo.toml --release --locked -- NEWWORLD.ZEN --game g2 --game-dir '<GOTHIC_II_DIR>'See the demo guide for controls and screenshots. Tested on Windows x64.
Requires Rust 1.99.0, selected automatically by rust-toolchain.toml.
Run from the repository root:
# Debug build (target/debug/)
cargo build --workspace --locked
# Optimized build (target/release/)
cargo build --workspace --release --lockedTo build the example programs in target/release/examples/:
cargo build -p zenkit --examples --release --lockedOn Windows with MSVC, linking the examples and tests needs the MSVC linker and Windows SDK.
Use Rust 1.99.0:
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo test --workspace --all-targets --locked
cargo test --workspace --doc --locked
cargo doc --workspace --no-deps --lockedSynthetic test fixtures live under crates/zenkit/tests/fixtures/.
Original game data and derived payloads are not included.
GitHub Actions runs these checks on Windows x64, including documentation generation with warnings denied.