Cue's DS/GBA Compressors

NOTE: For decompressing the LH-compressed files in NewerSMBW v1.2.0 and below, see LHDecompressor.

Usage
Open the Windows Command Prompt, and use the  command to navigate to the folder. If you downloaded to tool to the Desktop, the command will be similar to the example below:

Once this is done, type  and if the Windows Command Prompt is in the correct directory, you should see the following information:



Something worth nothing is this tool supports compressing/decompressing multiple files at one time, just put other filenames after the first one.

Decompression
To decompress, type the command, where filename is replaced with the name of the file you want to decompress. When the tool is done, it will print a message simply stating it is done.

Note that a new file will not be created, the original file will instead be overwritten with the decompressed file. Also, the  extension will not be removed from the filename.

Compressing
To compress a file, type the command, where filename is replaced with the name of the file you want to compress. When the tool is done, it will print a message simply stating it is done.

Note that a new file will not be created, the original file will instead be overwritten with the compressed file. Also, the  extension will not be added to the filename.

Keep in mind that compressing may take some time.

Version 1.4 (2012-08-12)

 * Solved a bug with Huffman compression (1-2-4 bits)

Version 1.3 (2012-08-12)

 * Solved a bug from update 1.2 in Huffman encode

Version 1.2 (2012-07-05)

 * BLZ decode
 * Updated messages
 * Do not remove the latest 4 zeroes in uncompressed files
 * BLZ encode ARM9 files
 * Check the size: greater as 16KB
 * Check the ID (0x0000): FF-DE-FF-E7-FF-DE-FF-E7-FF-DE-FF-E7-FF-DE
 * Check the Secure Area 2KB CRC16 (0x000E): CRC from 0x0010 to 0x07FF
 * Check the Secure Area 2KB end (0x07FE) : 00-00

Version 1.1 (2012-02-25)

 * Added 'history.txt' file
 * BLZ: added support to encode ARM9 files
 * Added command '-en9' to encode files in normal mode
 * Added command '-eo9' to encode files in optimal mode

Version 1.0 (2011-11-11)

 * Initial version:
 * RLE coding
 * LZSS coding
 * Huffman coding
 * LZ eXtended coding
 * LZ Enhanced coding
 * Bottom LZ coding