Difference between revisions of "MOTHER 3:CCL block"

From Data Crystal
Jump to: navigation, search
(Created page with "==Overview== CCL blocks are used for storing palette data. ==Format== * <tt>00-03 (04)</tt> = "ccl " header * <tt>04-07 (04)</tt> = Unknown; typically 0x2 * <tt>08-0B (04)</t...")
 
m (added subpage)
 
Line 1: Line 1:
 +
{{subpage|game=MOTHER 3:Named data structures}}
 
==Overview==
 
==Overview==
 
CCL blocks are used for storing palette data.
 
CCL blocks are used for storing palette data.

Latest revision as of 03:43, 19 October 2018

Overview

CCL blocks are used for storing palette data.

Format

  • 00-03 (04) = "ccl " header
  • 04-07 (04) = Unknown; typically 0x2
  • 08-0B (04) = Number of palettes
  • 0C-.. (..) = Palette data
  • ..-.. (04) = "~ccl" footer

Palette data

Each palette is standard, containing 16 colors, 16 bits per color, for a total of 32 bytes per palette.