mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-21 10:27:01 +02:00
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
# `wotbreplay-parser`
|
|
|
|
World of Tanks Blitz replay parser in Rust.
|
|
|
|
[](https://crates.io/crates/wotbreplay-parser)
|
|
[](https://github.com/eigenein/wotbreplay-parser/commits/main)
|
|
[](https://github.com/eigenein/wotbreplay-parser/actions)
|
|

|
|
[](https://docs.rs/wotbreplay-parser)
|
|
|
|
## Replay structure
|
|
|
|
`*.wotbreplay` is a ZIP-archive containing:
|
|
- `battle_results.dat`
|
|
- `meta.json`
|
|
- `data.wotreplay`
|
|
|
|
### `battle_results.dat`
|
|
|
|
This is a [pickled](https://docs.python.org/3/library/pickle.html) 2-tuple:
|
|
- Some big number
|
|
- Battle results serialized with [Protocol Buffers](https://developers.google.com/protocol-buffers)
|
|
|
|
#### Useful tools
|
|
|
|
- [Protobuf Decoder](https://protobuf-decoder.netlify.app/)
|
|
- [`protobuf-inspector`](https://github.com/mildsunrise/protobuf-inspector)
|
|
- [Hex Fiend](https://hexfiend.com/)
|
|
|
|
### `meta.json`
|
|
|
|
### `data.wotreplay`
|