Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PLTs are binary files consisting of a 24 byte header and an image data block. The image data consist of 2 bytes per pixel, each representing a (color, layer) tuple.

Example File

ByteValue

0"PLT "50 4C 54 20File type


Header

4"V1  "56 31 20 20Version
8
0A 00 00 00Unused
12
00 00 00 00Unused
166440 00 00 00Width
2012880 00 00 00Height
24(255, 1)FF 01Pixel 0


Data

26(120, 9)

78 09

Pixel 1

. . .
16404(255, 2)FF 02Pixel 8191

Valid layer Ids

IDLabel
0

Skin

1Hair
2Metal 1
3Metal 2
4Cloth 1
5Cloth 2
6Leather 1
7Leather 2
8Tattoo 1
9Tattoo 2

...