
Originally Posted by
jskew
type x.bat
@echo off
set xdk=E:\xbox360
set PATH=%SystemRoot%;%SystemRoot%\system32;%xdk%\bin
set include=%xdk%\include\xbox;%xdk%\include\Common
set lib=%xdk%\lib\xbox
if "%1" == "" goto over
cl /c /D "_XBOX" %1.cpp
link /XEX:No /OUT:%1.exe d3d9.lib d3dx9.lib xgraphics.lib xapilib.lib xaudio.lib x3daudio.lib xboxkrnl.lib xbdm.lib atgframework.lib %1.obj
imagexex /in:%1.exe /out:%1.xex /format:unencrypted
imagexex /dump %1.xex
goto over
:over
echo Done!
E:\xbox360\
2010-06-01 01:04 <DIR> .
2010-06-01 01:04 <DIR> ..
2010-06-01 09:20 <DIR> bin
2010-06-01 01:00 <DIR> include
2010-06-01 01:05 <DIR> lib
E:\xbox360\bin
2010-06-01 09:20 <DIR> .
2010-06-01 09:20 <DIR> ..
2010-06-01 00:30 <DIR> 1033
2008-05-29 01:48 103,424 atl80.dll
2008-05-29 01:48 1,658,880 c1xx.dll
2008-05-29 01:48 1,257,472 c2.dll
2008-05-29 01:48 81,920 cl.exe
2008-05-29 01:48 612 cl.exe.manifest
2008-05-28 18:04 184,320 imagexex.exe
2010-06-01 09:20 2,302,163 imagexex.idb
2008-05-29 01:48 569,344 link.exe
2008-05-29 01:48 612 link.exe.manifest
2008-05-29 01:48 94,208 msdisXXX.dll
2008-05-29 01:48 69,632 msobj80.dll
2008-05-29 01:48 270,336 mspdb80.dll
2008-05-29 01:48 548,864 msvcp80.dll
2008-05-29 01:48 626,688 msvcr80.dll
2008-05-29 01:48 41,984 pgodb80.dll
2008-05-29 01:48 203,264 tlbref.dll
E:\xbox360\Projects\MemoryViews>x MemoryViews
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.7151 for PowerPC
Copyright (C) Microsoft Corporation. All rights reserved.
MemoryViews.cpp
Microsoft (R) Incremental Linker Version 8.00.7710
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft(R) Xbox 360 Image File Builder Version 2.0.7645.0
(c)2008 Microsoft Corporation. All rights reserved.
Microsoft(R) XEX File Dumper Version 2.0.7645.0
(c)2008 Microsoft Corporation. All rights reserved.
Dump of file MemoryViews.xex
FILE HEADER VALUES
1 module flags
title module
82000000 load address
290000 image size
FFFFFFFF game region
North America
Japan
China
rest of Asia
Australia/New Zealand
rest of Europe
rest of world
0 image flags
64KB pages
8000605 allowed media types
hard disk
DVD/CD
SMB filesystem
direct-from-RAM
Live-signed package
XGD2 media ID: 00000000000000000000000000000000
Signature digest: 4E81D6AD 222F3DA8 CE43B53D F40809C9 4402C2AF
A number of optional header entries
OPTIONAL HEADER VALUES
82000000 image base address
820611A0 entry point
00000000 image checksum
4C62AE9C image timestamp
40 number of TLS slots
00040000 default stack size
NOT-COMPRESSED, NOT-ENCRYPTED
Original PE image name: MemoryViews.exe
LAN key: 00000000000000000000000000000000
SYSTEM IMPORT LIBRARIES
xam.xex version 2.0.7645.0 (minimum 2.0.1861.0)
xboxkrnl.exe version 2.0.7645.0 (minimum 2.0.1861.0)
LIBRARY VERSIONS
XAPILIB 2.0.7645.0 [unknown]
XBOXKRNL 2.0.7645.0 [unknown]
LIBCMT 2.0.7645.0 [unknown]
D3D9 2.0.7645.1 [unknown]
D3DX9 2.0.7645.0 [unknown]
XGRAPHC 2.0.7645.0 [unknown]
Done!
E:\xbox360\Projects\MemoryViews>
Bookmarks