updating palette documentation to explain 512 entry .pal files

This commit is contained in:
rainwarrior 2015-09-17 20:46:03 +00:00
parent 13f6ce14eb
commit 913dddd7aa
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@
<p><span class="rvts16">Load Palette</span></p>
<p>Allows you to load a custom color palette (.pal) file to use for the current game loaded.</p>
<p><br/></p>
<p>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.</p>
<p>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.</p>
<p><br/></p>
<p>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.</p>
<p><br/></p>
<p>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:</p>
<p><br/></p>