User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
paper_mario:yay0 [2016/07/15 00:23]
robinerd created
paper_mario:yay0 [2017/07/05 04:54] (current)
shygoo
Line 1: Line 1:
-So, most textures in the Paper Mario ROM use a compression format ​known as YAY0, it's really similar ​to YAZ0and has been used also for early Gamecube games. ​Detailed instructions can be found [[http://​www.origami64.net/​showthread.php?​tid=428|Here]]. +====== YAY0 Compression ====== 
-To prevent corruption, it's possible to fill the rom with zeros from the end of the inserted szp packet to the adress of the end of the original spz packet.+ 
 +Paper Mario uses an [[https://​en.wikipedia.org/​wiki/​LZ77_and_LZ78#​LZ77|LZ77]]-type ​compression format ​called Yay0 to compress much of its assets. Yay0 is nearly identical to [[super_mario_64:​mio0|MIO0]]except the maximum match length ​has been extended from 18 to 273. It manages this by storing additional length information in the data section. Yay0 encoding was also used in many other N64 games, as well as some early Gamecube games. 
 + 
 +[[http://​www.origami64.net/​showthread.php?​tid=428|Compressed texture replacement tutorial]] 
 + 
 +==== References ==== 
 +  * http://www.romhacking.net/​utilities/​1088/​ 
 +  * http://​hitmen.c02.at/​files/​yagcd/​yagcd/​chap16.html