pouët.net

apultra
screenshot added by introspec on 2020-06-11 21:33:44
platform :
type :
release date : june 2020
  • 8
  • 2
  • 0
popularity : 57%
 57%
  • 0.80
alltime top: #13559
added on the 2020-06-11 21:33:44 by introspec introspec

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr bluesky threads

comments

New multi-platform cruncher? Mandatory thumb up!
rulez added on the 2020-06-11 21:37:10 by ham ham
https://github.com/emmanuel-marty/apultra

GitHub

apultra -- a new, opensource optimal compressor for the apLib format
apultra is a command-line tool and a library that compresses bitstreams in the apLib format.

The tool produces files that are 5 to 7% smaller on average than appack, the apLib compressor. Unlike the similar cap compressor, apultra can compress files larger than 64K (for files smaller than 64K, cap compresses 0.01% better on average).

apultra is written in portable C. It is fully open-source under a liberal license. You can continue to use the regular apLib decompression libraries for your target environment. You can do whatever you like with it.
rulez added on the 2020-06-11 21:37:25 by ded^RMDA ded^RMDA
Apultra is actually a very old new packer at heart. Those of you who used executable compressors for 16-bit MS-DOS programs may remember aPACK by Ibsen Software, which was one of the best executable packers at the time. The compression format underlying aPACK is a fairly well tuned variation of LZ77/LZSS with rep-offsets, a sort of LZX-lite. aPACK became the basis for universal compression library ApLib, still available from Ibsen Software. It offered a decent compression ratio (worse than Exomizer but better than most other pure LZ77/LZSS compressors). It also had a fairly good balance between the compression ratio and decompression rate, so decompressors were ported onto many old systems and used, for example, in all ZX Spectrum games based on La Churrera engine.

The only bad thing about it was the fact that ApLib is freeware, but with closed source. The compressor was not updated for a fairly long while and the competition was gradually catching up.

It was recognized during the last few years that the format used by ApLib is not exploited by the official compressor fully. A series of compressors with better ratios than the official compressor were produced by enthusiasts. Notably, CAP by Sven-Åke Dahl got so good that it edged to just 1-2% behind Exomizer. This is particularly impressive because much simpler format of ApLib allows decompression at about twice the speed compared to Exomizer. Another very recent compressor OAPACK by Eugene Larchenko implemented a brute-force truly optimal compression into ApLib format, albeit at the expense of significant memory and speed requirements.

Apultra written by Emmanuel Marty is a pragmatic compromize offering nearly optimal compression into ApLib format at very competitive speed. It is an open source software with the zlib licence, written in pure C, which has about the same compression ratio as CAP (i.e. about 0.5% behind the truly optimum compression and about 1.5% behind Exomizer). It also provides a number of other useful features, such as the support for backward compression and the work with external dictionary files.

Apultra also comes with a number of new highly optimized decompressors. John Brandwood contributed a very efficient 6502 decompressor. Dan Weiss contributed an ARM7 decompressor. Emmanuel Marty implemented support for 8088 and x86. I contributed new size- and speed-optimized decompressors for Z80 - the size-optimized one is only 139 bytes long and the speed-optimized one is almost 20% faster than the previously fastest decompressor. Backward decompressors, at least on Z80, are even smaller/faster.

Basically, on 8-bit platforms it is a good option for when you need a reasonably good ratio, without having to sacrifice too much speed. On 16/32-bit oldschool platforms it is probably a good choice for when reasonably fast decompression is needed. Give it a try, it may surprise you.
added on the 2020-06-11 22:59:47 by introspec introspec
Any new challengers is great !! (and thank you @introspec for the above comment, very interesting)
rulez added on the 2020-06-12 00:14:59 by norecess norecess
32bit please
added on the 2020-06-12 03:48:23 by g0blinish g0blinish
[x] Targets several platforms
[x] Portable code
[x] Liberal license

Ticks all the boxes for me!
rulez added on the 2020-06-12 07:49:53 by pestis pestis
what pestis said
rulez added on the 2020-06-12 10:18:35 by Ped Ped
what Ped said
rulez added on the 2020-06-12 15:37:07 by utz utz
thanks to E.Marty apultra is opensource and portable! great work!

check out LZSA from the same author ;)
rulez added on the 2020-06-25 22:56:01 by roudoudou roudoudou
139 bytes decompressor sound impressive. I will definitely give it a try.
rulez added on the 2020-06-27 12:30:54 by BSC BSC

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment