vpk
VPK File Format Parser (extract and archive)
Require
- Ruby 1.9
What is VPK
VPK means “Valve Pak”. Description is here developer.valvesoftware.com/wiki/VPK
Install
gem install vpk
Usage
Extract from your vpk file
require 'vpk'
VPK::VPKFile.new("./path_to.vpk").extract_to("./")
Archive your directory
require 'vpk'
VPK::VPKFile.archive("./path_to_dir").write_to("./archive.vpk")