Expand description
hots-replay: parse Heroes of the Storm replay files (.StormReplay).
Behavior-identical port of Blizzard’s Python heroprotocol.
MPQ container layer and decoding core are verified against the Python
reference via golden differential tests (see the repository
doc/路线图.md).
Re-exports§
pub use error::Error;pub use replay::StormReplay;pub use value::Value;
Modules§
- bitstream
- Big-endian bit-packed buffer, ported from heroprotocol’s
BitPackedBuffer. - decoder
- Protocol decoders:
BitPackedDecoder(old format) andVersionedDecoder(new format), ported fromheroprotocol/decoders.py. - error
- Error type shared across the crate.
- events
- Lazy event stream iterators.
- mpq
- MPQ (MoPaQ) archive reader for
.StormReplayfiles. - protocol
- Per-build protocol version data (typeinfos + event maps).
- replay
- Top-level replay API.
- value
- Dynamic value model mirroring the Python dicts produced by heroprotocol.