MOTHER 3:CCL block

From Data Crystal
Revision as of 16:36, 15 July 2013 by JeffMan (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.