Recompressing parts 3, 4, and 5

Discussion in 'NDS - ROM Hacking and Translations' started by YoshiInAVoid, May 19, 2014.

  1. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan

    Jan 10, 2011
    I want to be able to repack a DS firmware that has been unpacked (with either Chism's tool or Loopy's tool - they both give the same output files, just different names).

    More specifically, I am trying to recompress parts 3, 4, and 5:

    Part 5 decrypted, decompressed is 239,520 bytes - MD5: 059B85E2FB02933CFE01533701024EB8.
    Part 5 decrypted, compressed is 63,928 bytes - MD5: 39CD298D25CA3E9587689F022EDC1536.

    I wont upload the files publicly as they are copyright to Nintendo.

    I have already tried recompressing and decompressing with all of the compressors from these tools:

    But none of them can produce the original files.

    Does anyone know the exact compression format and could you provide a tool for this compression?
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    Nov 21, 2005
    United Kingdom
    The decompression tools should be open source, you could have a look at that as it will tell you exactly what was done. The compressions used vary a bit but they should be the common and/or BIOS compatible types as well.
  3. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan

    Jan 10, 2011
    I have seen the source but the function is called:


    Which doesn't help much. I am also not talented enough to be able to write a compress function based on how the decompress function works.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice