wotbreplay-inspector

Crates.iowotbreplay-inspector
lib.rswotbreplay-inspector
version0.1.2
sourcesrc
created_at2022-12-05 22:48:46.501221
updated_at2024-01-29 19:12:06.681517
descriptionWorld of Tanks Blitz replay inspector
homepage
repositoryhttps://github.com/eigenein/wotbreplay-inspector
max_upload_size
id730638
size47,272
Pavel Perestoronin (eigenein)

documentation

README

wotbreplay-inspector

World of Tanks Blitz replay inspector in Rust. Uses eigenein/wotbreplay-parser under the hood.

Crates.io Last commit GitHub Workflow Status License: MIT

Quickstart

Inspecting battle results

Convert known fields into JSON

wotbreplay-inspector battle-results 20221205_1409__zeekrab_A140_ASTRON_REX_105_2308651318200102307.wotbreplay

Example output:

{
  "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:

wotbreplay-inspector battle-results 20221205_1409__zeekrab_A140_ASTRON_REX_105_2308651318200102307.wotbreplay --raw

Inspecting replay packets

wotbreplay-inspector dump-data 20230508_1237__helaas_pindakaas_A140_ASTRON_REX_105_2318392312630661347.wotbreplay

Example output:

{"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"}
Commit count: 38

cargo fmt