VC 'romc' Compressor/Decompressor

Discussion in 'Wii - Hacking' started by jurai, May 4, 2008.

May 4, 2008
  1. jurai
    OP

    Member jurai GBAtemp Fan

    Joined:
    Dec 23, 2005
    Messages:
    338
    Country:
    For encoding a rom for use in the latest versions of
    the Nintendo 64 Virtual Console emulator. Currently
    supported by games such as Cruis'n USA and Kirby 64.

    Usage:
    Encode a rom to romc format
    'romc e input output'

    Decode a romc file back to a rom
    'romc d input output'

    Note:
    Although many roms will save space with compression,
    Some roms will actually gain space instead of saving
    space when compressed due to the algorithm (ex: RE2)

    http://www.megaupload.com/?d=9MJO39BQ

    http://www.sendspace.com/file/3scanb

    Presumably all future versions of the virtual console will use the compressed variant of storing the rom since it allows them to save some block space on roms which don't utilize all of the rom space and contain alot of padding, though the algorithm they used isn't really 'that' great at compression imo, but is aimed at speed I'm sure.
     
  2. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,736
    Country:
    United Kingdom
    Thanks for this jurai, it seems we are already heading into the "usability" arena which is nice.
     
  3. Pikachu025

    Member Pikachu025 GBAtemp Advanced Fan

    Joined:
    May 3, 2006
    Messages:
    960
    Location:
    Austria
    Country:
    Austria
    I'm pretty sure Paper Mario uses compression too.
     
  4. _Contra_

    Member _Contra_ GBAtemp Fan

    Joined:
    Feb 11, 2009
    Messages:
    315
    Country:
    Italy
    Who do I explain how to use?

    thx
     
  5. kaepora

    Newcomer kaepora Member

    Joined:
    Oct 6, 2008
    Messages:
    11
    Country:
    United Kingdom
    I've been trying to inject the Collector's Edition of Majora's Mask into the official MM VC WAD, and the rom needs to be compressed form its full 32MB size to around 27MB (MM VC romc size).
    But when I use the compression tool it reduces the rom to a tenth of it's size (32MB to about 3.3MB) - obviously this is too much (or little, you know what I mean). Any idea why?

    Reason for doing this: I prefer the CE edition of MM to the original, and I don't want to use the GC disc if I don't have to. Obvious;y if anyone has tried this or has any other thoughts other than the actual problem above, do pipe up.
    I've seen Master Quest injection WADs around - presumably ppl managed to pack the GC disc rom into the OoT WAD - was compression involved in that?

    Advice on the compression issue would be handy though.

    TIA and respect. [​IMG]
     
  6. RadioShadow

    Member RadioShadow GBAtemp Advanced Fan

    Joined:
    Aug 30, 2007
    Messages:
    525
    Location:
    UK
    Country:
    United Kingdom
    Does the new SNES VC WADs use this type of compression?

    If so, adding SNES support would be nice.
     
  7. mousex

    Member mousex GBAtemp Advanced Fan

    Joined:
    Jan 23, 2009
    Messages:
    987
    Country:
    United States
    @RadioSHadow: You see that the last update to this app was made over a year ago?
     
  8. stev418

    Member stev418 GBAtemp Fan

    Joined:
    Sep 25, 2007
    Messages:
    492
    Country:
    Australia
    RadioSHadow: I dont think its the same, Im still trying hard to find soemone to get the NEW LZH8 on snes roms de-/compression, ive asked around a bit but no luck so far [​IMG]

    so if anyone know please reply [​IMG] it has a similar header as the 'old' LZ77 stuff

    eg. 40xxyyzz

    where (40) is the compression type and xxyyzz=zzyyxx = decompressed size of file

    thats the best i can do myself though
     
  9. Redead

    Newcomer Redead Newbie

    Joined:
    Dec 4, 2010
    Messages:
    1
    Country:
    United States
  10. _47iscool

    Member _47iscool GBAtemp Regular

    Joined:
    Nov 18, 2013
    Messages:
    127
    Country:
    United States
    Could someone please re-upload this program since the other links are dead? I'd like to try 32MB Ocarina MQ Debug ROM with the Majora emulator.
     
  11. jurai
    OP

    Member jurai GBAtemp Fan

    Joined:
    Dec 23, 2005
    Messages:
    338
    Country:
    I'm not sure I have the source for this any longer / if I do I'm not sure which hard drive its on, should I ever find it ill post it.
     
  12. BITBURGER

    Member BITBURGER GBAtemp Regular

    Joined:
    Dec 5, 2014
    Messages:
    164
    Location:
    Kerkrade
    Country:
    Netherlands
    What are the commandson the dos prompt
    comc ????
     

Share This Page