ZIP

From Valve Developer Community
Revision as of 06:22, 20 July 2023 by Lxm6 (talk | contribs)
Jump to navigation Jump to search

ZIP' is an archive file format with optional lossless compression. It is used in Source Source for the pakfile lump in BSP files, as well as for bonus map BMZ files. The ZIP file format supports several different compression format, although Source only supports uncompressed and, in some engine branches, Wikipedia icon LZMA.

Warning.pngWarning:Only certain engine branches and BSP versions support compressed pakfiles; Source 2013 Multiplayer and Jabroni Brawl: Episode 3 do, but Source 2013 Singleplayer and CS:GO engine branch do not!

Additionally, the ZIP file format is used for the PK3 and PK4 files used by Quake III id Tech 3 and id Tech 4 id Tech 4, respectively, which use the standard Wikipedia icon Deflate compression instead.

Structs

[Todo] Source 2013 Multiplayer and Source 2013 Singleplayer versions of 🖿zip_uncompressed.h, containing the structs used by Source to load ZIP files

See also

  • PAK, uncompressed archive format used by id Tech 2 id Tech 2 and GoldSrc GoldSrc
  • VPK, uncompressed archive format used by Source Source and Source 2 Source 2
  • GCF, uncompressed archive format formerly used by Steam Steam, prior to the SteamPipe update.
  • BZ2, single-file compression format used by FastDL servers (only in Source)

External links