Hacking Romchu 0.6...

  • Thread starter Thread starter MrAimenify
  • Start date Start date
  • Views Views 3,122
  • Replies Replies 1

MrAimenify

Active Member
Newcomer
Joined
May 24, 2011
Messages
39
Reaction score
0
Trophies
0
Age
31
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.
 
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