GlitcherOG (talk | contribs) No edit summary |
m (C&C implementation was modified and partially rewritten in C++. The original is C and can be found in the PGA Tour '97 source code.) |
||
Line 14: | Line 14: | ||
[http://wiki.niotso.org/RefPack Sims Online Refpack Implementation] |
[http://wiki.niotso.org/RefPack Sims Online Refpack Implementation] |
||
[http://download.wcnews.com/files/documents/sourcecode/shadowforce/transfer/asommers/mfcapp_src/engine/compress/ |
[http://download.wcnews.com/files/documents/sourcecode/shadowforce/transfer/asommers/mfcapp_src/engine/compress/ C&C Shockforce Refpack C++ Implementation] |
||
=== File Overview === |
=== File Overview === |
Latest revision as of 23:44, 16 June 2023
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
Sims Online Refpack Implementation
C&C Shockforce 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!