ZIP: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
(14 intermediate revisions by 6 users not shown) | |||
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. It is also most likely used to store game data for the {{360|4}} (or other consoles) version of {{source|4}} games{{Cite|1}}. The ZIP file format supports several different compression format, although Source only supports uncompressed and, in some engine branches, {{wiki|LZMA}}. Note that this is different from the more widely-supported {{w|Deflate}}. | |||
{{warning|Only certain engine branches | {{warning|Only certain engine branches support compressed pakfiles; {{src13mp}} and {{jbep3}} do, but {{src13sp}} and {{Csgobranch}} do not!}} | ||
== Structs == | == Structs == | ||
{{todo | {{todo|See [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 }} | ||
[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 | Unlike most file formats, a ZIP file's header is near the ''end'' of the file, meaning that if, for example, a ZIP file is concatenated to the end of a [[PAK]] file, the resulting file will be both a valid PAK file and a valid ZIP file. | ||
== See also == | == See also == | ||
* [[PAK]], uncompressed archive format used by {{idtech2|4}} and {{ | * [[PAK]], uncompressed archive format used by {{idtech2|4}} and {{gldsrc|4}} | ||
* [[VPK (file format)|VPK]], uncompressed archive format used by {{src|4}} and {{src2|4}} | * [[VPK (file format)|VPK]], uncompressed archive format used by {{src|4}} and {{src2|4}} | ||
* [[GCF archive|GCF]], uncompressed archive format formerly used by {{steamicon|4}}, prior to the SteamPipe update. | * [[GCF archive|GCF]], uncompressed archive format formerly used by {{steamicon|4}}, prior to the SteamPipe update. | ||
Line 19: | Line 16: | ||
* {{wiki|ZIP (file format)}} on Wikipedia | * {{wiki|ZIP (file format)}} on Wikipedia | ||
[[ | {{references|1= | ||
[[ | {{ref2|cite id=1|[[User:kr0tchet]] - Currently I only seen that from the {{p3|4}} leaked {{x360|4}} build (the zip file was named as {{file|zip0.360|zip}}), and can be only opened by using 7-Zip (WinRAR cause an error about unexpected end of archive), not sure if console's {{tob|4}} also store some it's game files to ZIP aswell.}} | ||
}} | |||
[[Category:files]] | |||
[[Category:file formats]] |
Latest revision as of 08:03, 26 March 2025
ZIP is an archive file format with optional lossless compression. It is used in Source for the pakfile lump in BSP files, as well as for bonus map BMZ files. It is also most likely used to store game data for the
Xbox 360 (or other consoles) version of
Source games[1]. The ZIP file format supports several different compression format, although Source only supports uncompressed and, in some engine branches,
LZMA. Note that this is different from the more widely-supported
Deflate.
Structs
Todo: See Source 2013 Multiplayer and Source 2013 Singleplayer versions of 

zip_uncompressed.h
, containing the structs used by Source to load ZIP files Unlike most file formats, a ZIP file's header is near the end of the file, meaning that if, for example, a ZIP file is concatenated to the end of a PAK file, the resulting file will be both a valid PAK file and a valid ZIP file.
See also
- PAK, uncompressed archive format used by
id Tech 2 and
GoldSrc
- VPK, uncompressed archive format used by
Source and
Source 2
- GCF, uncompressed archive format formerly used by
Steam, prior to the SteamPipe update.
- BZ2, single-file compression format used by FastDL servers (only in
)
External links
ZIP (file format) on Wikipedia
References
References | ||
---|---|---|
|