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/CCG block

From Data Crystal
< MOTHER 3(Redirected from MOTHER 3:CCG block)
Jump to navigation Jump to search

This is a sub-page of MOTHER 3.

Overview

CCG blocks contain compressed graphics data.

Format

  • 00-03 (04) = "ccg " header
  • 04-07 (04) = "02 00 00 00" Bytes
  • 08-0C (04) = [ A ] Number of the last tile of the graphic
  • 0C-.. (..) = LZSS-compressed graphic
  • ..-.. (04) = "~ccg" footer

Table view

Start of the block.

       00   01   02   03   04   05   06   07   08   09   0A   0B   0C   0D   0E   0F
    +--------------------------------------------------------------------------------
00  |  63   63   67   20   02   00   00   00  [        A        ] [..................

End of the block.

       ??   ??   ??   ??   ??   ??   ??   ??   ??   ??   ??   ??   ??   ??   ??   ??
    +--------------------------------------------------------------------------------
??  |..........] 7E   63   63   67