THPS2DC/2X *.BON Texture Documentation
Posted: Sat Oct 06, 2012 2:21 pm
I figured out the *.BON format used in THPS2DC/THPS2X, it contains both Model and Texture Info inside the same file, THPS2DC BONs use PVR textures (BON1), and THPS2X BONs use DDS Textures, and it also has some minor changes (BON2), these are used for Character/Vehicle Models, Below is a code of the documentation
I Have no idea about model format which is after the textures of the BON but it's most likely compressed MODEL format from the looks of it
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
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