PAL

From OHRRPGCE-Wiki

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.

[edit] Formal Specs

About Formal Specs

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

ARCHINYM.LMP . BROWSE.TXT . ATTACK.BIN . BINSIZE.BIN . DEFPAL#.BIN . DEFPASS.BIN . FIXBITS.BIN . LOOKUP.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . SONGDATA.BIN . UICOLORS.BIN . GEN . BAM . Map Format . T . P . E . D . L . N . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH

Personal tools