games 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  1. #------------------------------------------------------------------------------
  2. # $File: games,v 1.35 2024/11/09 23:04:46 christos Exp $
  3. # games: file(1) for games
  4. # Fabio Bonelli <fabiobonelli@libero.it>
  5. # Quake II - III data files
  6. 0 string IDP2 Quake II 3D Model file,
  7. >20 long x %u skin(s),
  8. >8 long x (%u x
  9. >12 long x %u),
  10. >40 long x %u frame(s),
  11. >16 long x Frame size %u bytes,
  12. >24 long x %u vertices/frame,
  13. >28 long x %u texture coordinates,
  14. >32 long x %u triangles/frame
  15. 0 string IBSP Quake
  16. >4 long 0x26 II Map file (BSP)
  17. >4 long 0x2E III Map file (BSP)
  18. 0 string IDS2 Quake II SP2 sprite file
  19. #---------------------------------------------------------------------------
  20. # Doom and Quake
  21. # submitted by Nicolas Patrois
  22. 0 string \xcb\x1dBoom\xe6\xff\x03\x01 Boom or linuxdoom demo
  23. # some doom lmp files don't match, I've got one beginning with \x6d\x02\x01\x01
  24. 24 string LxD\ 203 Linuxdoom save
  25. >0 string x , name=%s
  26. >44 string x , world=%s
  27. # The levels
  28. # Quake 1
  29. 0 string 5\x0aIntroduction Quake I save: start Introduction
  30. 0 string 5\x0athe_Slipgate_Complex Quake I save: e1m1 The slipgate complex
  31. 0 string 5\x0aCastle_of_the_Damned Quake I save: e1m2 Castle of the damned
  32. 0 string 5\x0athe_Necropolis Quake I save: e1m3 The necropolis
  33. 0 string 5\x0athe_Grisly_Grotto Quake I save: e1m4 The grisly grotto
  34. 0 string 5\x0aZiggurat_Vertigo Quake I save: e1m8 Ziggurat vertigo (secret)
  35. 0 string 5\x0aGloom_Keep Quake I save: e1m5 Gloom keep
  36. 0 string 5\x0aThe_Door_To_Chthon Quake I save: e1m6 The door to Chthon
  37. 0 string 5\x0aThe_House_of_Chthon Quake I save: e1m7 The house of Chthon
  38. 0 string 5\x0athe_Installation Quake I save: e2m1 The installation
  39. 0 string 5\x0athe_Ogre_Citadel Quake I save: e2m2 The ogre citadel
  40. 0 string 5\x0athe_Crypt_of_Decay Quake I save: e2m3 The crypt of decay (dopefish lives!)
  41. 0 string 5\x0aUnderearth Quake I save: e2m7 Underearth (secret)
  42. 0 string 5\x0athe_Ebon_Fortress Quake I save: e2m4 The ebon fortress
  43. 0 string 5\x0athe_Wizard's_Manse Quake I save: e2m5 The wizard's manse
  44. 0 string 5\x0athe_Dismal_Oubliette Quake I save: e2m6 The dismal oubliette
  45. 0 string 5\x0aTermination_Central Quake I save: e3m1 Termination central
  46. 0 string 5\x0aVaults_of_Zin Quake I save: e3m2 Vaults of Zin
  47. 0 string 5\x0athe_Tomb_of_Terror Quake I save: e3m3 The tomb of terror
  48. 0 string 5\x0aSatan's_Dark_Delight Quake I save: e3m4 Satan's dark delight
  49. 0 string 5\x0athe_Haunted_Halls Quake I save: e3m7 The haunted halls (secret)
  50. 0 string 5\x0aWind_Tunnels Quake I save: e3m5 Wind tunnels
  51. 0 string 5\x0aChambers_of_Torment Quake I save: e3m6 Chambers of torment
  52. 0 string 5\x0athe_Sewage_System Quake I save: e4m1 The sewage system
  53. 0 string 5\x0aThe_Tower_of_Despair Quake I save: e4m2 The tower of despair
  54. 0 string 5\x0aThe_Elder_God_Shrine Quake I save: e4m3 The elder god shrine
  55. 0 string 5\x0athe_Palace_of_Hate Quake I save: e4m4 The palace of hate
  56. 0 string 5\x0aHell's_Atrium Quake I save: e4m5 Hell's atrium
  57. 0 string 5\x0athe_Nameless_City Quake I save: e4m8 The nameless city (secret)
  58. 0 string 5\x0aThe_Pain_Maze Quake I save: e4m6 The pain maze
  59. 0 string 5\x0aAzure_Agony Quake I save: e4m7 Azure agony
  60. 0 string 5\x0aShub-Niggurath's_Pit Quake I save: end Shub-Niggurath's pit
  61. # Quake DeathMatch levels
  62. 0 string 5\x0aPlace_of_Two_Deaths Quake I save: dm1 Place of two deaths
  63. 0 string 5\x0aClaustrophobopolis Quake I save: dm2 Claustrophobopolis
  64. 0 string 5\x0aThe_Abandoned_Base Quake I save: dm3 The abandoned base
  65. 0 string 5\x0aThe_Bad_Place Quake I save: dm4 The bad place
  66. 0 string 5\x0aThe_Cistern Quake I save: dm5 The cistern
  67. 0 string 5\x0aThe_Dark_Zone Quake I save: dm6 The dark zone
  68. # Scourge of Armagon
  69. 0 string 5\x0aCommand_HQ Quake I save: start Command HQ
  70. 0 string 5\x0aThe_Pumping_Station Quake I save: hip1m1 The pumping station
  71. 0 string 5\x0aStorage_Facility Quake I save: hip1m2 Storage facility
  72. 0 string 5\x0aMilitary_Complex Quake I save: hip1m5 Military complex (secret)
  73. 0 string 5\x0athe_Lost_Mine Quake I save: hip1m3 The lost mine
  74. 0 string 5\x0aResearch_Facility Quake I save: hip1m4 Research facility
  75. 0 string 5\x0aAncient_Realms Quake I save: hip2m1 Ancient realms
  76. 0 string 5\x0aThe_Gremlin's_Domain Quake I save: hip2m6 The gremlin's domain (secret)
  77. 0 string 5\x0aThe_Black_Cathedral Quake I save: hip2m2 The black cathedral
  78. 0 string 5\x0aThe_Catacombs Quake I save: hip2m3 The catacombs
  79. 0 string 5\x0athe_Crypt__ Quake I save: hip2m4 The crypt
  80. 0 string 5\x0aMortum's_Keep Quake I save: hip2m5 Mortum's keep
  81. 0 string 5\x0aTur_Torment Quake I save: hip3m1 Tur torment
  82. 0 string 5\x0aPandemonium Quake I save: hip3m2 Pandemonium
  83. 0 string 5\x0aLimbo Quake I save: hip3m3 Limbo
  84. 0 string 5\x0athe_Edge_of_Oblivion Quake I save: hipdm1 The edge of oblivion (secret)
  85. 0 string 5\x0aThe_Gauntlet Quake I save: hip3m4 The gauntlet
  86. 0 string 5\x0aArmagon's_Lair Quake I save: hipend Armagon's lair
  87. # Malice
  88. 0 string 5\x0aThe_Academy Quake I save: start The academy
  89. 0 string 5\x0aThe_Lab Quake I save: d1 The lab
  90. 0 string 5\x0aArea_33 Quake I save: d1b Area 33
  91. 0 string 5\x0aSECRET_MISSIONS Quake I save: d3b Secret missions
  92. 0 string 5\x0aThe_Hospital Quake I save: d10 The hospital (secret)
  93. 0 string 5\x0aThe_Genetics_Lab Quake I save: d11 The genetics lab (secret)
  94. 0 string 5\x0aBACK_2_MALICE Quake I save: d4b Back to Malice
  95. 0 string 5\x0aArea44 Quake I save: d1c Area 44
  96. 0 string 5\x0aTakahiro_Towers Quake I save: d2 Takahiro towers
  97. 0 string 5\x0aA_Rat's_Life Quake I save: d3 A rat's life
  98. 0 string 5\x0aInto_The_Flood Quake I save: d4 Into the flood
  99. 0 string 5\x0aThe_Flood Quake I save: d5 The flood
  100. 0 string 5\x0aNuclear_Plant Quake I save: d6 Nuclear plant
  101. 0 string 5\x0aThe_Incinerator_Plant Quake I save: d7 The incinerator plant
  102. 0 string 5\x0aThe_Foundry Quake I save: d7b The foundry
  103. 0 string 5\x0aThe_Underwater_Base Quake I save: d8 The underwater base
  104. 0 string 5\x0aTakahiro_Base Quake I save: d9 Takahiro base
  105. 0 string 5\x0aTakahiro_Laboratories Quake I save: d12 Takahiro laboratories
  106. 0 string 5\x0aStayin'_Alive Quake I save: d13 Stayin' alive
  107. 0 string 5\x0aB.O.S.S._HQ Quake I save: d14 B.O.S.S. HQ
  108. 0 string 5\x0aSHOWDOWN! Quake I save: d15 Showdown!
  109. # Malice DeathMatch levels
  110. 0 string 5\x0aThe_Seventh_Precinct Quake I save: ddm1 The seventh precinct
  111. 0 string 5\x0aSub_Station Quake I save: ddm2 Sub station
  112. 0 string 5\x0aCrazy_Eights! Quake I save: ddm3 Crazy eights!
  113. 0 string 5\x0aEast_Side_Invertationa Quake I save: ddm4 East side invertationa
  114. 0 string 5\x0aSlaughterhouse Quake I save: ddm5 Slaughterhouse
  115. 0 string 5\x0aDOMINO Quake I save: ddm6 Domino
  116. 0 string 5\x0aSANDRA'S_LADDER Quake I save: ddm7 Sandra's ladder
  117. 0 string MComprHD MAME CHD compressed hard disk image,
  118. >12 belong x version %u
  119. # MAME input recordings
  120. 0 string MAMEINP\0 MAME input recording
  121. >8 leqdate x at %s,
  122. >16 leshort x format version %d.
  123. >18 leshort x \b%d,
  124. >20 string/12 x %s driver,
  125. >32 string/32 x %s
  126. # doom - submitted by Jon Dowland
  127. 0 string =IWAD doom main IWAD data
  128. >4 lelong x containing %d lumps
  129. 0 string =PWAD doom patch PWAD data
  130. >4 lelong x containing %d lumps
  131. # Build engine group files (Duke Nukem, Shadow Warrior, ...)
  132. # Extension: .grp
  133. # Created by: "Ganael Laplanche" <ganael.laplanche@martymac.org>
  134. 0 string KenSilverman Build engine group file
  135. >12 lelong x containing %d files
  136. # Summary: Warcraft 3 save
  137. # Extension: .w3g
  138. # Created by: "Nelson A. de Oliveira" <naoliv@gmail.com>
  139. 0 string Warcraft\ III\ recorded\ game %s
  140. # Summary: Warcraft 3 map
  141. # Extension: .w3m
  142. # Created by: "Nelson A. de Oliveira" <naoliv@gmail.com>
  143. 0 string HM3W Warcraft III map file
  144. # Summary: SGF Smart Game Format
  145. # Extension: .sgf
  146. # Reference: https://www.red-bean.com/sgf/
  147. # Created by: Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
  148. # Modified by (1): Abel Cheung (regex, more game format)
  149. # FIXME: Some games don't have GM (game type)
  150. 0 regex \\(;.*GM\\[[0-9]{1,2}\\] Smart Game Format
  151. >2 search/0x200/b GM[
  152. >>&0 string 1] (Go)
  153. >>&0 string 2] (Othello)
  154. >>&0 string 3] (chess)
  155. >>&0 string 4] (Gomoku+Renju)
  156. >>&0 string 5] (Nine Men's Morris)
  157. >>&0 string 6] (Backgammon)
  158. >>&0 string 7] (Chinese chess)
  159. >>&0 string 8] (Shogi)
  160. >>&0 string 9] (Lines of Action)
  161. >>&0 string 10] (Ataxx)
  162. >>&0 string 11] (Hex)
  163. >>&0 string 12] (Jungle)
  164. >>&0 string 13] (Neutron)
  165. >>&0 string 14] (Philosopher's Football)
  166. >>&0 string 15] (Quadrature)
  167. >>&0 string 16] (Trax)
  168. >>&0 string 17] (Tantrix)
  169. >>&0 string 18] (Amazons)
  170. >>&0 string 19] (Octi)
  171. >>&0 string 20] (Gess)
  172. >>&0 string 21] (Twixt)
  173. >>&0 string 22] (Zertz)
  174. >>&0 string 23] (Plateau)
  175. >>&0 string 24] (Yinsh)
  176. >>&0 string 25] (Punct)
  177. >>&0 string 26] (Gobblet)
  178. >>&0 string 27] (hive)
  179. >>&0 string 28] (Exxit)
  180. >>&0 string 29] (Hnefatal)
  181. >>&0 string 30] (Kuba)
  182. >>&0 string 31] (Tripples)
  183. >>&0 string 32] (Chase)
  184. >>&0 string 33] (Tumbling Down)
  185. >>&0 string 34] (Sahara)
  186. >>&0 string 35] (Byte)
  187. >>&0 string 36] (Focus)
  188. >>&0 string 37] (Dvonn)
  189. >>&0 string 38] (Tamsk)
  190. >>&0 string 39] (Gipf)
  191. >>&0 string 40] (Kropki)
  192. ##############################################
  193. # NetImmerse/Gamebryo game engine entries
  194. # Summary: Gamebryo game engine file
  195. # Extension: .nif, .kf
  196. # Created by: Abel Cheung <abelcheung@gmail.com>
  197. 0 string Gamebryo\ File\ Format,\ Version\ Gamebryo game engine file
  198. >&0 regex [0-9a-z.]+ \b, version %s
  199. # Summary: Gamebryo game engine file
  200. # Extension: .kfm
  201. # Created by: Abel Cheung <abelcheung@gmail.com>
  202. 0 string ;Gamebryo\ KFM\ File\ Version\ Gamebryo game engine animation File
  203. >&0 regex [0-9a-z.]+ \b, version %s
  204. # Summary: NetImmerse game engine file
  205. # Extension .nif
  206. # Created by: Abel Cheung <abelcheung@gmail.com>
  207. 0 string NetImmerse\ File\ Format,\ Version
  208. >&0 string n\ NetImmerse game engine file
  209. >>&0 regex [0-9a-z.]+ \b, version %s
  210. # Type: SGF Smart Game Format
  211. # URL: https://www.red-bean.com/sgf/
  212. # From: Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
  213. 2 regex/c \\(;.*GM\\[[0-9]{1,2}\\] Smart Game Format
  214. >2 regex/c GM\\[1\\] - Go Game
  215. >2 regex/c GM\\[6\\] - BackGammon Game
  216. >2 regex/c GM\\[11\\] - Hex Game
  217. >2 regex/c GM\\[18\\] - Amazons Game
  218. >2 regex/c GM\\[19\\] - Octi Game
  219. >2 regex/c GM\\[20\\] - Gess Game
  220. >2 regex/c GM\\[21\\] - twix Game
  221. # Epic Games/Unreal Engine Package
  222. # URL: https://docs.unrealengine.com/udk/Three/ContentCooking.html
  223. # https://eliotvu.com/page/unreal-package-file-format
  224. # Little-endian version (such as x86 PC)
  225. 0 lelong 0x9E2A83C1 Unreal Engine package (little-endian)
  226. !:ext xxx/tfc/upk/me1/u
  227. >4 uleshort !0 \b, version %u
  228. >>6 uleshort !0 \b/%03u
  229. >>0 use upk_header
  230. # Big-endian version (such as PS3)
  231. 0 belong 0x9E2A83C1 Unreal Engine package (big-endian)
  232. !:ext xxx/tfc
  233. >6 ubeshort !0 \b, version %u
  234. >>4 ubeshort !0 \b/%03u
  235. >>0 use \^upk_header
  236. 0 name upk_header
  237. # Identify game from version and licensee
  238. >4 ulelong 0x000002b2 (Alice Madness Returns)
  239. >4 ulelong 0x002f0313 (Aliens: Colonial Marines)
  240. >4 ulelong 0x005b021b (Alpha Protocol)
  241. >4 ulelong 0x0000032c (AntiChamber)
  242. >4 ulelong 0x00200223 (APB: All Points Bulletin)
  243. >4 ulelong 0x004b02d7 (Bioshock Infinite)
  244. >4 ulelong 0x00380340 (Borderlands 2)
  245. >4 ulelong 0x001d02e6 (Bulletstorm)
  246. >4 ulelong 0x00050240 (CrimeCraft)
  247. >4 ulelong 0x00000356 (Deadlight)
  248. >4 ulelong 0x001e0321 (Dishonored)
  249. >4 ulelong 0x000202a6 (Dungeon Defenders)
  250. >4 ulelong 0x000901ea (Gears of War)
  251. >4 ulelong 0x0000023f (Gears of War 2)
  252. >4 ulelong 0x0000033c (Gears of War 3)
  253. >4 ulelong 0x0000034e (Gears of War: Judgement)
  254. >4 ulelong 0x0004035c (Hawken)
  255. >4 ulelong 0x0001034a (Infinity Blade 2)
  256. >4 ulelong 0x00000350 (InMomentum)
  257. >4 ulelong 0x0015037D (Life Is Strange)
  258. >4 ulelong 0x000b01a5 (Medal of Honor: Airborne)
  259. >4 ulelong 0x002b0218 (Mirrors Edge)
  260. >4 ulelong 0x0000027e (Monday Night Combat)
  261. >4 ulelong 0x0000024b (MoonBase Alpha)
  262. >4 ulelong 0x002e01d8 (Mortal Kombat Komplete Edition 2605)
  263. >4 ulelong 0x0000035c (Painkiller HD)
  264. >4 ulelong 0x0000034d (Q.U.B.E)
  265. >4 ulelong 0x80660340 (Quantum Conundrum)
  266. >4 ulelong 0x0000035b (Ravaged)
  267. >4 ulelong 0x00150340 (Remember Me)
  268. >4 ulelong 0x00060171 (Roboblitz)
  269. >4 ulelong 0x00000325 (Rock of Ages)
  270. >4 ulelong 0x0000032a (Sanctum)
  271. >4 ulelong 0x00030248 (Saw)
  272. >4 ulelong 0x007e0248 (Singularity)
  273. >4 ulelong 0x00090388 (Soldier Front 2)
  274. >4 ulelong 0x000701e6 (Stargate Worlds)
  275. >4 ulelong 0x00000334 (Super Monday Night Combat)
  276. >4 ulelong 0x000002c2 (The Ball)
  277. >4 ulelong 0x000e0262 (The Exiled Realm of Arborea or TERA)
  278. >4 ulelong 0x0000035b (The Five Cores)
  279. >4 ulelong 0x00000349 (The Haunted: Hells Reach)
  280. >4 ulelong 0x00000354 (Unmechanical)
  281. >4 ulelong 0x035c0298 (Unreal Development Kit)
  282. >4 ulelong 0x00000200 (Unreal Tournament 3)
  283. >4 ulelong 0x0000032d (Waves)
  284. >4 ulelong 0x003b034d (XCOM: Enemy Unknown)
  285. # Newer versions insert more headers
  286. >4 ulelong&0xFFFF <249
  287. >>12 lelong !0 \b, names: %d
  288. >>28 lelong !0 \b, imports: %d
  289. >>20 lelong !0 \b, exports: %d
  290. >4 ulelong&0xFFFF >248
  291. >>12 belong&0xFF !0
  292. >>>12 string x \b, folder "%s"
  293. >>>>&5 lelong !0 \b, names: %d
  294. >>>>&21 lelong !0 \b, imports: %d
  295. >>>>&13 lelong !0 \b, exports: %d
  296. >>12 belong&0xFF 0
  297. >>>16 belong&0xFF !0
  298. >>>>16 string x \b, folder "%s"
  299. >>>>>&5 lelong !0 \b, names: %d
  300. >>>>>&21 lelong !0 \b, imports: %d
  301. >>>>>&13 lelong !0 \b, exports: %d
  302. >>>16 belong&0xFF 0
  303. >>>>20 string x \b, folder "%s"
  304. >>>>>&5 lelong !0 \b, names: %d
  305. >>>>>&21 lelong !0 \b, imports: %d
  306. >>>>>&13 lelong !0 \b, exports: %d
  307. 0 string ESVG
  308. >4 lelong 0x00160000
  309. >10 string TOC\020 Empire Deluxe for DOS saved game
  310. # Sid Meier's Civilization V/VI
  311. # From: Benjamin Lowry <ben@ben.gmbh>
  312. 0 string CIV5
  313. >4 byte 0x08 Sid Meier's Civilization V saved game,
  314. >>12 regex [0-9a-z.]+ saved by game version %s
  315. >4 byte 0x01 Sid Meier's Civilization V replay data,
  316. >>12 regex [0-9a-z.]+ saved by game version %s
  317. 0 string CIV6 Sid Meier's Civilization VI saved game
  318. # https://syzygy-tables.info/
  319. # From Michel Van den Bergh
  320. 0 string \327f\f\245 Syzygy DTZ tablebase
  321. !:mime application/syzygy
  322. 0 string q\350#] Syzygy WDL tablebase
  323. !:mime application/syzygy
  324. ##############################################################################
  325. # Grand Theft Auto (GTA) file formats.
  326. #
  327. # Summary:
  328. # Includes GTA-specific formats used in all games from 1997 to present. Games
  329. # and formats were created by Rockstar North, formerly DMA Design. Magic tests
  330. # were written based on a combination of official and community documentation.
  331. #
  332. # Created by: Oliver Galvin <odg@riseup.net>
  333. #
  334. # References:
  335. # * Classic GTA documentation and research:
  336. # <https://gitlab.com/classic-gta/gta-data>
  337. # * Official RenderWare documentation available from EA:
  338. # <https://github.com/electronicarts/RenderWare3Docs>
  339. # * Lots of community research in the GTAMods wiki:
  340. # <https://gtamods.com/wiki>
  341. # GTA 2D-Era data - 'Classic' top down games (1/L/2)
  342. ## GTA text
  343. 0 string \xbf\xf8\xbd\x49\x62\xbe GTA1 in-game text (FXT),
  344. 0 string GBL GTA2 in-game text (GXT),
  345. >3 string E English,
  346. >>4 uleshort x version %d
  347. >3 string F French,
  348. >>4 uleshort x version %d
  349. >3 string G German,
  350. >>4 uleshort x version %d
  351. >3 string I Italian,
  352. >>4 uleshort x version %d
  353. >3 string S Spanish,
  354. >>4 uleshort x version %d
  355. >3 string J Japanese,
  356. >>4 uleshort x version %d
  357. ## GTA maps
  358. 0 ulelong 331 GTA1 map layout (CMP),
  359. >4 byte 1 Level 1
  360. >4 byte 2 Level 2
  361. >4 byte 3 Level 3
  362. 0 string GBMP GTA2/GBH map layout (GMP),
  363. >4 uleshort x version %d
  364. 0 string/t [MapFiles] GTA2 multiplayer map metadata (MMP)
  365. 0 string/t MainOrBonus\ =\ MAIN GTA2 single player map listing (test1.seq)
  366. ## GTA 2D sprites and textures
  367. 0 ulelong 290 GTA1 style data (GRX), 8 bit editor graphics
  368. 0 ulelong 325 GTA1 style data (GRY), 8 bit in-game graphics
  369. 0 ulelong 336 GTA1 style data (G24), 24 bit in-game graphics
  370. 0 string GBST GTA2/GBH style data (STY), in-game graphics,
  371. >4 uleshort x version %d
  372. ## GTA audio index
  373. 0 ulelong 0
  374. >4 ulelong <0x40000
  375. >>8 ulelong >4500
  376. >>>8 ulelong <45000 GTA audio index data (SDT)
  377. ## GTA scripts
  378. 0 ulelong 0x00080000
  379. >4 uleshort 0x0024 GTA2 binary main script (SCR)
  380. 0 uleshort 0x063c GTA2 binary mission script (SCR), Residential area (ste)
  381. 0 uleshort 0x055b GTA2 binary mission script (SCR), Downtown area (wil)
  382. 0 uleshort 0x0469 GTA2 binary mission script (SCR), Industrial area (bil)
  383. 0 string v9.6\0\0 GTA2 replay file (REP),
  384. >8 regex/30c [a-z0-9:\ ]+\0\0 created on %s
  385. # GTA 3D-Era (III/VC/SA/LCS/VCS) - used by the RenderWare engine by Criterion Games
  386. ## GTA 3D models and textures - RenderWare binary streams
  387. 8 ulelong 0x00000310 RenderWare data, v3.1.0.0, used in GTA III on PS2,
  388. >0 ulelong 0x00000016 texture archive (TXD)
  389. >0 ulelong 0x00000010 3D models (DFF)
  390. 8 ulelong 0x0401ffff RenderWare data, v3.1.0.1, used in GTA III on PC/PS2,
  391. >0 ulelong 0x00000016 texture archive (TXD)
  392. >0 ulelong 0x00000010 3D models (DFF)
  393. 8 ulelong 0x0800ffff RenderWare data, v3.2.0.0, used in GTA III on PC,
  394. >0 ulelong 0x00000016 texture archive (TXD)
  395. >0 ulelong 0x00000010 3D models (DFF)
  396. 8 ulelong 0x0c00ffff RenderWare data, v3.3.0.0,
  397. >0 ulelong 0x00000016 texture archive (TXD)
  398. >0 ulelong 0x00000010 3D models (DFF)
  399. 8 ulelong 0x0c02ffff RenderWare data, v3.3.0.2, used in GTA III PC and GTA VC PS2,
  400. >0 ulelong 0x00000016 texture archive (TXD)
  401. >0 ulelong 0x00000010 3D models (DFF)
  402. 8 ulelong 0x1000ffff RenderWare data, v3.4.0.0,
  403. >0 ulelong 0x00000016 texture archive (TXD)
  404. >0 ulelong 0x00000010 3D models (DFF)
  405. 8 ulelong 0x1003ffff RenderWare data, v3.4.0.3, used in GTA VC PC,
  406. >0 ulelong 0x00000016 texture archive (TXD)
  407. >0 ulelong 0x00000010 3D models (DFF)
  408. 8 ulelong 0x1005ffff RenderWare data, v3.4.0.5, used in GTA III/VC on Android,
  409. >0 ulelong 0x00000016 texture archive (TXD)
  410. >0 ulelong 0x00000010 3D models (DFF)
  411. 8 ulelong 0x1400ffff RenderWare data, v3.5.0.0, used in GTA III/VC on Xbox,
  412. >0 ulelong 0x00000016 texture archive (TXD)
  413. >0 ulelong 0x00000010 3D models (DFF)
  414. 8 ulelong 0x1803ffff RenderWare data, v3.6.0.3, used in GTA SA,
  415. >0 ulelong 0x00000016 texture archive (TXD)
  416. >0 ulelong 0x00000010 3D models (DFF)
  417. 0 string COL RenderWare collision data (COL),
  418. >3 string L version 1, used in GTA III/VC/SA
  419. >3 string 2 version 2, used in GTA SA
  420. >3 string 3 version 3, used in GTA SA
  421. >3 string 4 version 4, used in GTA SA
  422. ## GTA items and animations
  423. 0 string/c #\ ipl\ generated\ from\ max\ file GTA Item Placement data (IPL), used in GTA III/VC
  424. 0 string/b bnry GTA Item Placement data (IPL), used in GTA SA/IV,
  425. >4 ulelong x %d items
  426. 0 string ANP GTA animation data (IFP),
  427. >3 string K version 1, used in GTA III/VC
  428. >3 string 3 version 2, used in GTA SA
  429. 0 string GtaSA29 GTA Replay data (REP), used in GTA SA
  430. ## GTA text
  431. 0 string TKEY GTA in-game text (GXT), version 2, used in GTA III
  432. 0 string TABL GTA in-game text (GXT), version 3, used in GTA VC/LS/VCS
  433. ## GTA scripts
  434. 0 string \x02\x00\x01 GTA script (SCM), used in GTA III/VC/SA
  435. ## GTA archives
  436. 0 string VER2 GTA archive (IMG), version 2, used in GTA SA,
  437. >4 ulelong x %d items
  438. # GTA HD-Era (IV/V) - used by the Rockstar Advanced Game Engine (RAGE)
  439. ## GTA models and textures - RAGE resources
  440. # Note: GTA IV formats not yet documented - WAD, WBD, WBN, WHM, WPL
  441. 0 ulelong 0x00695254 GTA Drawable data (WDR), model and weapon data, used in GTA IV
  442. 0 ulelong 0x00695238 GTA Windows Frag Type (WFT), vehicle models, used in GTA IV
  443. 0 ulelong 0x006953A4 GTA Ped and LOD models (WDD), used in GTA IV
  444. 0 ulelong 0x00695384 GTA Windows Texture Dictionary (WTD), used in GTA IV
  445. ## GTA text
  446. 4 string TABL GTA in-game text (GXT),
  447. >0 uleshort x version %d, used in GTA SA/IV
  448. 0 string 2GXT GTA in-game text (GXT2), used in GTA V
  449. ## GTA scripts
  450. 0 ulelong 0x0d524353 GTA script (SCO), unencrypted, used in GTA IV,
  451. >4 ulelong x %d code bytes,
  452. >>8 ulelong x %d static variables,
  453. >>>12 ulelong x %d global variables
  454. 0 ulelong 0x0e726373 GTA script (SCO), encrypted, used in GTA IV
  455. >4 ulelong x %d code bytes,
  456. >>8 ulelong x %d static variables,
  457. >>>12 ulelong x %d global variables
  458. ## GTA archives
  459. 0 ulelong 0xa94e2a52 GTA archive (IMG),
  460. >4 ulelong x version %d, used in GTA IV,
  461. >>8 ulelong x %d items
  462. # RPF[0-8]
  463. 0 ulelong&0xfffffff0 =0x52504630
  464. >0 ulelong&0xf <9 RAGE Package Format (RPF), version %d, used in
  465. >>0 ulelong&0xf =0 Rockstar Table Tennis,
  466. >>0 ulelong&0xf =1 *unknown*
  467. >>0 ulelong&0xf =2 GTA IV,
  468. >>0 ulelong&0xf =3 GTA IV Audio & Midnight Club: LA,
  469. >>0 ulelong&0xf =4 Max Payne 3,
  470. >>0 ulelong&0xf =5 *unknown*
  471. >>0 ulelong&0xf =6 RDR,
  472. >>0 ulelong&0xf =7 GTA V,
  473. >>0 ulelong&0xf =8 RDR 2,
  474. >>4 ulelong x %d bytes,
  475. >>>8 ulelong x %d entries
  476. # Blitz3D Model File Format
  477. # From: Alexandre Iooss <erdnaxe@crans.org>
  478. # URL: https://github.com/minetest/B3DExport/blob/master/B3DExport.py
  479. 0 string BB3D
  480. >4 lelong >0
  481. >>8 lelong >0 Blitz3D Model
  482. !:ext b3d
  483. >>>8 lelong x \b, version %d
  484. # Minetest Schematic File Format
  485. # From: Alexandre Iooss <erdnaxe@crans.org>
  486. # URL: https://github.com/minetest/minetest/blob/5.6.1/src/mapgen/mg_schematic.h
  487. 0 string MTSM Minetest Schematic
  488. !:ext mts
  489. >4 ubeshort x \b, version %d
  490. >6 ubeshort x \b, size [%d
  491. >8 ubeshort x \b, %d
  492. >10 ubeshort x \b, %d]
  493. # MagicaVoxel File Format
  494. # From: Alexandre Iooss <erdnaxe@crans.org>
  495. # URL: https://github.com/ephtracy/voxel-model/blob/ee2216c28a78ebb68691dc6cfa9c4ba429117ea2/MagicaVoxel-file-format-vox.txt
  496. # Note: This format is used in Veloren voxel RPG.
  497. 0 string VOX\x20
  498. >4 lelong >0 MagicaVoxel model
  499. !:ext vox
  500. >>4 lelong x \b, version %d
  501. # Wwise SoundBank
  502. # From: Alexandre Iooss <erdnaxe@crans.org>
  503. # URL: https://wiki.xentax.com/index.php/Wwise_SoundBank_(*.bnk)
  504. 0 string BKHD
  505. # Little-endian version (such as x86 PC)
  506. >4 ulelong <0x100 Wwise SoundBank (little-endian)
  507. !:ext bnk
  508. >>0 use wwise_bkhd
  509. # Big-endian version (such as PS3)
  510. >4 ubelong <0x100 Wwise SoundBank (big-endian)
  511. !:ext bnk
  512. >>0 use \^wwise_bkhd
  513. 0 name wwise_bkhd
  514. >8 ulelong x \b, version %d
  515. >12 ulelong x \b, id %08X
  516. >16 ulelong =0x00 \b, SFX
  517. >16 ulelong =0x01 \b, arabic
  518. >16 ulelong =0x02 \b, bulgarian
  519. >16 ulelong =0x03 \b, chinese (HK)
  520. >16 ulelong =0x04 \b, chinese (PRC)
  521. >16 ulelong =0x05 \b, chinese (Taiwan)
  522. >16 ulelong =0x06 \b, czech
  523. >16 ulelong =0x07 \b, danish
  524. >16 ulelong =0x08 \b, dutch
  525. >16 ulelong =0x09 \b, english (Australia)
  526. >16 ulelong =0x0A \b, english (India)
  527. >16 ulelong =0x0B \b, english (UK)
  528. >16 ulelong =0x0C \b, english (US)
  529. >16 ulelong =0x0D \b, finnish
  530. >16 ulelong =0x0E \b, french (Canada)
  531. >16 ulelong =0x0F \b, french (France)
  532. >16 ulelong =0x10 \b, german
  533. >16 ulelong =0x11 \b, greek
  534. >16 ulelong =0x12 \b, hebrew
  535. >16 ulelong =0x13 \b, hungarian
  536. >16 ulelong =0x14 \b, indonesian
  537. >16 ulelong =0x15 \b, italian
  538. >16 ulelong =0x16 \b, japanese
  539. >16 ulelong =0x17 \b, korean
  540. >16 ulelong =0x18 \b, latin
  541. >16 ulelong =0x19 \b, norwegian
  542. >16 ulelong =0x1A \b, polish
  543. >16 ulelong =0x1B \b, portuguese (Brazil)
  544. >16 ulelong =0x1C \b, portuguese (Portugal)
  545. >16 ulelong =0x1D \b, romanian
  546. >16 ulelong =0x1E \b, russian
  547. >16 ulelong =0x1F \b, slovenian
  548. >16 ulelong =0x20 \b, spanish (Mexico)
  549. >16 ulelong =0x21 \b, spanish (Spain)
  550. >16 ulelong =0x22 \b, spanish (US)
  551. >16 ulelong =0x23 \b, swedish
  552. >16 ulelong =0x24 \b, turkish
  553. >16 ulelong =0x25 \b, ukrainian
  554. >16 ulelong =0x26 \b, vietnamese
  555. # Wwise Audio Package
  556. # From: Alexandre Iooss <erdnaxe@crans.org>
  557. # URL: https://wiki.xentax.com/index.php/Wwise_Audio_PCK
  558. 0 string AKPK
  559. # Little-endian version (such as x86 PC)
  560. >8 ulelong <0x100 Wwise Audio Package (little-endian)
  561. !:ext pck
  562. # Big-endian version (such as PS3)
  563. >8 ubelong <0x100 Wwise Audio Package (big-endian)
  564. !:ext pck
  565. # RPG Maker MV/MZ encrypted assets. Version was only ever known to be 00030100.
  566. 0 string RPGMV\0\0\0
  567. >12 string \0\0\0\0
  568. >>8 belong x RPG Maker MV encrypted asset, version %08x
  569. !:ext png_/ogg_/m4a_/rpgmvp/rpgmvo/rpgmvm
  570. # https://arthran2.itch.io/encrypterator-3000
  571. 0 string ART\0ENCRYPTER100FREE\0VERSION\0\0\0\0 RPG Maker MV encrypted asset, Encrypterator 3000 variant.
  572. !:ext png_/ogg_/m4a_/rpgmvp/rpgmvo/rpgmvm
  573. # http://www.shikadi.net/moddingwiki/PCX_Library
  574. 0 string/b pcxLib\0
  575. >122 ubyte 0x01 pcxLib archive
  576. >>144 uleshort 0 \b, uncompressed
  577. >>144 uleshort !0 \b, compressed