KENS V1.4 RC3
* Corrected a bug that prevented the functions that output data to a buffer to create the buffer (could only use already initialized buffers). Thanks a LOT to Korama for helping me fixing this.
* Fixed all the compression functions so they produce files with an even size
* Included the Delphi unit corrected by Korama (my changes to this unit were not really good - I'm not a Delphi programmer)
* Headers and units are now in a sub-directory named "Include"
* Updated the info in the README.HTML file
KENS V1.4 RC2
* Turned all functions to local functions, so they all use temporary files
* Removed the temporary local Kosinski functions (as the original functions are now local)
* Added functions that output data to a buffer rather than to a file (thanks to Stealth for asking for that improvement)
* Edited the headers and units to reflect the changes
* Converted README.TXT, VERSION.TXT and LICENSE.TXT to HTML, because it's easier to read
* Updated the info in the README.HTML file
KENS V1.4 RC1
* Corrected a bug in the Enigma Decompression algorithm. Thanks to Stealth for reporting and Nemesis for helping in fixing it.
* Added "Local" Kosinski functions, which copy the file to the Windows temporary directory before compressing or decompressing. This fixes a speed issue when the source or destination files are on a remote computer. Thanks to Stealth for finding out this issue (we spent hours trying to find out why it was so slow) and helping in fixing it (although I used a different method from the one used in the unofficial version that he released).
* Edited the headers and units to reflect the changes in the Kosinski functions
TSDC V2.2 RC3
- Repacked with version 1.4 RC3 of the KENS DLLs
Hello my friends !
Here's the last release of The Sega Data Compressor. It fully supports both compression and decompression of Kosinski, Engima, Nemesis and Saxman formats. TSDC should no longer be updated (but could be repacked with newer versions of the DLLs), unless there's a new compression format.
As for KENS, it is a pack that contains 4 DLLs, each of them featuring compression and decompression of a format. They are distributed under LGPL, so you have access to their source code. These DLLs can be used by both standard (AKA C/C++ :D), Visual Basic and Game Maker applications. Using these DLLs instead of having the code written in the application allows to correct bugs in the algorithm without having to recompile the application. I made these DLLs because I had several applications using the algorithms, and it was a pain to update all of them each time I changed something in an algorithm. Though, the very first time I compiled them, it was for Beta, but I then realized they would be extremely useful for everybody, me included. TSDC uses these DLLs.
If you need help reusing these DLLs in your applications, don't hesitate to ask me for help.
TSDC-V2.2-RC3 (ACE - 91 KB)
TSDC-V2.2-RC3 (SFX ACE - 153 KB)
TSDC-V2.2-RC3 (ZIP - 228 KB)
KENS-V1.4-RC3 (ACE - 71 KB)
KENS-V1.4-RC3 (ZIP - 125 KB)
KENS-V1.4-RC3-Source (ACE - 43 KB)
KENS-V1.4-RC3-Source (ZIP - 73 KB)
Also available on SourceForge (KENS 1.4 RC3 and TSDC 2.2 RC3 not uploaded yet).
As I heard that some people were asking how that tool works, here are some basic explanations:
- In order to decompress a file, open one of the decompression tool, and choose the ROM from which you want to extract data, using the first "Set" button. Then, choose a file that will receive the decompressed data, using the second "Set" button. Then, you can either choose a location from the list or typing one yourself (in that case, you MUST write it in hex, and without the 0x prefix). Finally, press the "Decompress" button. The status line should say "Processing..." for a very short time (usually 2 or 3 ms, unless it's a big archive), and then "Done !".
- Now, compression: run one of the compression tools, and choose the file containing the data which you want to compress, using the first "Set" button. Then, choose a file that will receive the compressed data, using the second "Set" button. All you have to do now is clicking the "Compress" button. The status line should say "Processing..." for a few seconds, and then "Done !".
- Specific options:
* Enigma: when compressing or decompressing, you can choose to add and remove padding. This option should only be used when compressing or decompressing a S1 Special Stage. If you added padding when decompressing the Special Stage, then you will have to remove it when recompressing.
* Kosinski: when compressing or decompressing, you can choose whether the archive is moduled or not. Be very careful when using this. Moduled archives can't be used in place of standard archive and vice versa. In the decompressor, this option is semi-automatic: whenever you click a location line ending by (M), the checkbox will automatically be checked. Do remember to recompress these archives using the moduled option.
* Kosinski (2): when compressing, you can change the sliding window and maximum recurrence length. This does not have any real use for end-users, but it might be interresting for hackers. If you do not know what I'm talking about, then you will not need these options.
- Warning: Enigma and Nemesis compression formats are data-type specific. You CAN'T use the Enigma and Nemesis compression / decompression tools for archiving. You could use the Kosinski tools however, but this is pointless, as the compression process is quite long, and the compression ratio not interresting enough. As for the Saxman compression format, it can only compress very small files, and the maximum size of a compressed file is 64 K (I think).
- Difficulties downloading: if you can't download the files, try opening the FTP folder instead of clicking that link, then drag-drop the file you want to download from your IE window to the desktop or on any folder.