Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Is there a way to pull from a StarCraft 2 replay, every 30 seconds, game play metrics like these :

  • Current Unspent Resources
  • Current Army Value
  • Current Production Facilities
  • ...
  • etc
share|improve this question
add comment

2 Answers 2

up vote 8 down vote accepted

Sc2Gears is a good utility to pull out information like that. I'm unsure if you can do those specific metrics, but it is fairly flexible and you should be able to create something similar, if not exactly what you want. It does stuff vs. time quite well and produces all sorts of graphs:

enter image description here

share|improve this answer
add comment

Replay file basically contains only user actions.

So you're require some "emulator" to get such dynamic values like resources count or supply.

I don't know any existing emulator. But I believe that there are some tools that can get this data from RAM but it violates EULA.

Right now I develop sc2drill client to recognize / collect / aggregate data from video stream (it's not prohibited by EULA) but latest version is not published yet. Probably I do it within 1st quarter of 2012. Please support me if you like this idea ^_^

share|improve this answer
    
Like a twitch.tv stream or youtube video? –  Sorean Dec 6 '11 at 5:54
    
Would this be able to capture the Current Unspent Resources? What is really needed I suspect (to get the metrics I'm looking for) I'll probably need to find some kind of emulator... ugh ;-) –  lucidquiet Dec 6 '11 at 6:31
    
it's not too hard to create program that reads game memory and aggregate data. This method also can be used while replay watching at x8 so you can get data from replays too. –  Meta Dec 6 '11 at 8:43
    
There would be no way to write an emulator for this (practically speaking). To convert actions into things like "income" means emulating every nuance of the sc2 game engine, down to the smallest precise detail. And then, you would need to support every version of the engine. And all map features... basically there is just no way to get those kinds of metrics outside of playing through the replay. This is why you can't skip to the middle of a replay without first "playing" through it. –  tenfour Dec 6 '11 at 16:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.