vpkmanager is the Rust abstraction layer for all VPK operations in Deadlock
Mod Manager (DMM). DMM calls this library instead of managing VPK files and the
.dmm.json manifest directly.
- Install and copy VPK files
- Move and rename VPK files
- Delete individual VPK files or complete mods
- Enable and disable mods
- Replace or extend installed mods
- Reorder mods and assign
pakNNnames - List managed and unmanaged VPK files
- Detect manually added, moved, or deleted files
- Watch the addons directory for changes
- Keep
.dmm.jsonsynchronized
- Parse and read VPK v1 and v2 archives
- Handle multipart
_dir.vpkarchives - List, read, extract, add, replace, rename, and remove entries
- Pack directories and in-memory files into VPK archives
- Verify file lengths and CRC32 checksums
- Merge VPK archives and report conflicts
- Split VPK archives by path rules
- Detect hero and asset paths
- Calculate SHA-256 hashes and content signatures
- Atomic file and manifest updates
- File locking and rollback on failure
- Safe extraction with path traversal protection
- No unsafe Rust
MIT