initial fce ultra 0.81 import
[fceu.git] / Documentation / rel / 3.5
1 /******************************************************************************/
2 /*  3.5)        Palette Notes                                                 */
3 /******************************************************************************/
4
5         Palettes files are expected to contain 64 8-bit RGB triplets(each in
6         that order; red comes first in the triplet in the file, then green, 
7         then blue).  Each 8-bit value represents brightness for that particular
8         color.  0 is minimum, 255 is maximum.
9
10         Palettes can be set on a per-game basis.  To do this, put a palette
11         file in the "gameinfo" directory with the same base filename
12         as the game you wish to associate with and the extension "pal".  
13         Examples:
14
15                 File name:              Palette file name:
16                  BigBad.nes              BigBad.pal
17                  BigBad.zip              BigBad.pal
18                  BigBad.Better.nes       BigBad.Better.pal
19
20
21         With so many ways to choose a palette, figuring out which one will
22         be active may be difficult.  Here's a list of what palettes will
23         be used, in order from highest priority to least priority(if a condition
24         doesn't exist for a higher priority palette, the emulator will
25         continue down its list of palettes).
26
27         NSF Palette(for NSFs only)
28          Palette loaded from the "gameinfo" directory.
29           NTSC Color Emulation(only for NTSC NES games).
30            VS Unisystem palette(if the game is a VS Unisystem game and a palette
31            is available).
32             Custom global palette.
33              Default NES palette.
34
35