-
Download and install the game from the official website (Starcraft II is free to play by now).
-
Download the mini games and extract them to your
StarcraftII/Maps/directory. -
Open DemoReplay_3-16-1.SC2Replay (directly with the Starcraft II client) to ensure that Starcraft II has downloaded the required version.
If you used the default install location PySC2 should find the latest binary. If you changed the install location, you'll need to set the SC2PATH environment variable with the correct location.
-
Download Starcraft II Linux package Version 3.16.1 from the Blizzard sc2client GitHub repository.
Be sure to copy the files to~/StarCraftII/. -
Download the mini games and extract them to your
StarcraftII/Maps/directory.
Install Deepminds PySC2 package using pip:
pip install pysc2==1.2 Record replays using the following command:
python record.py By default replays will be stored under ./replays/.