usr38259 / rip-r

RIP packer (with -r function)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RIP data compressor

(fork with reversing bit order functionality, original)

RIP aka Real Information Packer is a data compressor developed by Roman Petrov on ZX Spectrum platform. It implements comprehensive compression scheme (LZ + Huffman + offset reuse; see format description for details) while keeping decompressor size small.

This project contains powerful compressor implementation for PC platform. This implementation uses dynamic programming + exhaustive search with heuristics to achieve compression level close to optimal for RIP coding scheme.

The compressor is rather slow and has the following limitations:

  • severe amounts of memory -- up to 4*N2 bytes -- required; for this reason 64-bit mode is recommended;
  • it is unlikely to swallow files larger than 100 kB.

This compressor produces raw compressed stream, no headers, no decompressor included.

Decompressor

DeRIP repository contains decompressor implementation for I80 platform.

z80 directory contains a few decompressor implementations for Z80 platform.

All implementations require working area of #5C2 bytes long.

Legal

Compressor is published under custom license.

See also

  • RIP - RIP data compressor (original repository)
  • mRIP - simplified version of RIP compressor

About

RIP packer (with -r function)

License:Other


Languages

Language:C++ 99.3%Language:C 0.7%