Commit Graph

7 Commits

Author SHA1 Message Date
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