https://github.com/eigenein/wotbreplay-inspector
World of Tanks Blitz replay inspector
https://github.com/eigenein/wotbreplay-inspector
inspector parser replay replays rust rust-crate wargaming world-of-tanks-blitz
Last synced: 5 months ago
JSON representation
World of Tanks Blitz replay inspector
- Host: GitHub
- URL: https://github.com/eigenein/wotbreplay-inspector
- Owner: eigenein
- License: mit
- Created: 2022-12-05T18:45:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T19:11:34.000Z (over 1 year ago)
- Last Synced: 2024-12-29T01:02:36.209Z (6 months ago)
- Topics: inspector, parser, replay, replays, rust, rust-crate, wargaming, world-of-tanks-blitz
- Language: Rust
- Homepage: https://crates.io/crates/wotbreplay-inspector
- Size: 185 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# `wotbreplay-inspector`
World of Tanks Blitz replay inspector in Rust. Uses [`eigenein/wotbreplay-parser`](https://github.com/eigenein/wotbreplay-parser) under the hood.
[](https://crates.io/crates/wotbreplay-inspector)
[](https://github.com/eigenein/wotbreplay-inspector/commits/main)
[](https://github.com/eigenein/wotbreplay-inspector/actions)
## Quickstart
## Inspecting battle results
### Convert known fields into JSON
```shell
wotbreplay-inspector battle-results 20221205_1409__zeekrab_A140_ASTRON_REX_105_2308651318200102307.wotbreplay
```Example output:
```json5
{
"timestamp": 1670245795,
"players": [
{
"account_id": 534505602,
"info": {
"nickname": "Roberto_Cadenas_Diaz",
"platoon_id": null,
"team_number": 2,
"clan_tag": "ORUGA",
// ...
```**Note**: this ignores any unknown fields.
### Dump full decoded structure into JSON
Useful for manual inspection:
```shell
wotbreplay-inspector battle-results 20221205_1409__zeekrab_A140_ASTRON_REX_105_2308651318200102307.wotbreplay --raw
```## Inspecting replay packets
```shell
wotbreplay-inspector dump-data 20230508_1237__helaas_pindakaas_A140_ASTRON_REX_105_2318392312630661347.wotbreplay
```Example output:
```json lines
{"clock":0.0,"payload":{"EntityMethod":{"UpdateArena":{"field_number":17,"arguments":{"players":null}}}},"raw_payload":"e4064c002f000000020000001100"}
{"clock":0.0,"payload":{"Unknown":{"packet_type":35}},"raw_payload":"5f"}
{"clock":0.0,"payload":{"Unknown":{"packet_type":36}},"raw_payload":"5ff90200"}
```