Jump to: navigation, search

Pal holds 16-color palettes.

Prior to .RPG format version 5, palette data was in BSAVE format. In version 5, it is now in a only-just-slightly different format, with an 16-byte header that actually means something instead of a 7 byte header that means nothing.

The actual palette data is in 16-byte records where each byte is the color index in the master palette. This data should be the same no matter if it follows a BSAVE header or a version 5 header.

Formal Specs[edit]

About Formal Specs

Data Meaning
INT Magic number 4444 (== 115c hex)
INT Index of last palette (number_of_palettes - 1)
INT * 6 Reserved, set to zero