s2protocol icon indicating copy to clipboard operation
s2protocol copied to clipboard

Is there any documentation on these NNet.Game.*Event(s) ??

Open DenLilleMand opened this issue 9 years ago • 4 comments
trafficstars

Hi, so i cloned the repo and got the data out of the replay just fine, really a great tool. I was wondering though if there was more documentation on these things?? I read the documentation on a project that uses this protocol (sc2reader) at https://sc2reader.readthedocs.io/en/latest/ and it was really useful, but i thouth blizzard might have all of these events documented somewhere? alot are self explanatory, but maybe not all of the nuances of the event. E.g. Tracker events we have a unitTypename called mineralfield750, so i guess some worker was rallied to this mineral patch, or maybe this event launches every single time a worker returns to the patch, which might be far fetched but without the concrete documentation of the events its harder to make out. Thanks in advance. and again, thanks for making this tool so easy to use and widely available.

DenLilleMand avatar Jul 18 '16 22:07 DenLilleMand

Another related question, what exactly is this NNet ? can i atleast find that source code/documentation somewhere? :)

DenLilleMand avatar Jul 18 '16 23:07 DenLilleMand

Hey, thought this would be an easy answer but it will require going through a good amount of code to answer.

I'm considering starting to seed the wiki with information as I find it. Unfortunately this may be a slow process as this is effectively a side-side project for me. Any help would be welcomed.

NNet is just a namespace from the C++ code. The code uses single letter prefixes for things such as CGame for the game class. The first N I think just means 'namespace' as there is no NNet type, it's just the network type namespace.

jrepp avatar Feb 25 '17 15:02 jrepp

@jrepp Hi, Jrepp. I would really appreciate it if you could tell me if there are any updates on this work. I'm trying to combine the transcript and replay stats using GPT. Now, I have some data decoded by S2Protocol, but I can't figure out what are these attributes meaning. Thank you.

Ivens-Zhang avatar Aug 15 '23 07:08 Ivens-Zhang

I left Blizzard almost 4 years ago. I am unable to provide you with authoritative answers without access to the game sources. The best resource for SC2 replays will be the documentation linked above and probably the SC2 community.

What was done in some cases to understand esoteric attributes was to create some small single-player replays with known actions recorded.

I would also point you to the original consumer of the AI interface: https://github.com/deepmind/alphastar/tree/main/alphastar

jrepp avatar Aug 15 '23 18:08 jrepp