`vunzip` is a command-line utility to unzip Valve's custom .vz compressed files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
crc
lzma
vunzip.xcodeproj
vunzip
vzip
.gitignore
Makefile
README.md
vzipformat.h

README.md

Vunzip

vunzip is a command-line utility to unzip Valve's custom .vz compressed files.

Building

On OS X, use the supplied Xcode project.

On Linux, use the Makefile.

This code has not been extensively tested on Windows, Linux or anything else, but I don't see why it shouldn't work there.

Credits

File format

Header

  • 2 bytes: 'VZ'
  • 1 bytes: Format version ('a')
  • 4 bytes: POSIX timestamp, assumedly of when the file was created

Body

  • LZMA-compressed content

Footer

  • 4 bytes: CRC32 of the decompressed content
  • 4 bytes: size of the decompressed content
  • 2 bytes: 'zv'