From 913dddd7aaf7da8cc9cacfaa985fc7a6521de337 Mon Sep 17 00:00:00 2001 From: rainwarrior Date: Thu, 17 Sep 2015 20:46:03 +0000 Subject: [PATCH] updating palette documentation to explain 512 entry .pal files --- help/Palette.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/help/Palette.html b/help/Palette.html index 938afb2d..07a4b65f 100644 --- a/help/Palette.html +++ b/help/Palette.html @@ -69,7 +69,9 @@

Load Palette

Allows you to load a custom color palette (.pal) file to use for the current game loaded.


-

A note on on the format of external palettes; Palette files are expected to contain 64 8-bit RGB triplets (each in that order; red comes first in the triplet in the file, then green, then blue). Each 8-bit value represents brightness for that particular color. 0 is minimum, 255 is maximum.

+

A note on on the format of external palettes; Palette files are expected to contain 64 or 512 8-bit RGB triplets (each in that order; red comes first in the triplet in the file, then green, then blue). Each 8-bit value represents brightness for that particular color. 0 is minimum, 255 is maximum.

+


+

A palette file with 64 entries while have emphasis colors generated automatically. A 512 entry file will specify a set of 64 colors to use with each emphasis state. The high 3 bits of $2001 correspond to 8 different 64 color palettes.


Palettes can be set on a per-game basis. To do this, put a palette file in the same directory the game is in, and add the extension "pal". Examples: