node-vvpk-cli
v1.0.0
Published
Manage Valve Pak files from a command-line
Downloads
3
Readme
node-vvpk-cli
Open, Search, Extract and Create Valve VPKs on the Node.js platform using a command-line
This tool is simply a wrapper for node-vvpk that enables CLI integration.
NOTE: This tool doesn't yet support chunking (split VPK files) due to the underlying library not supporting it.
Install
npm install -g node-vvpk-cli
Usage
node-vvpk [options] [command]
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
list [options] <vpk file> List files within VPK
create [options] <dir> <vpk file> Create a VPK file from a directory
extract [options] <vpk file> <dir> Extract a VPK file
verify [options] <vpk file> Verify contents of a VPK
help [command] display help for command
Examples
List VPK file contents
node-vvpk list -pe latin1 ~/Desktop/sample.vpk
Create VPK file from directory
node-vvpk create -pv 1 ~/Desktop/vpktmp ~/Desktop/sample.vpk
Extract VPK file to directory
node-vvpk extract ~/Desktop/sample.vpk ~/Desktop/vpkextract
Verify VPK file integrity
node-vvpk verify ~/Desktop/sample.vpk