Hacking Romchu 0.6...

MrAimenify

Active Member
OP
Newcomer
Joined
May 24, 2011
Messages
39
Trophies
0
Age
29
Website
www.youtube.com
XP
49
Country
Hello. I have a question about this program. Thanks to this, we can decompress games/romc like Majora's Mask using LZ77.
smile.gif
The question is then, how can we compress games/roms with LZ77?

Download Romchu 0.6 here.

/MrAimenify.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
there are 2 different formats for the LZ77 ive seen used for the wii stuff. the first byte is either 0x10 or 0x11. IIRC, banners and stuff are the 0x10 type with a 4 byte magic word added to the beginning.

you can find code to compress banners ( ie the 0x10 format ) in many different banner tools. smash bros brawl uses the 0x11 format when it compresses snapshots/replays/levels to save on the SD card. you can find in the source code for smash stack the code which i wrote based on some c# code i found online to compress data in this format. my code is c++ using the Qt framework, and here is the code which i based it off of http://code.google.com/p/puyotools/source/...on/onz.cs?r=111
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Mkay.