.lz-compression of Fire Emblem: IF (Help?)

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by DJPlayer, Jun 23, 2015.

  1. DJPlayer
    OP

    DJPlayer Banned

    Banned
    542
    184
    May 21, 2015
    Netherlands
    Hey Guys,

    at the moment, I'm on vacation and got a copy of Fire Emblem If a few moments ago.
    I decrypted the game and wanted to check the files in it.
    The problem: Almost all files are compressed with a (unknown) lz-compression (not LZ10, LZ11, LZOvl, Huffman4, Huffman8) and want to know how I can decompress them.

    I've linked a Screenshot of the file "24x24.bch.lz (3kb)" in "romfs\icon".
    Warning: Spoilers inside!


    Hope someone could help me with this
     
  2. Blebleman

    Blebleman GBAtemp Old-Timer

    Member
    684
    111
    Nov 14, 2003
    Canada
    Chiba Prefecture , Japan

    Compression aside (can't help you there) -- you have an undumped day-0 game in your hands -- tread lightly. Someone on GBAtemp did a no-no and ended up paying big time for it.

    EDIT: Whoa, actually, day -1. Your store broke the street date, it's coming out tomorrow!
     
    DJPlayer likes this.
  3. SciresM

    SciresM GBAtemp Advanced Fan

    Member
    566
    1,661
    Mar 21, 2014
    United States
    I wouldn't know ANYTHING about this, of course...but I can tell you that in Awakening if you delete the first four bytes of a .lz file you can use dsdsdecmp to lz11 decompress it ;)
     
    Kaphotics likes this.
  4. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    If you look on a very popular site that almost everyone here refers to, there's links there to the ROM image, so it already has hit the internet.
     
  5. DJPlayer
    OP

    DJPlayer Banned

    Banned
    542
    184
    May 21, 2015
    Netherlands
    tried the same right now.
    Removed the first four bytes (13 e4 42 00) tried to decompress it with dsdecomp (lz11).
    Error: This file is not is a supported format

    (used DsDecmp GUI in 3DSExplorer 1.5.3.1).

    EDIT: I tried the other compression-variants, too but none of them worked
     
    Last edited by DJPlayer, Jun 24, 2015
  6. SciresM

    SciresM GBAtemp Advanced Fan

    Member
    566
    1,661
    Mar 21, 2014
    United States
    I know literally nothing about the DsDecmp GUI.

    That said, the files are LZ-11 compressed with a 4 byte meta uint (0x13, uncompressed_file_length) in front of the compressed data.

    Try using command-line DsDecmp.
     
  7. DJPlayer
    OP

    DJPlayer Banned

    Banned
    542
    184
    May 21, 2015
    Netherlands
    OKay, that seems to work :)