mborgerson / pyxbe

Python 3 library to read and write XBE files, the executable file format for the original Xbox game console
http://pyxbe.readthedocs.io/
MIT License
17 stars 10 forks source link

Support both known extended image header formats #19

Closed thrimbor closed 2 years ago

thrimbor commented 2 years ago

This adds support for reading the extended image header info from XBEs that were build with an XDK version between 5028 and 5455, which only have the lib_features* fields.

I'm not entirely happy with how I named the extended headers, the version numbers used are based on the XDK versions that were used in the XBEs I analyzed, but those were just from my game collection, so they might be inaccurate.

mborgerson commented 2 years ago

How about instead of using XDK build versions, which we are not certain about, we just number them (XbeImageHeaderExtendedType1, 2, ...).

thrimbor commented 2 years ago

Yea that's probably better, I changed it just now. I initially was worried that there might be another header format in-between that we missed, but given how the two fields added in 5028 are related I think we're safe.

mborgerson commented 2 years ago

Thanks