Difference between revisions of "FF8/FileFormat PMP"
From Final Fantasy Inside
< FF8
my_wiki>Myst6re |
m (4 revisions imported) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | By myst6re. | ||
| + | |||
== Particle Data == | == Particle Data == | ||
| + | |||
| + | When this file is empty, it is only 4 bytes = <code>0x20202020</code>. Else: | ||
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;" | {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;" | ||
Latest revision as of 05:24, 23 May 2019
By myst6re.
Particle Data
When this file is empty, it is only 4 bytes = 0x20202020. Else:
| Offset | Size | Data |
|---|---|---|
| 0 | 2 bytes | Unknown |
| 2 | 2 bytes | Unknown |
| 4 | 512 bytes | 16 palettes |
| 516 | Varies | Image Data |
Palettes
16 palettes of 16 colors in native PSX format (R5G5B5 with one mask bit).
Image Data
The actual image data can be read as a single 256 pixels wide image, the height depends on the size of the data (height = dataSize / 128).