Romchu 0.6...

Discussion in 'Wii - Hacking' started by MrAimenify, Jul 7, 2011.

  1. MrAimenify

    MrAimenify Member

    May 24, 2011
    Hello. I have a question about this program. Thanks to this, we can decompress games/romc like Majora's Mask using LZ77. [​IMG] The question is then, how can we compress games/roms with LZ77?

    Download Romchu 0.6 here.

  2. giantpune

    giantpune GBAtemp Addict

    Apr 10, 2009
    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