#replay #results #parser #wargaming #world-of-tanks-blitz

app wotbreplay-inspector

World of Tanks Blitz replay inspector

7 releases

0.1.2 Jan 29, 2024
0.1.1 Jun 29, 2023
0.1.0 May 8, 2023
0.1.0-alpha.3 Dec 6, 2022
0.1.0-alpha.1 Dec 5, 2022

#73 in Games

24 downloads per month

MIT license

16KB
245 lines

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"}

Dependencies

~12MB
~108K SLoC