]> granicus.if.org Git - file/commitdiff
Xbox executables: Show the game title and (GerbiSoft)
authorChristos Zoulas <christos@zoulas.com>
Sat, 23 Feb 2019 01:16:35 +0000 (01:16 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 23 Feb 2019 01:16:35 +0000 (01:16 +0000)
magic/Magdir/console

index 8831b04df695f0ab65277dd53026bf93c4b5614a..2e60cbcce9f562bc4017a7c61ea7622d15807f34 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: console,v 1.41 2019/02/23 01:16:19 christos Exp $
+# $File: console,v 1.42 2019/02/23 01:16:35 christos Exp $
 # Console game magic
 # Toby Deshane <hac@shoelace.digivill.net>
 
 
 #------------------------------------------------------------------------------
 # Microsoft Xbox executables .xbe (Esa Hyytia <ehyytia@cc.hut.fi>)
-0       string          XBEH            XBE, Microsoft Xbox executable
-# probabilistic checks whether signed or not
->0x0004 ulelong =0x0
->>&2    ulelong =0x0
->>>&2   ulelong =0x0  \b, not signed
->0x0004 ulelong >0
->>&2    ulelong >0
->>>&2   ulelong >0    \b, signed
+0      string  XBEH    Microsoft Xbox executable
 # expect base address of 0x10000
 >0x0104               ulelong =0x10000
+>>(0x0118-0x0FFF4)    lestring16 x       \b: "%.40s"
+>>(0x0118-0x0FFF5)    byte     x         (%c
+>>(0x0118-0x0FFF6)    byte     x         \b%c-
+>>(0x0118-0x0FFF8)    uleshort x         \b%03u)
 >>(0x0118-0x0FF60)    ulelong&0x80000007  0x80000007 \b, all regions
 >>(0x0118-0x0FF60)    ulelong&0x80000007  !0x80000007
 >>>(0x0118-0x0FF60)   ulelong >0           (regions:
 >>>>(0x0118-0x0FF60)  ulelong &0x00000004  Rest_of_World
 >>>>(0x0118-0x0FF60)  ulelong &0x80000000  Manufacturer
 >>>(0x0118-0x0FF60)   ulelong >0           \b)
+# probabilistic checks whether signed or not
+>0x0004 ulelong =0x0
+>>&2    ulelong =0x0
+>>>&2   ulelong =0x0  \b, not signed
+>0x0004 ulelong >0
+>>&2    ulelong >0
+>>>&2   ulelong >0    \b, signed
 
 # --------------------------------
 # Microsoft Xbox data file formats