xref: /freebsd/contrib/file/magic/Magdir/games (revision 98e0ffaefb0f241cda3a72395d3be04192ae0d47)
1
2#------------------------------------------------------------------------------
3# $File: games,v 1.14 2014/04/30 21:41:02 christos Exp $
4# games:  file(1) for games
5
6# Fabio Bonelli <fabiobonelli@libero.it>
7# Quake II - III data files
80       string  IDP2        	Quake II 3D Model file,
9>20     long    x               %u skin(s),
10>8      long    x               (%u x
11>12     long    x 		%u),
12>40     long    x               %u frame(s),
13>16     long    x               Frame size %u bytes,
14>24     long  	x               %u vertices/frame,
15>28     long    x            	%u texture coordinates,
16>32     long    x               %u triangles/frame
17
180       string  IBSP            Quake
19>4      long    0x26            II Map file (BSP)
20>4      long    0x2E      	III Map file (BSP)
21
220       string  IDS2            Quake II SP2 sprite file
23
24#---------------------------------------------------------------------------
25# Doom and Quake
26# submitted by Nicolas Patrois
27
280       string  \xcb\x1dBoom\xe6\xff\x03\x01    Boom or linuxdoom demo
29# some doom lmp files don't match, I've got one beginning with \x6d\x02\x01\x01
30
3124      string  LxD\ 203        Linuxdoom save
32>0      string  x       , name=%s
33>44     string  x       , world=%s
34
35# Quake
36
370       string  PACK    Quake I or II world or extension
38>8	lelong	>0	\b, %d entries
39
40#0       string  -1\x0a  Quake I demo
41#>30     string  x        version %.4s
42#>61     string  x        level %s
43
44#0       string  5\x0a   Quake I save
45
46# The levels
47
48# Quake 1
49
500	string	5\x0aIntroduction             Quake I save: start Introduction
510	string	5\x0athe_Slipgate_Complex     Quake I save: e1m1 The slipgate complex
520	string	5\x0aCastle_of_the_Damned     Quake I save: e1m2 Castle of the damned
530	string	5\x0athe_Necropolis           Quake I save: e1m3 The necropolis
540	string	5\x0athe_Grisly_Grotto        Quake I save: e1m4 The grisly grotto
550	string	5\x0aZiggurat_Vertigo         Quake I save: e1m8 Ziggurat vertigo (secret)
560	string	5\x0aGloom_Keep               Quake I save: e1m5 Gloom keep
570	string	5\x0aThe_Door_To_Chthon       Quake I save: e1m6 The door to Chthon
580	string	5\x0aThe_House_of_Chthon      Quake I save: e1m7 The house of Chthon
590	string	5\x0athe_Installation         Quake I save: e2m1 The installation
600	string	5\x0athe_Ogre_Citadel         Quake I save: e2m2 The ogre citadel
610	string	5\x0athe_Crypt_of_Decay       Quake I save: e2m3 The crypt of decay (dopefish lives!)
620	string	5\x0aUnderearth               Quake I save: e2m7 Underearth (secret)
630	string	5\x0athe_Ebon_Fortress        Quake I save: e2m4 The ebon fortress
640	string	5\x0athe_Wizard's_Manse       Quake I save: e2m5 The wizard's manse
650	string	5\x0athe_Dismal_Oubliette     Quake I save: e2m6 The dismal oubliette
660	string	5\x0aTermination_Central      Quake I save: e3m1 Termination central
670	string	5\x0aVaults_of_Zin            Quake I save: e3m2 Vaults of Zin
680	string	5\x0athe_Tomb_of_Terror       Quake I save: e3m3 The tomb of terror
690	string	5\x0aSatan's_Dark_Delight     Quake I save: e3m4 Satan's dark delight
700	string	5\x0athe_Haunted_Halls        Quake I save: e3m7 The haunted halls (secret)
710	string	5\x0aWind_Tunnels             Quake I save: e3m5 Wind tunnels
720	string	5\x0aChambers_of_Torment      Quake I save: e3m6 Chambers of torment
730	string	5\x0athe_Sewage_System        Quake I save: e4m1 The sewage system
740	string	5\x0aThe_Tower_of_Despair     Quake I save: e4m2 The tower of despair
750	string	5\x0aThe_Elder_God_Shrine     Quake I save: e4m3 The elder god shrine
760	string	5\x0athe_Palace_of_Hate       Quake I save: e4m4 The palace of hate
770	string	5\x0aHell's_Atrium            Quake I save: e4m5 Hell's atrium
780	string	5\x0athe_Nameless_City        Quake I save: e4m8 The nameless city (secret)
790	string	5\x0aThe_Pain_Maze            Quake I save: e4m6 The pain maze
800	string	5\x0aAzure_Agony              Quake I save: e4m7 Azure agony
810	string	5\x0aShub-Niggurath's_Pit     Quake I save: end Shub-Niggurath's pit
82
83# Quake DeathMatch levels
84
850	string	5\x0aPlace_of_Two_Deaths	 Quake I save: dm1 Place of two deaths
860	string	5\x0aClaustrophobopolis		 Quake I save: dm2 Claustrophobopolis
870	string	5\x0aThe_Abandoned_Base		 Quake I save: dm3 The abandoned base
880	string	5\x0aThe_Bad_Place		 Quake I save: dm4 The bad place
890	string	5\x0aThe_Cistern		 Quake I save: dm5 The cistern
900	string	5\x0aThe_Dark_Zone		 Quake I save: dm6 The dark zone
91
92# Scourge of Armagon
93
940	string	5\x0aCommand_HQ               Quake I save: start Command HQ
950	string	5\x0aThe_Pumping_Station      Quake I save: hip1m1 The pumping station
960	string	5\x0aStorage_Facility         Quake I save: hip1m2 Storage facility
970	string	5\x0aMilitary_Complex         Quake I save: hip1m5 Military complex (secret)
980	string	5\x0athe_Lost_Mine            Quake I save: hip1m3 The lost mine
990	string	5\x0aResearch_Facility        Quake I save: hip1m4 Research facility
1000	string	5\x0aAncient_Realms           Quake I save: hip2m1 Ancient realms
1010	string	5\x0aThe_Gremlin's_Domain     Quake I save: hip2m6 The gremlin's domain (secret)
1020	string	5\x0aThe_Black_Cathedral      Quake I save: hip2m2 The black cathedral
1030	string	5\x0aThe_Catacombs            Quake I save: hip2m3 The catacombs
1040	string	5\x0athe_Crypt__              Quake I save: hip2m4 The crypt
1050	string	5\x0aMortum's_Keep            Quake I save: hip2m5 Mortum's keep
1060	string	5\x0aTur_Torment              Quake I save: hip3m1 Tur torment
1070	string	5\x0aPandemonium              Quake I save: hip3m2 Pandemonium
1080	string	5\x0aLimbo                    Quake I save: hip3m3 Limbo
1090	string	5\x0athe_Edge_of_Oblivion     Quake I save: hipdm1 The edge of oblivion (secret)
1100	string	5\x0aThe_Gauntlet             Quake I save: hip3m4 The gauntlet
1110	string	5\x0aArmagon's_Lair           Quake I save: hipend Armagon's lair
112
113# Malice
114
1150	string	5\x0aThe_Academy      Quake I save: start The academy
1160	string	5\x0aThe_Lab          Quake I save: d1 The lab
1170	string	5\x0aArea_33          Quake I save: d1b Area 33
1180	string	5\x0aSECRET_MISSIONS  Quake I save: d3b Secret missions
1190	string	5\x0aThe_Hospital     Quake I save: d10 The hospital (secret)
1200	string	5\x0aThe_Genetics_Lab Quake I save: d11 The genetics lab (secret)
1210	string	5\x0aBACK_2_MALICE    Quake I save: d4b Back to Malice
1220	string	5\x0aArea44           Quake I save: d1c Area 44
1230	string	5\x0aTakahiro_Towers  Quake I save: d2 Takahiro towers
1240	string	5\x0aA_Rat's_Life     Quake I save: d3 A rat's life
1250	string	5\x0aInto_The_Flood   Quake I save: d4 Into the flood
1260	string	5\x0aThe_Flood        Quake I save: d5 The flood
1270	string	5\x0aNuclear_Plant    Quake I save: d6 Nuclear plant
1280	string	5\x0aThe_Incinerator_Plant    Quake I save: d7 The incinerator plant
1290	string	5\x0aThe_Foundry              Quake I save: d7b The foundry
1300	string	5\x0aThe_Underwater_Base      Quake I save: d8 The underwater base
1310	string	5\x0aTakahiro_Base            Quake I save: d9 Takahiro base
1320	string	5\x0aTakahiro_Laboratories    Quake I save: d12 Takahiro laboratories
1330	string	5\x0aStayin'_Alive    Quake I save: d13 Stayin' alive
1340	string	5\x0aB.O.S.S._HQ      Quake I save: d14 B.O.S.S. HQ
1350	string	5\x0aSHOWDOWN!        Quake I save: d15 Showdown!
136
137# Malice DeathMatch levels
138
1390	string	5\x0aThe_Seventh_Precinct	 Quake I save: ddm1 The seventh precinct
1400	string	5\x0aSub_Station		 Quake I save: ddm2 Sub station
1410	string	5\x0aCrazy_Eights!		 Quake I save: ddm3 Crazy eights!
1420	string	5\x0aEast_Side_Invertationa	 Quake I save: ddm4 East side invertationa
1430	string	5\x0aSlaughterhouse		 Quake I save: ddm5 Slaughterhouse
1440	string	5\x0aDOMINO			 Quake I save: ddm6 Domino
1450	string	5\x0aSANDRA'S_LADDER		 Quake I save: ddm7 Sandra's ladder
146
147
1480	string	MComprHD	MAME CHD compressed hard disk image,
149>12	belong	x		version %u
150
151# doom - submitted by Jon Dowland
152
1530	string	=IWAD		doom main IWAD data
154>4	lelong	x		containing %d lumps
1550	string	=PWAD		doom patch PWAD data
156>4	lelong	x		containing %d lumps
157
158# Build engine group files (Duke Nukem, Shadow Warrior, ...)
159# Extension: .grp
160# Created by: "Ganael Laplanche" <ganael.laplanche@martymac.org>
1610	string	KenSilverman	Build engine group file
162>12	lelong	x		containing %d files
163
164# Summary: Warcraft 3 save
165# Extension: .w3g
166# Created by: "Nelson A. de Oliveira" <naoliv@gmail.com>
1670	string		Warcraft\ III\ recorded\ game	%s
168
169
170# Summary: Warcraft 3 map
171# Extension: .w3m
172# Created by: "Nelson A. de Oliveira" <naoliv@gmail.com>
1730	string		HM3W		Warcraft III map file
174
175
176# Summary: SGF Smart Game Format
177# Extension: .sgf
178# Reference: http://www.red-bean.com/sgf/
179# Created by: Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
180# Modified by (1): Abel Cheung (regex, more game format)
181# FIXME: Some games don't have GM (game type)
1820	regex		\\(;.*GM\\[[0-9]{1,2}\\]	Smart Game Format
183>2	search/0x200/b	GM[
184>>&0	string		1]	(Go)
185>>&0	string		2]	(Othello)
186>>&0	string		3]	(chess)
187>>&0	string		4]	(Gomoku+Renju)
188>>&0	string		5]	(Nine Men's Morris)
189>>&0	string		6]	(Backgammon)
190>>&0	string		7]	(Chinese chess)
191>>&0	string		8]	(Shogi)
192>>&0	string		9]	(Lines of Action)
193>>&0	string		10]	(Ataxx)
194>>&0	string		11]	(Hex)
195>>&0	string		12]	(Jungle)
196>>&0	string		13]	(Neutron)
197>>&0	string		14]	(Philosopher's Football)
198>>&0	string		15]	(Quadrature)
199>>&0	string		16]	(Trax)
200>>&0	string		17]	(Tantrix)
201>>&0	string		18]	(Amazons)
202>>&0	string		19]	(Octi)
203>>&0	string		20]	(Gess)
204>>&0	string		21]	(Twixt)
205>>&0	string		22]	(Zertz)
206>>&0	string		23]	(Plateau)
207>>&0	string		24]	(Yinsh)
208>>&0	string		25]	(Punct)
209>>&0	string		26]	(Gobblet)
210>>&0	string		27]	(hive)
211>>&0	string		28]	(Exxit)
212>>&0	string		29]	(Hnefatal)
213>>&0	string		30]	(Kuba)
214>>&0	string		31]	(Tripples)
215>>&0	string		32]	(Chase)
216>>&0	string		33]	(Tumbling Down)
217>>&0	string		34]	(Sahara)
218>>&0	string		35]	(Byte)
219>>&0	string		36]	(Focus)
220>>&0	string		37]	(Dvonn)
221>>&0	string		38]	(Tamsk)
222>>&0	string		39]	(Gipf)
223>>&0	string		40]	(Kropki)
224
225##############################################
226# NetImmerse/Gamebryo game engine entries
227
228# Summary: Gamebryo game engine file
229# Extension: .nif, .kf
230# Created by: Abel Cheung <abelcheung@gmail.com>
2310		string		Gamebryo\ File\ Format,\ Version\ 	Gamebryo game engine file
232>&0		regex		[0-9a-z.]+				\b, version %s
233
234# Summary: Gamebryo game engine file
235# Extension: .kfm
236# Created by: Abel Cheung <abelcheung@gmail.com>
2370		string		;Gamebryo\ KFM\ File\ Version\ 		Gamebryo game engine animation File
238>&0		regex		[0-9a-z.]+				\b, version %s
239
240# Summary: NetImmerse game engine file
241# Extension .nif
242# Created by: Abel Cheung <abelcheung@gmail.com>
2430		string		NetImmerse\ File\ Format,\ Versio
244>&0		string		n\ 					NetImmerse game engine file
245>>&0		regex		[0-9a-z.]+				\b, version %s
246
247# Type:	SGF Smart Game Format
248# URL:	http://www.red-bean.com/sgf/
249# From:	Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
2502	regex/c	\\(;.*GM\\[[0-9]{1,2}\\]	Smart Game Format
251>2	regex/c	GM\\[1\\]			- Go Game
252>2	regex/c	GM\\[6\\]			- BackGammon Game
253>2	regex/c	GM\\[11\\]			- Hex Game
254>2	regex/c	GM\\[18\\]			- Amazons Game
255>2	regex/c	GM\\[19\\]			- Octi Game
256>2	regex/c	GM\\[20\\]			- Gess Game
257>2	regex/c	GM\\[21\\]			- twix Game
258
259# Epic Games/Unreal Engine Package
260#
2610	lelong		0x9E2A83C1	Unreal Engine Package,
262>4	leshort		x		version: %i
263>12	lelong		!0		\b, names: %i
264>28	lelong		!0		\b, imports: %i
265>20	lelong		!0		\b, exports: %i
266