Tag Info

New answers tagged

3

Disclosure: I'm the author of Scelight and Sc2gears. Blizzard released an official, open-source SC2Replay file parser library called s2protocol written in python: https://github.com/Blizzard/s2protocol That is the most complete, up-to-date, official replay parser. It is considered the reference implementation. It is quite low-level though. There is ...


1

It is impossible to know for certain from the given code what the issue is, but a reasonable guess is that you namesAsset string contain DOS/Windows style line endings, and therefore when you split by '\n' you leave an '\r' at the end of strings. I of course assume that the path you use is only a placeholder for code that reference the user folder properly. ...



Top 50 recent answers are included