For now you are best off working on a fork and sending pull requests.
After a couple good pulls and a quick chat I can give you the keys for the repo. Just a policy I try to keep, no hard feelings.
Forum Index > SC2 General |
ShadesofGraylin
United States32 Posts
For now you are best off working on a fork and sending pull requests. After a couple good pulls and a quick chat I can give you the keys for the repo. Just a policy I try to keep, no hard feelings. | ||
Prillan
Sweden350 Posts
On April 28 2012 23:10 ShadesofGraylin wrote: @Prillan, please stop by the #sc2reader channel on FreeNode and say hi when you get the chance. For now you are best off working on a fork and sending pull requests. After a couple good pulls and a quick chat I can give you the keys for the repo. Just a policy I try to keep, no hard feelings. Sure, I'm not used to Git so I don't know what the standard way is ^^ | ||
ShadesofGraylin
United States32 Posts
| ||
Prillan
Sweden350 Posts
On April 30 2012 01:48 ShadesofGraylin wrote: Just wanted to put a note in here for TLers. Prillan has been making pretty rapid progress on pulling information out of the file, interested parties can follow his/our progress on github. We'll try to keep any significant breakthroughs posted here as well. Indeed I have. But now I need help with parsing the build orders. RobiTL was working on this and I haven't been able to recreate his progress. EDIT: Btw, come by #sc2reader on FreeNode and help us, ask questions or just say hi ^^ | ||
netherh
United Kingdom333 Posts
Looking at the first block of data, it seems lobby data is in [5] and [6]. [5] contains all the possible settings (and the defaults in section 8 of that?), and [6] indexes the actual values. + Show Spoiler + So in block 5:
And block 6:
So in this case, in block 6[1]: 0: x makes that player the AI difficulty of index x (whether or not the player is actually an AI, I think). Or with game speed, section 5:
And section 6:
So index 4 indicates the game speed is "faster". Not completely certain about all of this yet, so I'll look at it some more tomorrow. | ||
InfCereal
Canada1757 Posts
| ||
Prillan
Sweden350 Posts
That is really interesting! Nice find! @InfCereal We know it's in the s2gs file. We just need to extract it. Compared to the replay it's a lot more accurate | ||
ShadesofGraylin
United States32 Posts
On April 30 2012 20:10 InfCereal wrote: I noticed that "build order" was one of the things you guys were trying to find with this. This site seems to be able to extract build orders out of the replay file itself: http://starcrafttools.net/ It does seem to be able to clean up the commands nicely, has anyone checked the accuracy when dealing with queueing and click spam? If it is accurate, I'll have to speculate that they either do some crazy hope for the best resource simulation to validate the queue and eliminate spam or some speculative rate limiting on the production structures. If the authors are around or someone knows I'd be very interested in their approach. | ||
Prillan
Sweden350 Posts
Here's an example build order output: + Show Spoiler + == Protoss - /1/1725938 == | ||
dsjoerg
United States384 Posts
Big congratulations to you, very impressive. :D :D | ||
zachMEISTER
United States625 Posts
| ||
Prillan
Sweden350 Posts
On May 01 2012 01:54 dsjoerg wrote: Holy moly nice work Prillan! What is not complete? Big congratulations to you, very impressive. :D :D Thanks! Well, it's all in my experiment script. I'll have to write it into the sc2reader lib (shouldn't take too long). Also, there seems to be more information in the file than the score screen shows but I have no idea what it means ^^ (and I'm not sure if it's relevant) | ||
Prillan
Sweden350 Posts
Here's an example of what you can parse with this: + Show Spoiler + ---------------------------------------- I'm kinda proud so I hope you guys like this as much as I do ^^ Everything is on github here: https://github.com/GraylinKim/sc2reader/tree/s2gs ShadesofGraylin will review it before merging it to master but it's possible to work with it right now. So go and write something awesome with this! If you need to get all s2gs files in the match history, use this: https://github.com/gibybo/S2GS-Extractor If you have questions, just ask and I'll answer :D | ||
dsjoerg
United States384 Posts
I know someone is working on an automatic s2gs retriever. Once that is ready, I plan to incorporate Prillan's outstanding work in to ggtracker. | ||
Mixopteryx
Norway4 Posts
| ||
Peleus
Australia420 Posts
Thank you so much for all your work Prillan. | ||
Dakota_Fanning
Hungary2332 Posts
On May 12 2012 15:43 Peleus wrote: Dammit, I wish I had enough programming skills to take advantage of this. I'm begging someone to make up a SQ calculator based off information recorded in the s2gs file after each game ala sc2gears style. Thank you so much for all your work Prillan. I'm working on integrating this into Sc2gears, but unfortunately based on a replay file you can't get the name of the s2gs file... | ||
Peleus
Australia420 Posts
On May 12 2012 16:02 Dakota_Fanning wrote: Show nested quote + On May 12 2012 15:43 Peleus wrote: Dammit, I wish I had enough programming skills to take advantage of this. I'm begging someone to make up a SQ calculator based off information recorded in the s2gs file after each game ala sc2gears style. Thank you so much for all your work Prillan. I'm working on integrating this into Sc2gears, but unfortunately based on a replay file you can't get the name of the s2gs file... First, awesome that you're working on it - thank you so much for your efforts. Is it possible to monitor the master folder or s2gs files and order by creation date to correlate with replays? Perhaps matching some unique information within the replay that can be retrieved and cross matched to the score screen in the s2gs files allowing you to match them together correctly? (I.e. player names + map) Not sure if that would be unique enough. Just throwing ideas out there, they may be to clunky to actually implement. Thanks regardless. | ||
Dakota_Fanning
Hungary2332 Posts
On May 12 2012 16:13 Peleus wrote: Show nested quote + On May 12 2012 16:02 Dakota_Fanning wrote: On May 12 2012 15:43 Peleus wrote: Dammit, I wish I had enough programming skills to take advantage of this. I'm begging someone to make up a SQ calculator based off information recorded in the s2gs file after each game ala sc2gears style. Thank you so much for all your work Prillan. I'm working on integrating this into Sc2gears, but unfortunately based on a replay file you can't get the name of the s2gs file... First, awesome that you're working on it - thank you so much for your efforts. Is it possible to monitor the master folder or s2gs files and order by creation date to correlate with replays? Perhaps matching some unique information within the replay that can be retrieved and cross matched to the score screen in the s2gs files allowing you to match them together correctly? (I.e. player names + map) Not sure if that would be unique enough. Just throwing ideas out there, they may be to clunky to actually implement. Thanks regardless. I could match those, that's not the problem. The problem is that s2gs files do not magically appear on your hard drive unless you individually check match result for all games in your match history inside Sc2 (or you use an automated program for it). | ||
Peleus
Australia420 Posts
On May 12 2012 16:55 Dakota_Fanning wrote: Show nested quote + On May 12 2012 16:13 Peleus wrote: On May 12 2012 16:02 Dakota_Fanning wrote: On May 12 2012 15:43 Peleus wrote: Dammit, I wish I had enough programming skills to take advantage of this. I'm begging someone to make up a SQ calculator based off information recorded in the s2gs file after each game ala sc2gears style. Thank you so much for all your work Prillan. I'm working on integrating this into Sc2gears, but unfortunately based on a replay file you can't get the name of the s2gs file... First, awesome that you're working on it - thank you so much for your efforts. Is it possible to monitor the master folder or s2gs files and order by creation date to correlate with replays? Perhaps matching some unique information within the replay that can be retrieved and cross matched to the score screen in the s2gs files allowing you to match them together correctly? (I.e. player names + map) Not sure if that would be unique enough. Just throwing ideas out there, they may be to clunky to actually implement. Thanks regardless. I could match those, that's not the problem. The problem is that s2gs files do not magically appear on your hard drive unless you individually check match result for all games in your match history inside Sc2 (or you use an automated program for it). Ahh ok, I understand a lot better now - thank you for taking the time to explain it to me. The only thing I can think of now is perhaps wiresharking the connection and trying to identify the traffic sent to blizzard to request match history and simulating that after each game. I seem to remember someone perhaps trying that earlier but I don't know how it ended up. | ||
| ||
StarCraft 2 StarCraft: Brood War Dota 2 Heroes of the Storm Other Games summit1g13000 tarik_tv10634 Liquid`RaSZi2027 Dendi1099 Livibee288 C9.Mang0214 Liquid`Hasu205 ToD154 Fuzer 114 ViBE36 Organizations
StarCraft 2 • mYiSmile1 115 StarCraft: Brood War• Hupsaiya 51 • musti20045 38 • davetesta25 • Migwel • sooper7s • AfreecaTV YouTube • intothetv • Kozan • IndyKCrew • LaughNgamezSOOP • Laughngamez YouTube Dota 2 League of Legends Other Games |
Master's Coliseum
Maru vs Lancer
herO vs Lancer
GuMiho vs herO
Big Brain Bouts
Korean StarCraft League
Master's Coliseum
Maru vs GuMiho
Lancer vs GuMiho
herO vs Maru
CranKy Ducklings
Defiler Tour
CranKy Ducklings
OSC
OSC
|
|