Formats (Takedown-Dominator): Difference between revisions
Content added Content deleted
AcuteSyntax (talk | contribs) m (→Header Layout) |
AcuteSyntax (talk | contribs) mNo edit summary |
||
Line 15: | Line 15: | ||
== PSP == |
== PSP == |
||
''Main article: [[Texture_(PSP)|Texture (PSP)]]'' |
|||
Although not too far off from the PS2 format, the texture format used on Burnout PSP has a smaller header and uses a different swizzling method. |
|||
=== Header Layout === |
|||
'''Header size: 0x110 bytes''' |
|||
{|class="wikitable" |
|||
|- |
|||
! Offset |
|||
! Length |
|||
! Type |
|||
! Description |
|||
|- |
|||
| <tt>0x08 || <tt>0x04 || UInt32 || CLUT palette pointer |
|||
|- |
|||
| <tt>0x0C || <tt>0x04 || UInt32 || Bitmap width |
|||
|- |
|||
| <tt>0x10 || <tt>0x04 || UInt32 || Bitmap height |
|||
|- |
|||
| <tt>0x14 || <tt>0x04 || UInt32 || Unused pixel mode |
|||
|- |
|||
| <tt>0x84 || <tt>0x04 || UInt32 || Pixel mode |
|||
|- |
|||
| <tt>0x8C || up to <tt>0x20 || String || Texture name |
|||
|- |
|||
| <tt>0xAC || <tt>0x04 || Float32 || Unused number |
|||
|- |
|||
| <tt>0xB0 || <tt>0x04 || UInt8 || CLUT palette count |
|||
|- |
|||
| <tt>0xB1 || <tt>0x04 || Unsigned char || CLUT palette index |
|||
|- |
|||
| <tt>0xB2 || <tt>0x01 || UInt8 || Texture level count |
|||
|- |
|||
| <tt>0x104 || <tt>0x04 || Bool (true/false) || Swizzling indicator |
|||
|} |
|||
= Sound Data = |
= Sound Data = |