]> granicus.if.org Git - file/commitdiff
Added Microsoft Xbox 360 XEX executable magic. (GerbiSoft)
authorChristos Zoulas <christos@zoulas.com>
Sat, 23 Feb 2019 01:16:37 +0000 (01:16 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 23 Feb 2019 01:16:37 +0000 (01:16 +0000)
magic/Magdir/console

index 85480cdf4d0a88a4cfbe246872853b85222a0be4..dec1e23a1cee373529a9c621d85e74f24838f6a8 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: console,v 1.43 2019/02/23 01:16:36 christos Exp $
+# $File: console,v 1.44 2019/02/23 01:16:37 christos Exp $
 # Console game magic
 # Toby Deshane <hac@shoelace.digivill.net>
 
 0       string          XIP0            XIP, Microsoft Xbox data
 0       string          XTF0            XTF, Microsoft Xbox data
 
+#------------------------------------------------------------------------------
+# Microsoft Xbox 360 executables (.xex)
+# From: David Korth <gerbilsoft@gerbilsoft.com>
+# References:
+# - https://free60project.github.io/wiki/XEX.html
+# - https://github.com/xenia-project/xenia/blob/HEAD/src/xenia/kernel/util/xex2_info.h
+
+# Title ID (part of Execution ID section)
+0              name    xbox-360-xex-execution-id
+>(0.L+0xC)     byte    x       (%c
+>(0.L+0xD)     byte    x       \b%c
+>(0.L+0xE)     beshort x       \b-%04u)
+
+0      string  XEX2    Microsoft Xbox 360 executable
+>0x18  search/0x100    \x00\x04\x00\x06
+>>&0   use     xbox-360-xex-execution-id
+>(0x010.L+0x178)       ubelong 0xFFFFFFFF      \b, all regions
+>(0x010.L+0x178)       ubelong !0xFFFFFFFF
+>>(0x010.L+0x178)      ubelong >0              (regions:
+>>(0x010.L+0x178)      ubelong&0x000000FF      0x000000FF      USA
+>>(0x010.L+0x178)      ubelong&0x00000100      0x00000100      Japan
+>>(0x010.L+0x178)      ubelong&0x00000200      0x00000200      China
+>>(0x010.L+0x178)      ubelong&0x0000FC00      0x0000FC00      Asia
+>>(0x010.L+0x178)      ubelong&0x00FF0000      0x00FF0000      PAL
+>>(0x010.L+0x178)      ubelong&0x00FF0000      0x00FE0000      PAL [except AU/NZ]
+>>(0x010.L+0x178)      ubelong&0x00FF0000      0x00010000      AU/NZ
+>>(0x010.L+0x178)      ubelong&0xFF000000      0xFF000000      Other
+>>(0x010.L+0x178)      ubelong >0              \b)
+
+
+
 # Atari Lynx cartridge dump (EXE/BLL header)
 # From: "Stefan A. Haubenthal" <polluks@web.de>