GFCP: Difference between revisions
Meleemeister (talk | contribs) Created page with "'''GFCP''' is a container for compression. ==File Format== ===Header=== {| class="wikitable" border="1" ! Offset !! Size !! Type !! Description |- | 0x00 || 4 || char[4]..." |
Meleemeister (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
| 0x10 || 4 || uint32 || Compressed data size | | 0x10 || 4 || uint32 || Compressed data size | ||
|} | |} | ||
The remaining data is the compressed data. It should have the same size as stated in the ''Compressed data size'' field of the header. | |||
===Algorithms=== | ===Algorithms=== | ||
Line 24: | Line 26: | ||
| 1 || byte pair encoding | | 1 || byte pair encoding | ||
|- | |- | ||
| 2 || | | 2 || LZ77 | ||
|- | |||
| 3 || [https://wiibrew.org/wiki/LZ77 LZ77] Version 0x10 but without header | |||
|} | |} |