Skip to content

Instantly share code, notes, and snippets.

View ZephyrBlu's full-sized avatar
🎯
Focusing

Luke Holroyd ZephyrBlu

🎯
Focusing
  • London
  • 10:14 (UTC +01:00)
View GitHub Profile
@ZephyrBlu
ZephyrBlu / training.py
Last active August 6, 2019 21:23
SC2 Replay Example
import mpyq
from s2protocol import versions
from heapq import merge
import json
archive = mpyq.MPQArchive('training.SC2Replay')
# getting correct game version and protocol
contents = archive.header['user_data_header']['content']