This article's documentation is for anything that uses the Source engine. Click here for more information.

xzptool

From Valve Developer Community
Jump to navigation Jump to search

English (en)Translate (Translate)
Developer(s)
Initial release
Mar 11, 2025
Stable release
Jan 8, 2026
Written in
C++
Operating system
Windows
Type
Other
Target engine(s)
Source
Distribution
Free and open-source
Download
Version
1.0.1

xzptool xzptool is a command-line utility that can decompress .xz_ compressed blobs into .xzp archives, and vice versa.

In the Xbox port of Half-Life 2, since the game was large they needed to compress their custom archive format, XZP. They used JCALG1 compression to create a custom compression format, and when the game booted it would extract the archives from the compressed blobs stored on the DVD to the Xbox's hard drive.

This utility is a cleanroom recreation of the xcompress tool, which was never publicly shipped. Rather than perfectly replicate Valve's interface, it performs the appropriate action depending on the input, allowing the user to simply drag .xz_ and/or .xzp files on top of it.

See also

External links