Yaz0: Difference between revisions
→Structure
imported>Leoetlino |
imported>Leoetlino |
||
Line 2: | Line 2: | ||
== Structure == | == Structure == | ||
The | === Header === | ||
All values in the header are big endian even on Switch. | |||
{|class="wikitable" | |||
! Offset !! Type !! Description | |||
|- | |||
| 0x0 || char[4] || Magic ("Yaz0") | |||
|- | |||
| 0x4 || u32 || Uncompressed data size | |||
|- | |||
| 0x8 || u32 || Data alignment (archive must be loaded into a N-byte aligned buffer) | |||
|- | |||
| 0xc || u32 || Unused | |||
|} | |||
=== Algorithm === | |||
The algorithm is documented on the [[mk8:YAZ0 (File Format)|MK8 wiki]]. | |||
== Usage in ''Breath of the Wild'' == | == Usage in ''Breath of the Wild'' == |