Break: improve the docs and rename type_ into packet_type

This commit is contained in:
eigenein committed 2023-05-08 20:53:48 +02:00
1 parent 0ac983832b
commit 181da1ae96
6 files changed
+36 -38

No files matched your search

-23
View File
@@ -36,26 +36,3 @@ fn main() -> Result<()> {
Ok(())
}
```
## 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`