Public domain tile compression/decompression

I had pinned my hope of tile compression on a library called "Kramlib" but the two methods used are ripped from Sega: Nemesis and Kosinski. What do people use in lieu of these? Are there any examples?

Thanks again for any advice
smile.gif
 
Sik made two general compressors for the MD: SLZ and UFTC. SLZ is a general lzss compressor/decompressor meant for whole files. UFTC is a tile compressor/decompressor that allows you to compress an entire set of tiles, but decompress any set of tiles (one or more) from anywhere in the compressed set. Very handy that way.

He set up a git repository. To checkout SLZ, use

Code:
git clone [url]https://github.com/sikthehedgehog/mdtools/tree/master/slz[/url]

and to checkout UFTC, use

Code:
git clone [url]https://github.com/sikthehedgehog/mdtools/tree/master/uftc[/url]

If you aren't too familiar with git, you update to the latest code in the repo by cd-ing to the directory clone created and doing "git pull".
 
Thanks Chilly Willy! As usual, your advice is (as Asus is prone to say about their motherboards) ROCK SOLID: HEART TOUCHING!!

For the dingle-dorks like me still using Windows and have no experience in C (beyond creating 12 errors in a 5 line "Hello World" program) grab Portable GIT here:

https://code.google.com/p/msysgit/downloads/list

Then, in the GIT command prompt, run this:

git clone git://github.com/sikthehedgehog/mdtools.git

The nice thing is Sik used a permissive license for Mega Drive development. When GPL3 came up I had visions of being forced to submit my source code as a pack-in with every cart
tongue.gif
 
slobu said:
The nice thing is Sik used a permissive license for Mega Drive development. When GPL3 came up I had visions of being forced to submit my source code as a pack-in with every cart
tongue.gif

Hehehe - it makes sense that the compressor tool be GPL since it's for the PC and doesn't go in the MD project at all. Most MD devs are good about the MD code being a permissive license. All my stuff is MIT, for example.
 
Back
Top