Formats/Common:Refpack

From SSX Modding Wiki
Revision as of 10:55, 31 October 2022 by GlitcherOG (talk | contribs) (Created page with "RefPack is a LZSS-like compression algorithm written by Frank Barchard, and used in many EA file formats. [https://github.com/GlitcherOG/SSX-Collection-Multitool/blob/main/FileHandlers/RefpackHandler.cs Refpack handler C# by GlitcherOG] [https://github.com/SSXModding/bigfile/blob/master/src/bigfile/RefPack.cpp RefPack C++ by modeco80] ==== Magic ==== RefPack often manifests itself starting with a magic `0x10FB` {| class="wikitable" |+ !Byte !Meaning |- |`0x10` |Flags...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Refpack handler C# by GlitcherOG

RefPack C++ by modeco80

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!