Code: Select all
BON1/BON2 Texture Documentation
Header:
[4 Bytes] - BON Header (426F6E00 in THPS2x)
Texture Header:
[4 Bytes] - Model Type? (04000000 on Character Models or 03000000 on Vehicle Models)
[2-4 Bytes] - Amount of textures?
[2 Bytes] - Amount of letters in the basic texture name
[Varies] - Basic texture name
[4 Bytes] - Identifier? (Always 7F7F7FFF)
[9 Bytes] - Unknown {Always 0000803ECDCC4C3D01)
[2 Bytes] - Amount of letters in the full texture name
[Varies] - Full Texture Name
[7 Bytes] - Unknown
-Texture-
[128 Bytes] - DDS Texture Header (32 Byte PVR Header in THPS2DC)
[Varies] = Actual Texture (Format varies between PVR and DDS per platform)
The way to get textures from them is by Hex-editing, i was able to copy the texture, then save it as PVR/DDS, I figured using THPS2DC Textures for my THPS3 GFX Mod would be the greatest option
Although i wasn't able to debug with the BONs due to the fact no working XBOX emulators out and i can't seem to get THPS2DC to run from a file directory rather than an ISO
EDIT (08-13-2014):Added extra details on the format