v0.17.1
Pre-release
Pre-release
What's Changed
- The -x flag was changed to -o
- fix: team index by @redraskal in #83
New:
- Added Python and Bun script examples
- stdin support
Example:
r6-dissect Match-2023-03-13_23-23-58-199-R01.rec -x round.json
is nowr6-dissect Match-2023-03-13_23-23-58-199-R01.rec -o round.json
r6-dissect Match-2023-03-13_23-23-58-199 -x match.xlsx
is nowr6-dissect Match-2023-03-13_23-23-58-199 -o match.xlsx
Pipe also works now:
cat "/mnt/f/DissectBackup/Y8S2/Match-2023-06-11_23-16-15-205/Match-2023-06-11_23-16-15-205-R01.rec" | r6-dissect > round.json
You could also directly pass file contents in code:
import json
import subprocess
import sys
def parse(input):
output = subprocess.check_output("r6-dissect", input=input)
return json.loads(output)
with open(sys.argv[1], "rb") as file:
replay = parse(file.read())
for player in replay["players"]:
print(f"{player['username']} is playing {player['operator']['name']}")
Full Changelog: 0.16.5...v0.17.1