Overview of sc2reader features and capabilities
upstreamsc2reader is an open-source Python library designed to extract gameplay information from StarCraft II replay and map files. It is suitable for building statistics, analytics, and replay organization tools.
Core Features
- Full Parsing: Extracts all available data from replay files (including Arcade) across all official game releases.
- Map Handling: Automatically retrieves maps, extracts basic map data/images, and links unit/ability IDs to game data.
- Object Model: Processes raw replay data into an interlinked set of
Team,Player, andUnitobjects for easy manipulation.
Available Plugins
- Selection Tracking: Tracks every player's current selection and hotkeys at every frame.
- APM Tracking: Provides APM (Actions Per Minute) information by minute and as game averages.
- GameHeartNormalizer: Normalizes data (teams, races, times) for GameHeart games.
Included Scripts
sc2printer: Prints basic replay information to the terminal.sc2json: Renders replay information to JSON for use in other programming languages.sc2replayer: Plays back a replay one event at a time with detailed printouts.