Romchu 0.6...

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

Jul 7, 2011

Romchu 0.6... by MrAimenify at 7:13 PM (920 Views / 0 Likes) 1 replies

  1. MrAimenify
    OP

    Newcomer MrAimenify Member

    Joined:
    May 24, 2011
    Messages:
    39
    Country:
    Sweden
    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.

    /MrAimenify.
     
  2. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    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
     

Share This Page