Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Mother 3/CCL block: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Lelegofrog moved page MOTHER 3/CCL block to Mother 3/CCL block: title consistency with TCRF)
mNo edit summary
 
Line 1: Line 1:
{{subpage|game=MOTHER 3:Named data structures}}
{{subpage|game=Mother 3}}
==Overview==
==Overview==
CCL blocks are used for storing palette data.
CCL blocks are used for storing palette data.
Line 13: Line 13:
Each palette is standard, containing 16 colors, 16 bits per color, for a total of 32 bytes per palette.
Each palette is standard, containing 16 colors, 16 bits per color, for a total of 32 bytes per palette.


[[Category:MOTHER 3 named data structures|CCL]]
[[Category:Mother 3 named data structures|CCL]]
[[Category:MOTHER 3|CCL]]
[[Category:Mother 3|CCL]]

Latest revision as of 02:17, 20 May 2024

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.