This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
stunt_racer_64:compression [2020/01/27 03:22] shygoo created |
stunt_racer_64:compression [2020/01/27 03:23] (current) shygoo opsie |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| </code> | </code> | ||
| - | After the header are contiguous zlib-compressed chunks, each preceded by subheader containing the destination size of the chunk: | + | After the header are contiguous zlib-compressed chunks, each preceded by a subheader containing the source size of the chunk: |
| <code C> | <code C> | ||
| struct CompressedChunkHeader | struct CompressedChunkHeader | ||
| { | { | ||
| - | /*0x00*/ u32 chunkDstSize; | + | /*0x00*/ u32 chunkSrcSize; |
| /*0x04*/ u8 compressedData[]; // 78 DA ... | /*0x04*/ u8 compressedData[]; // 78 DA ... | ||
| }; | }; | ||