robinsod @ http://www.xboxhacker.net/index.php?topic=7949.0
We have started to look at the decryption, decompression and (optionally) patching of XEX files. Some of this info is from the free60 wiki, some is from others and some is my own observations. This is very preliminary and if you can provide any corrections or additions please post them See http://www.free60.org/wiki/XEX#Structure_of_the_XEX_File Five Info Classes 0,1,2,3,4 Class 0 Initialization Info InfoType 0x01 Unknown, always 0x10000000? InfoType 0x02 Short Name/Application Class? (media/skin/gp) InfoType 0x03 Size and Hash Info for first compressed section InfoType 0x05 Patch Version Info (base version and patched version). I have only seen this one in xexp files InfoType 0x80 Path and Filename (DeviceFlashApp.xex) Class 1 Unknown Info InfoType 0x01 Unknown, seems related to the Image Load Address InfoType 0x02 Image Load Address InfoType 0x03 Imports Functions list, a list of executables and dynamic linking tables InfoType 0x80 Unknown, seems to be size * dwords Class 2 Execution Info InfoType 0x00 Libraries, a list of libraries & version numbers Class 3 Library Loading and Mapping Info InfoType 0x00 Unknown Class 4 Unknown Info InfoType 0x00 Unknown, seems to be size * dwords & related to version number
Takires:
Class 1 Type 1 is the program entry point.
roninsod:
In some newer XEXs (with patches applied) I have seen Class 1 Type 83 Infos which point to a dll name ie bootanim.xex -> "bootanim.dll"
TheSpecialist:
Class 0 InfoType 0x03 Size and Hash Info for first compressed section =>
at 0x6 in this table is either 0x0001 or 0x0002:
0x0001 = data is not compressed, 0x0002 data is compressed.
![[Main Page]](http://www.eurasia.nu/images/svico_t.gif)