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
413 stars 85 forks source link

Match Lobby Properties to Attributes #60

Closed GraylinKim closed 11 years ago

GraylinKim commented 12 years ago

The lobby properties from the s2gs files have id's that match id's found in the replay.attributes.events file from the replay. This link should be explored a bit more. The attribute id mappings for the replay files will probably be useful in making more sense of the lobby properties.

Perhaps something you could take a look at as well when you have time @Prillan, @dsjoerg.

GraylinKim commented 12 years ago

I was able to actually load all of the attribute localization strings from s2gs localization files.

Since these localization files aren't available from the sc2replay files I should serialize the mappings somewhere for the replay.attributes.events reader to use. Some of the processing code for the Replay resource will probably need to be reworked.

GraylinKim commented 11 years ago

This has been done, at least on a basic level in both the HotS and master branches.