-
-
Save stephenmm/8831ffe830a0d7395e9f83990add9635 to your computer and use it in GitHub Desktop.
Grab game data from WoT replay files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Notes on reviewing a replay: | |
#Use this to dig into the replay info: | |
https://github.com/evido/wotreplay-parser | |
#Installed the tool here (from windows command prompt): | |
cd C:\Games\World_of_Tanks | |
#Ran it like this: | |
mkdir wotreplay-parser_output | |
#create all the maps: | |
wotreplay-parser.exe --output wotreplay-parser_output --create-minimaps | |
wotreplay-parser.exe --parse --root . --output wotreplay-parser_output/replay_last_battle.wotreplay.png --type png --input replays/replay_last_battle.wotreplay | |
#Create tank movements movie gif: | |
wotreplay-parser.exe --parse --root . --output wotreplay-parser_output/replay_last_battle.wotreplay.gif --type gif --input replays/replay_last_battle.wotreplay | |
#Create tank movements json: | |
wotreplay-parser.exe --parse --root . --output wotreplay-parser_output/replay_last_battle.wotreplay.json --type json --input replays/replay_last_battle.wotreplay | |
#Started cygwin term and made it more readable: | |
cd /cygdrive/c/Games/World_of_Tanks | |
cat wotreplay-parser_output/replay_last_battle.wotreplay.json | python -m json.tool >wotreplay-parser_output/replay_last_battle.wotreplay.readable.json | |
#View the movements I made: | |
gvim wotreplay-parser_output/replay_last_battle.wotreplay.readable.json +/proasix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment