Skip to content

SergeyTsaplin/wot-replays-rs

Repository files navigation

Parsing library and CLI tool for World Of Tanks replay files

The repository contains the library and CLI tool to load and parse metadata from .wotreplay files.

wot-replays CLI tool

Sources: wot-replays-cli

The tool allows to load and output metadata (battle info and battle results). For example, the following command prints battle info from the wot-replays-lib/test_data/20210412_2144_ussr-R158_LT_432_01_karelia.wotreplay file in JSON-format:

$ wot-replays parse -i \
    wot-replays-lib/test_data/20210412_2144_ussr-R158_LT_432_01_karelia.wotreplay

You can combine the command with jq to navigate thgrouh the JSON, for example the following script outputs the annonimaizer's fake name:

$ wot-replays parse -i \
    wot-replays-lib/test_data/20210412_2144_ussr-R158_LT_432_01_karelia.wotreplay \
    | jq '.playerName as $playerName | .vehicles[] | select(.name == $playerName) | .fakeName'

wot-replays rust library

Sources: wot-replays-lib

About

Tool to manage World Of Tanks replays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages