ascendedguard / sc2replay-csharp

C# Library for parsing Starcraft 2 Replay files
MIT License
56 stars 20 forks source link

Added parsing of map gateway and hash. #22

Closed TheNickestNick closed 12 years ago

TheNickestNick commented 12 years ago

With the gateway and hash of the map, you can access the actual map file via the following url template:

http://{gateway}.depot.battle.net:1119/{lowercase-hex-encoded-hash}.s2ma

For example, Metalopolis can be found at http://us.depot.battle.net:1119/cadd112e2aca3ed743863b669bb869ce86cdce3ad6171087b8182abe4ac8e9cd.s2ma

This information allows users of the replay parser to download the map file associated with the replay, to do things like e.g. display a minimap image.