

2Factory objects can be customized either on construction or with the configure() method. With one small upgrade, StarCraft II becomes the ultimate training tool for competitive multiplayer strategizing. Remember above that the short hand notation that we have been using works with a default instance of the SC2Factory class. When recursing directories, enables or disables the follow symlinks behavior.
SC2 REPLAY PLAYER FULL
When recursing directories you can choose to exclude directories from the file search by directory name (not full path). By setting the maxium depth value this behavior can be mitigated. sc2readeris an open source, MIT licensed, python library for extracting game play information from Starcraft II replay and map files.

When handling directory inputs, sc2reader searches the directory recursively until all. Arcade games and Ladder Games are not supported. The directory string when supplied, becomes the base of all the file paths sent into sc2reader and can save you the hassle of fully qualifying your file paths each time. This parser only works on replay files played using the Co-op game mode. sc2reader provides options to mitigate these concerns. load_replays ( paths ): print formatReplay ( replay )Īny time that you start dealing with directories or collections of files you run into dangers with recursion and annoyances of tedium.
