]> granicus.if.org Git - file/commitdiff
Added Valve VTF3 (PS3) detection. (David Korth)
authorChristos Zoulas <christos@zoulas.com>
Sat, 23 Jun 2018 16:38:52 +0000 (16:38 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 23 Jun 2018 16:38:52 +0000 (16:38 +0000)
magic/Magdir/images

index a907e83114baf24cea662a9dedb9b529b4a2b568..c9cf754be7bb19184a4105ab11b716a526a8fee9 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.139 2018/06/23 16:38:43 christos Exp $
+# $File: images,v 1.140 2018/06/23 16:38:52 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 >0x38  byte    x                               \b, mipmaps: %u
 >0x34  lelong  >-1                             \b,
 >>0x34 use     vtf-image-format
+
+# Type: Valve VTF3 (PS3) texture.
+# From: David Korth <gerbilsoft@gerbilsoft.com>
+0      string          VTF3    Valve Texture Format (PS3)
+>0x14  beshort         x       \b, %u
+>0x16  beshort         x       \b x %u
+>0x10  belong&0x2000   0       \b, DXT1
+>0x10  belong&0x2000   0x2000  \b, DXT5