Commit Graph

17 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
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
3c0e60d574 C#: removed the old Program.cs from the project, and rebuilt the .exe to trim the filesize a bit. 2011-05-15 15:24:22 +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
167300d5b8 C#: added usage description for the still-to-be-built console interface to the new compressor/decompressor structure. 2011-04-21 13:58:07 +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
barubary
5f77ee332e C#: updated the project file to include the IO-utils class. 2011-04-07 13:55:10 +00:00
barubary
fa10d8a515 C#: Extended the generic Supports(Stream) method with the length of the input stream, since Overlay-LZ compresses from end to start. 2011-04-05 16:50:17 +00:00
barubary
3a6221a0c6 C#: Fixed the writing of the header of the RLE compressed files; it should state the decompressed size, and not the compressed size. Also added an exception that indicates there is still some input data to read after the compressed stream.
The current RLE implementation passed the first test: compression->decompression resulted in the same file for a manually created test file. (and the compressed file also has the expected format)
2011-04-05 16:44:41 +00:00
barubary
edc3d2da24 C#: added an untested compressed algorithm for RLE. (all new decompression algorithms are also untested) 2011-04-04 13:07:07 +00:00
barubary
1c194134ac C#: started on re-implementing the huffman decompression in the mew format. 2011-03-23 12:04:59 +00:00
barubary
ba18c44249 C#: the project file is now for VS2010. Removed the unused using-statement for Linq to get .NET 2.0 compatibility again. 2011-03-23 09:53:25 +00:00
barubary
8c777e2c02 The start of an attempt to make this program structured better, as well as for easier addition of more formats AND compression for supported formats. 2011-03-21 19:18:07 +00:00
barubary
4500dfc1e1 Upgraded sln to VS2008.
Also updated the source to match my local copy. No changes in decompression, only usability,
2010-09-21 10:05:10 +00:00
barubary
a597cd23a9 added source code for both C# and Java.
Note that the Java algorithms are a port of the C# ones, and only the LZ10 and LZ11 have been tested of the Java implementation.
2009-06-07 13:40:49 +00:00