Commit Graph

7 Commits

Author SHA1 Message Date
barubary
a30a7ac3e3 C#: implemented a compression algorithm for the LZE/Le compression scheme. (although it appears to perform worse than the original compression algorithm, it should still work) 2011-11-21 23:46:48 +00:00
barubary
d64137221a C#: A step into a new system, where game-specific formats can be defined as plugins, preventing users from having to download DSDecmp itself again and again. Such plugins must be stores in a 'Plugins' folder in the same location as the DSDecmp.exe.
To keep the base program mobile, all native NDS formats do not require plugins.

The 8-bit Huffman format cannot be used to compress at the moment; thanks to CUE a bug has been found where the offset-field of a node overflows, corrupting the compressed file.
2011-11-13 16:14:45 +00:00
barubary
0f9b368b04 C#: added the Golden Sun: Dark Dawn format in the new structure. This version hasn't been tested yet, and thus hasn't been included in the main program. I also need to think of how to include these game-specific formats in the main program, as they may conflict with built-in formats regarding their header (with GSDD I just try to decompress the file when checking if a file is supported). 2011-05-18 12:24:16 +00:00
barubary
591c44b309 C#: implemented Huffman compression for both 4-bit and 8-bit block sizes. It will not result in compressed files identical to those found in games, as I'm currently not in the mood to figure out exactly what heuristic they use to build the Huffman tree. 2011-05-15 11:40:14 +00:00
barubary
99366a7a9a C#: made a start on the Huffman compression algorithm; the Huffman tree for 8-bit datablocks is now created. 2011-05-14 21:35:12 +00:00
barubary
b8d11b3e9d C#: implemented the LZ-11 compression algorithms (the 'original' and the 'optimal' algorithms). 2011-05-14 16:00:50 +00:00
barubary
468e2e645e C#: removed the BitConverter reference in the Huffman decompressor, and replaced the call with one to a local utility method (to be sure that the byte*->u32 conversion always uses the correct endianness. 2011-04-07 13:51:09 +00:00