Difference between revisions of "YAZ0 (File Format)"

From Custom Mario Kart
Jump to navigation Jump to search
Line 1: Line 1:
{{Under-construction}}
+
'''Yaz0''' is a run length encoding (RLE compression) method. In [[Mario Kart Wii]] most of the [[SZS]] files are '''Yaz0 compressed [[U8]] files.'''
  
A '''Yaz0''' compression is seen in multiple Wii games. It's a kind of the following:
+
== Data structure ==
aa aa aa aa
+
=== Header ===
gets replaced by
+
=== Data Groups ===
a3
 
  
There are multiple bytes that tell how to make the output buffer. Using FF for this bytes with nothing else will cause a direct write to the output buffer without any changes.
+
== Examples ==
 +
=== Decompression ===
 +
=== Compression ===
  
 
[[category:File Format]]
 
[[category:File Format]]

Revision as of 20:24, 6 April 2011

Yaz0 is a run length encoding (RLE compression) method. In Mario Kart Wii most of the SZS files are Yaz0 compressed U8 files.

Data structure

Header

Data Groups

Examples

Decompression

Compression