If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Mother 3/CCG block: Difference between revisions
< Mother 3
Jump to navigation
Jump to search
Lorenzooone (talk | contribs) (→Format) |
Lelegofrog (talk | contribs) mNo edit summary |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{subpage|game=Mother 3}} | |||
==Overview== | ==Overview== | ||
CCG blocks contain compressed graphics data. | CCG blocks contain compressed graphics data. | ||
Line 5: | Line 6: | ||
* <tt>00-03 (04)</tt> = "ccg " header | * <tt>00-03 (04)</tt> = "ccg " header | ||
* <tt>04-07 (04)</tt> = "02 00 00 00" Bytes | * <tt>04-07 (04)</tt> = "02 00 00 00" Bytes | ||
* <tt>08-0C (04)</tt> = {{color2|#000000|#43895C|[ A ]}} | * <tt>08-0C (04)</tt> = {{color2|#000000|#43895C|[ A ]}} Number of the last tile of the graphic | ||
* <tt>0C-.. (..)</tt> = LZSS-compressed graphic | * <tt>0C-.. (..)</tt> = LZSS-compressed graphic | ||
* <tt>..-.. (04)</tt> = "~ccg" footer | * <tt>..-.. (04)</tt> = "~ccg" footer | ||
===Table view=== | ===Table view=== | ||
Start of the block. | |||
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 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 {{color2|#000000|#43895C|[ A ]}} [.................. | 00 | 63 63 67 20 02 00 00 00 {{color2|#000000|#43895C|[ A ]}} [.................. | ||
End of the block. | |||
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? | |||
+-------------------------------------------------------------------------------- | |||
?? |..........] 7E 63 63 67 | |||
[[Category: | [[Category:Mother 3 named data structures|CCG]] | ||
[[Category: | [[Category:Mother 3|CCG]] |
Latest revision as of 02:16, 20 May 2024
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