Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vpkmanager

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.

Mod Management

  • 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 pakNN names
  • List managed and unmanaged VPK files
  • Detect manually added, moved, or deleted files
  • Watch the addons directory for changes
  • Keep .dmm.json synchronized

Archive Operations

  • Parse and read VPK v1 and v2 archives
  • Handle multipart _dir.vpk archives
  • 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

Reliability

  • Atomic file and manifest updates
  • File locking and rollback on failure
  • Safe extraction with path traversal protection
  • No unsafe Rust

License

MIT

About

A simple VPK manager that acts as an abstraction layer for DMM

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages