ZIP: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
'''ZIP''' is an archive file format with optional lossless compression. It is used in {{src|4.1}} for the [[BSP (Source)#Pakfile|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, {{wiki|LZMA}}.
[[ZIP]]' is an archive file format with optional lossless compression. It is used in {{src|4.1}} for the [[BSP (Source)#Pakfile|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, {{wiki|LZMA}}.


{{warning|Only certain engine branches and BSP versions support compressed pakfiles; {{src13mp}} and {{jbep3}} do, but {{src13sp}} and {{Csgobranch}} do not!}}
{{warning|Only certain engine branches and BSP versions support compressed pakfiles; {{src13mp}} and {{jbep3}} do, but {{src13sp}} and {{Csgobranch}} do not!}}
Line 5: Line 5:
<!-- PK3 redirects here, as linked from some tool software pages-->
<!-- PK3 redirects here, as linked from some tool software pages-->
Additionally, the ZIP file format is used for the '''PK3''' and '''PK4''' files used by {{quake3|4.1|nt=3}} and {{idtech4|4.1}}, respectively, which use the standard {{wiki|Deflate}} compression instead.
Additionally, the ZIP file format is used for the '''PK3''' and '''PK4''' files used by {{quake3|4.1|nt=3}} and {{idtech4|4.1}}, respectively, which use the standard {{wiki|Deflate}} compression instead.
== Structs ==
{{todo}}
[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/zip_uncompressed.h Source 2013 Multiplayer] and [https://github.com/ValveSoftware/source-sdk-2013/blob/master/sp/src/public/zip_uncompressed.h Source 2013 Singleplayer] versions of {{file|zip_uncompressed|h}}, containing the [[struct]]s used by Source to load ZIP files


== See also ==
== See also ==
Line 14: Line 18:
== External links ==
== External links ==
* {{wiki|ZIP (file format)}} on Wikipedia
* {{wiki|ZIP (file format)}} on Wikipedia
* [https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/zip_uncompressed.h Source 2013 Multiplayer] and [https://github.com/ValveSoftware/source-sdk-2013/blob/master/sp/src/public/zip_uncompressed.h Source 2013 Singleplayer] versions of {{file|zip_uncompressed|h}}, containing the [[struct]]s used by Source to load ZIP files


[[category:files]]
[[category:files]]
[[category:file formats]]
[[category:file formats]]

Revision as of 06:22, 20 July 2023

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