From dc88b5df2f9197924927ba2e1684875c938f10c9 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sat, 23 Feb 2019 01:16:35 +0000 Subject: [PATCH] Xbox executables: Show the game title and (GerbiSoft) --- magic/Magdir/console | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/magic/Magdir/console b/magic/Magdir/console index 8831b04d..2e60cbcc 100644 --- a/magic/Magdir/console +++ b/magic/Magdir/console @@ -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 @@ -507,16 +507,13 @@ #------------------------------------------------------------------------------ # Microsoft Xbox executables .xbe (Esa Hyytia ) -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: @@ -525,6 +522,13 @@ >>>>(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 -- 2.50.1