barubary
5f77ee332e
C#: updated the project file to include the IO-utils class.
2011-04-07 13:55:10 +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
barubary
8a5583c308
C#: fixed The new LZ-0x10 and LZ-0x11 decompressors. Only LZ-0x10 hasn't been tested yet.
2011-04-06 16:42:27 +00:00
barubary
5ecc296c1a
C#: fixed the new Huffman decompressor.
2011-04-06 16:00:04 +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
2c6ef5570a
C#: updated the generic compression/decompression functions to make sure the folder of the given output file exists before creating the file.
2011-04-05 16:41:43 +00:00
barubary
bd9c45a89b
C#: improved the RLE compressor, even though it's still untested. (should no longer read beyond the end of the input stream)
2011-04-05 16:18:03 +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
da75d115e0
C#: completed the implementation for the decompression of the Huffman format.
2011-04-01 14:12:23 +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
0e5fe616c3
C#: Re-implemented the RLE decompression in the new format. The new format file has not been added to the project file, as I can only work in VS2010 where I am at the moment (and manually editing the file seems to break the autorun every time I try it).
2011-03-22 14:24:22 +00:00
barubary
1bd750c76d
C# (previous one as well): re-implemented the LZ-0x11 algorithm in the new structure. Also updated the GBATEK-like format description of the format, hopefully correct this time.
2011-03-22 11:31:48 +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
052b9c0677
Augh. idiot-bug fixed. (the last 0xC bytes of arm9.bin should be ignored, no the first ones)
2011-01-16 00:38:02 +00:00
barubary
a19592264e
Last adjustment to the LZ-Overlay decompression for now, until I can compare a properly decompressed file with one that doesn't come out right with this program.
2011-01-16 00:25:46 +00:00
barubary
e8b3913596
Minor adjustment in LZ-Overlay decompressing, catching more Disp-values that are too large.
2011-01-16 00:11:04 +00:00
barubary
11564be73d
Fixed some bugs in the LZ-Overlay code.
2011-01-15 23:51:06 +00:00
barubary
2334261982
Added support for compression used in overlay files of the DS, as well as the arm9.bin file. The format is mostly LZ-0x10 in reverse, but has a small difference in the calculation of the Disp value for compressed blocks. The complete file also need not be compressed.
2011-01-15 21:38:13 +00:00
barubary
2b231bcbb8
Added a built version of the C# project, since I'm apparently not allowed to create new downloads at the moment. =/
...
Also, an afterthought on the previous commit: I've also added an option to disable the use of specific decompression algorithms via the command line.
2010-10-28 23:35:36 +00:00
barubary
0e13ad064e
Added a new compression format in the C# source: type 0x40 LZ77/LZSS. It differs not very much from type 0x11 in compression size, but has an odd way of storing which blocks are compressed.
...
A Java-version of the scheme may come at a later time.
I _think_ this is a built-in compression, but it could also be a format Camelot made and used only for the latest Golden Sun installment.
Oh, I've also added the MIT licence to the C# source code file.
2010-10-28 23:24:56 +00:00
barubary
1ab4aa0c69
Java: Added some simple JavaDoc to the Pair class.
2010-09-22 21:17:39 +00:00
barubary
2bd45587cf
Added some more JavaDoc to the HexInputStream methods. Also made a small improvement to its skip(long)-method.
2010-09-22 18:09:32 +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