Formats/Common:Refpack: Difference between revisions

From SSX Modding Wiki
No edit summary
No edit summary
Line 11: Line 11:


[https://github.com/SsxMapper/SSXandTrickyMapExtractor/blob/main/convertbigfiles.py Refpack Python Big Extraction by SSX Mapper]
[https://github.com/SsxMapper/SSXandTrickyMapExtractor/blob/main/convertbigfiles.py Refpack Python Big Extraction by SSX Mapper]

[http://wiki.niotso.org/RefPack Sims Online Refpack Implementation]


[http://download.wcnews.com/files/documents/sourcecode/shadowforce/transfer/asommers/mfcapp_src/engine/compress/ Original Refpack C++ Implementation]
[http://download.wcnews.com/files/documents/sourcecode/shadowforce/transfer/asommers/mfcapp_src/engine/compress/ Original Refpack C++ Implementation]

Revision as of 00:59, 24 December 2022

RefPack is a LZSS-like compression algorithm written by Frank Barchard, and used in many EA file formats.

Refpack Implementation

Refpack handler C# by GlitcherOG

RefPack C++ by modeco80

Refpack Rust Implementation

Refpack C# Implementation by Gibbed

Refpack Python Big Extraction by SSX Mapper

Sims Online Refpack Implementation

Original Refpack C++ Implementation

File Overview

Magic

RefPack often manifests itself starting with a magic `0x10FB`

Byte Meaning
`0x10` Flags
`0xFB` Frank Barchard.

The Uint24 after this magic contains the decompressed size. After this is the LZSS bitstream.

Bitstream Documentation

Coming Soon!

Quit bugging me!