Skip to main content

casc_lib/blte/
mod.rs

1//! BLTE (Binary Large Table Entry) container format decoder.
2//!
3//! BLTE is Blizzard's container format that wraps compressed and optionally
4//! encrypted game data. A BLTE blob starts with a 4-byte `"BLTE"` magic, a
5//! header-size field, and then either a single data block (when header size is 0)
6//! or a chunk table describing multiple blocks. Each block carries a one-byte
7//! mode prefix: `N` (raw), `Z` (zlib), `4` (LZ4), `E` (encrypted), or
8//! `F` (recursive BLTE frame).
9
10/// Block-level compression and mode dispatch (N, Z, 4, E, F).
11pub mod compression;
12/// Top-level BLTE stream decoder (magic validation, chunk table, block iteration).
13pub mod decoder;
14/// TACT encryption key store and Salsa20/ARC4 decryption.
15pub mod encryption;