World of Tanks Replay Parser (written in Go)
This package is work in progress
$ wotreplay-parse [-out FILE] *.wotreplay
$ wotreplay-parse FILE.wotreplay | jq .
{
"Date": "08.06.2017 04:52:35",
"Map": "聖なる谷",
"Gamemode": "1:Random",
"Reason": "1:Extermination",
"Tank": "ussr-R41_T-50",
"Player": "kosh04",
"Version": "World of Tanks v.0.9.19.0.1 #450"
}
import (
"fmt"
"github.com/kosh04/wotreplay"
)
r, err := wotreplay.ParseFile("FILE.wotreplay")
if err != nil {
// ParseError
}
fmt.Println(r)
- Define JSON data type of Matchstart, ButtleResult, etc
- Analyze packet
- Friendly command-line
- wotrp2j.py compatible JSON
- Enable parse of old replays
- https://github.com/evido/wotreplay-parser (C++)
- https://github.com/Aimdrol/WoT-Replay-Analyzer (exe only)
- https://github.com/Phalynx/WoT-Replay-To-JSON (Python)
- https://gist.github.com/benvanstaveren/2402016 (Perl)
- https://github.com/thesilvervestgroup/wot-replay-parser (PHP)
MIT License