Export Spectator Overlay Style Information

UnknownMacuyiko

New Member
Nov 15, 2017
2
0
0
#1
Hi all,

I'm looking for a way to do the following: I'm currently planning to analyze a bunch of recorded games. I've already played around with available MGZ analyzer tools and have a good idea of what they're capable of. I'll probably use https://github.com/happyleavesaoc/aoc-mgz to gather some information from the recordings.

Based on how the recording data is gathered, it's kind of straightforward to get a count of units constructed per player over time (same for buildings and research), but it seems to be pretty hard to get a count of "alive" units per player over time, e.g. a count of vils and military over time as shown by http://www.voobly.com/gamemods/mod/487/Spectator-Overlay.

Replaying the recording in-game and extracting the data from there seems like the only feasible approach, but the Spectator Overlay does not allow for a way to export data. So basically, I'm looking for either:

- Some information on how Spectator Overlay gets its information. I assume it does some kind of memory poking? Is there documentation on how the different structures of the game are stored? I found this post: http://www.codereversing.com/blog/archives/38, but it seems limited and pretty outdated.

- A way to extract out info from Spectator Overlay. As a last resort, I'd do this by replaying the game and gathering out info by taking screencaps and OCR'ing them in an automated setup. Obviously this seems horribly inefficient.

- A way to run the mod (or a similar approach) without Voobly. Having to start everything through Voobly is a bit annoying if I want to automate this setup. I'd prefer to be able to set this up in an offline approach where I can automate the correct executable (Userpatch 1.4, 1.5, 1.5 with WK), start the recording, and start getting out information. Is there any reason why this mod only works with Voobly?

Any idea's or thoughts more than welcome.
 
Jan 29, 2014
119
0
16
#2
- Spec Dashboard and Spec Overlay both use a Voobly-specific spectator API. That is how they work and why they only work on Voobly.
- I don't think you can get a count of units per player. That info isn't in the rec.
- Spec Dashboard exposes a websocket you can read data from in real-ish time. The problem is, it doesn't support WK.
 

UnknownMacuyiko

New Member
Nov 15, 2017
2
0
0
#3
> - Spec Dashboard exposes a websocket you can read data from in real-ish time. The problem is, it doesn't support WK.

Hmm, this would be exactly what I could use, but Spec Dashboard is indeed a bit behind in terms of UP/WK support.

Is there any info on the Voobly specific spec API? I could always see how hard it'd be to hand-roll my own mod and go with that, but API docs seem to be sparse.
 

Time

Your time
G M T
Your zone

Upcoming Events

EscapeTV Launch Event - Day 3
Sunday 15:00 (GMT +01:00)
TheViper, TaToH, MbL & Liereyy on LAN
Masters of Rome - Semifinals - Bo5
Sunday 15:00 (GMT +01:00)
TLC2 vs DrSoigia
Improvement Cup 4v4
Sunday 16:00 (GMT +01:00)
Group D: [USA] vs Team Schmetterling
Improvement Cup 4v4
Monday 17:00 (GMT +01:00)
Group B: Team India vs PavPlebs
Improvement Cup 3v3
Wednesday 19:00 (GMT +01:00)
Group D: Team Lunacy vs Team India
KotD2 - Quarterfinals
Saturday 16:30 (GMT +01:00)
Fat Dragon (3) vs (27) Yinghua
KotD2 Quarterfinals
January 27th 16:30 (GMT +01:00)
Yo (5) vs (20) Lyx

Age Of Empires On Twitch

There are in total 36 streamers online
Click here for details
Age of Empires II 1170 viewers
Age of Empires II 595 viewers
Age of Empires II 499 viewers
Age of Empires II 390 viewers
Age of Empires III: The Asian Dynasties 68 viewers
Top