GraylinKim / sc2reader

A python library that extracts data from various Starcraft II resources to power tools and services for the SC2 community. Who doesn't want to hack on the games they play?
http://sc2reader.readthedocs.org
MIT License
411 stars 85 forks source link

Replay object has no expansion #198

Open fuuman opened 6 years ago

fuuman commented 6 years ago

I downloaded the Pack 1 replays from sc2client-proto. If i want to load such a replay with

replay = sc2reader.load_replay('/path/to/replay.SC2Replay', load_level=4)

an Exception will be raised:

AttributeError: 'Replay' object has no attribute 'expansion'

Is there a solution for that?

dsjoerg commented 6 years ago

Not sure but you might have more luck with ggtracker/sc2reader.

dsjoerg commented 6 years ago

Maybe the explanation is https://github.com/ggtracker/sc2reader/issues/49