20,231
edits
m (typo fix) |
m (this is a 9 in my game data) |
||
| Line 34: | Line 34: | ||
{{OBDtr| 0x8C | int16 |C8FFC8| 80 00 | 128 | width of the image in pixels }} | {{OBDtr| 0x8C | int16 |C8FFC8| 80 00 | 128 | width of the image in pixels }} | ||
{{OBDtr| 0x8E | int16 |C8FFC8| 80 00 | 128 | height of the image in pixels }} | {{OBDtr| 0x8E | int16 |C8FFC8| 80 00 | 128 | height of the image in pixels }} | ||
{{OBDtr| 0x90 | int32 |C8FFFF| | {{OBDtr| 0x90 | int32 |C8FFFF| 09 00 00 00 | 9 | texture format #1 (RGB555); see below for list of available formats. | ||
:0 - ARGB4444, 16 bits/pixel (stored as a little-endian int16, swaps to big-endian at runtime on Mac) | :0 - ARGB4444, 16 bits/pixel (stored as a little-endian int16, swaps to big-endian at runtime on Mac) | ||
::Four 4-bit channels, with bitmasks 0x000F (Blue), 0x00F0 (Green), 0x0F00 (Red) and 0xF000 (Alpha). | ::Four 4-bit channels, with bitmasks 0x000F (Blue), 0x00F0 (Green), 0x0F00 (Red) and 0xF000 (Alpha). | ||