Commit Graph

12 Commits

Author SHA1 Message Date
barubary
4302517e58 C#: Added xml comments to methods that did not have any (in the main DSDecmp project).
The SupportsDecompression-flag is now also used in the main program, and not just in composite formats.
2011-11-14 17:33:30 +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
c1994426f3 C#: Fix for the LZ-Ovl format; the compressed size may also be the file length, instead of the file length minus the header size. 2011-07-27 22:13:56 +00:00
barubary
3bf20290a3 C#: Disabled LZ-Overlay from 'decompressing' files that have four 0-bytes at the end. Also implemented the command-line input, and added a new release build to the bin/ folder. 2011-05-15 15:16:04 +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
a31e3b30a6 C#: the 'optimal' LZ-Overlay compression method will now stop with compressing when it's no longer useful to do so, allowing the start of the file to remain uncompressed. 2011-05-14 20:01:09 +00:00
barubary
48f189c991 C#: Added compression algorithms for the LZ-Overlay format. At the moment, the file will either be fully compressed or not compressed at all. The 'optimal' method also has a higher chance of being sub-optimal due to the nature of overlay files (usually double-compressed files). 2011-05-14 18:52:46 +00:00
barubary
8892f527f5 C#: added a variation to the original LZ-10 compression algorithm that increases the compression rate, while still ensuring compatibility with the built-in decompression. 2011-05-14 14:19:11 +00:00
barubary
69cd6ee199 C#: added built-in check for arm9.bin in LZ-Overlay decompression, as it has some extra bytes that should be ignored when decompressing. Only the file-based methods can handle that of course. Perhaps the extra bytes should also be copied to the output file however, which is currently not the case. 2011-04-21 14:16:59 +00:00
barubary
80efded10b C#: implemented the LZ-Overlay decompression in the new structure. (still untested again). 2011-04-21 11:52:09 +00:00
barubary
426f89f37c C#: added a check in LZOvl.Support to make sure the 'compressed size' is correct (fits within the given file). 2011-04-13 12:24:20 +00:00
barubary
8d1a6abd9d C#: started on the new implementation for the LZ-overlay format. Only the Supports-method is implemented at the moment. 2011-04-08 08:14:44 +00:00