Crate slpz

Source
Expand description

Compresses and decompresses between the slp and slpz formats.

You can expect slpz files to be around 8x to 12x times smaller than slp files for regular matches. (~3Mb down to ~300Kb).

Compression is done with the zstd compression library. zstd is not required on the user’s computer; the library is statically linked at compile time.

The slpz format is documented in the readme in the repo. Important information, such as player tags, stages, date, characters, etc. all remain uncompressed in the slpz format. This allows slp file browsers to easily parse and display this information without needing to decompress the replay.

Structs§

Compressor
Decompressor
Options

Enums§

CompError
DecompError
TargetPathError

Constants§

VERSION

Functions§

compress
Compresses an slp file to an slpz file.
decompress
Decompresses an slpz file to an slp file.
target_path
Library access to slpz program functionality.