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...") |
GlitcherOG (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
RefPack is a LZSS-like compression algorithm written by Frank Barchard, and used in many EA file formats. |
RefPack is a LZSS-like compression algorithm written by Frank Barchard, and used in many EA file formats. |
||
=== Refpack Implementation === |
|||
[https://github.com/GlitcherOG/SSX-Collection-Multitool/blob/main/FileHandlers/RefpackHandler.cs Refpack handler C# by GlitcherOG] |
[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] |
[https://github.com/SSXModding/bigfile/blob/master/src/bigfile/RefPack.cpp RefPack C++ by modeco80] |
||
[https://docs.rs/refpack/latest/refpack/ Refpack Rust Implementation] |
|||
[https://github.com/gibbed/Gibbed.RefPack Refpack C# Implementation by Gibbed] |
|||
[https://github.com/SsxMapper/SSXandTrickyMapExtractor/blob/main/convertbigfiles.py Refpack Python Big Extraction by SSX Mapper] |
|||
[http://download.wcnews.com/files/documents/sourcecode/shadowforce/transfer/asommers/mfcapp_src/engine/compress/ Original Refpack C++ Implementation] |
|||
==== Magic ==== |
==== Magic ==== |
Revision as of 00:57, 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# Implementation by Gibbed
Refpack Python Big Extraction by SSX Mapper
Original Refpack C++ Implementation
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!