Mother 3/CCL block: Difference between revisions

From Data Crystal
Jump to navigation Jump to 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.

Revision as of 07:43, 19 October 2018

This is a sub-page of Mother 3.

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.