News
Welcome to NeoRHDN! This place is still a work-in-progress, so pardon the construction...

Chat on Discord
Views: 764,668
Sections: Documents | Utilities | ROM Hacks | Games | Translations | Homebrew | Fonts | Community
Site: Main | Rules/FAQ | Discord | Memberlist | Latest posts | Stats | Ranks | Online users
11-24-24 02:57 PM
Guest: Register | Login

NeoRHDN - Utilities - Utility Information

Python source code of LZSS encoder/decoder
Compression / Decompression
Description
A Python source code for the compression and decompression of LZSS files.

Since LZSS is used in dozens of configuration combinations, multiple settings are exposed as upper-case variables that can be adjusted to modify how the compression algorithm works.

The default settings are adjusted to work for the N64 game, "Getter Love!! Panda Love Unit" (Pointer/offset: 10bit, length: 6bit, dictionary size: 1024, dictionary start: 958)

The code also outputs a significant amount of debug information for the user, exposes a few debug probes in the code, and is suitable for experimentation


This package contains:

* LZSS_decoder.py - Decoder's source code
* LZSS_encoder.py - Encoder’s source code
* LZSS_encoder.cpp - Encoder's source code
* helpers.py - Helper functions used by both the encoder and decoder.

Usage:

* python3 LZSS_decoder.py input_file_name output_file_name
* python3 LZSS_encoder.py input_file_name output_file_name
TitlePython source code of LZSS encoder/decoder
AuthorDanijelk
CategoryCompression / Decompression
PlatformN/A
GameN/A
OSOS Independent
LicenseGPL-2.0-or-later
Source CodeNo
LevelIntermediate
Version1.0
Release Date2023-07-03
Downloads300
Last Modified2023-07-06 19:52:52


Affiliates:


Acmlmboard v2.5.6+neo (2024-08-13)
© 2005-2024 Acmlm, Emuz, NinCollin, et al.

Page rendered in 0.028 seconds. (642KB of memory used)
MySQL - queries: 24, rows: 323/331, time: 0.023 seconds.