summaryrefslogtreecommitdiff
path: root/magic/Magdir/compress
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2013-08-15 12:53:10 +0000
committerChristos Zoulas <christos@zoulas.com>2013-08-15 12:53:10 +0000
commit15de91da1e9a5dbd05fe7f430ba260a058616f54 (patch)
treebc34f57431af5a68f81deeb34509d62936ad03bf /magic/Magdir/compress
parent21d5bba5c7e4e67370573297d3dd635f57268654 (diff)
downloadfile-git-15de91da1e9a5dbd05fe7f430ba260a058616f54.tar.gz
PR/273: oblomov: Add valve pack files.
Diffstat (limited to 'magic/Magdir/compress')
-rw-r--r--magic/Magdir/compress8
1 files changed, 7 insertions, 1 deletions
diff --git a/magic/Magdir/compress b/magic/Magdir/compress
index 80c2eea6..3b62971d 100644
--- a/magic/Magdir/compress
+++ b/magic/Magdir/compress
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
-# $File: compress,v 1.48 2011/12/07 18:39:43 christos Exp $
+# $File: compress,v 1.49 2011/12/07 22:04:27 christos Exp $
# compress: file(1) magic for pure-compression formats (no archives)
#
# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
@@ -229,3 +229,9 @@
>6 byte >-1 %i)
>7 long >0 , original size: %i bytes
>15 long >30 , block size: %i bytes
+
+# Valve Pack (VPK) files
+0 lelong 0x55aa1234 Valve Pak file
+>0x4 lelong x \b, version %u
+>0x8 lelong x \b, %u entries
+