Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

dayzmake-core library

The file-format code lives in the dayzmake-core crate (crates/dayzmake-core): PBO, configs, P3D, PAA, BI keys and signatures and navigation meshes (.nm, with their generator), with no CLI dependencies. It never prints; warnings go to a WarningSink you provide, so it is safe to use from many threads.

cargo add dayzmake-core

Features: sign (BI keys and signatures), image (PAA from and to images) and navmesh (the navmesh generator: the data-server client, the tile builder and the .nm reader and writer), all on by default; default-features = false builds without them. The API documentation has a complete example (key, PAA, pack, sign, verify). The licence is GPL-2.0-or-later, so GPLv3 and AGPLv3 projects may link it. dayzmake-core is versioned independently of the CLI.

Third-party code

The navmesh module of dayzmake-core contains Rust ports of Recast and Detour by Mikko Mononen (zlib licence), altered for DayZ. The files keep the original copyright line and the zlib notice, and say that they were ported to Rust and altered and are not the original software. The zlib licence is compatible with GPL-2.0-or-later.

The API documentation of the version on main is published with this site: dayzmake_core. Released versions are on docs.rs.