|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
Java Based Compressor
Posted: Sun Aug 06, 2017 10:15 pm
|
Hi,
Anyone aware of a compression format that is targeted (and ideally already implemented) for low end systems such as SMS and has a compressor available in java? |
|
|
Posted: Mon Aug 07, 2017 6:20 am |
No, but it wouldn't be hard to port one, they're not that complicated. If you want cross platform, there's an aPLib compressor in Python. | |
|
Posted: Mon Aug 07, 2017 8:10 am |
That is my current go to option using Jython. A concern was the original author Jørgen Ibsen explicitly forbid the reverse engineering of the compressor in his licence so not where the python version sits. I might pop him an email.
I do very much like aPLib and you have done all the hard work for me (many thanks). EDIT: I should mention. Looking for an alternative that is fully done in java. Doubt it exists but fishing. |
|
|
Posted: Mon Aug 07, 2017 9:25 pm |
i'd say there are some RLE java classes online. | |
|
Posted: Mon Aug 07, 2017 10:35 pm |
Given the format spec it's not that hard to write a compressor. Well, it's a bit painful because it's hard to be optimal, but a simple implementation is OK. Maybe go for ZX7 if the aPLib restrictions worry you. | |
|
Posted: Wed Aug 09, 2017 7:23 pm |
There are a set of compressors/decompressors in AspectEdit. I lost the source code a long time ago but feel free to run that through JD-GUI or something. Take a look in the aspectedit.io package. The LevelReader/Writer classes handle Sonic 2/Sonic Chaos level formats (RLE). TTLevelReader/Writer handles Sonic Triple Trouble level compression (an LZSS variant). CompressedTilesetReader/Writer handles the art compression.
[/url] |
|