Posted by brandan @ 14:46 GMT, 28 December 2014 - iMsg
can somebody point me in the right direction for learning how to read and interpret ql demos? is it possible to determine accuracies, scores, item pickups, distances traveled, and other stats from reading demos?
i'm working on a project that would benefit from taking some information from demos. i created a demo parser for warsow a few years ago, but there was a lot of plaintext information that made it simple. afaik ql demos are encrypted, and unfortunately the source isn't available.
maybe i can look at wolfcam source? but i'm not sure where to start.
i think this would be a time effective way to regulate my duel games; in comparison to the pro's. since, i think i roam the map helplessly, it would be great to see distance travelled, if i can be bothered.
yeah, i've been taking a general look at wolfcamql for the past 20 minutes or so, but not in a position to do anything really thorough atm. hopefully somebody familiar with wolfcamql can maybe point out some critical files that would give a head start on where to look for what's necessary to start parsing demo data.
qldt and udt both have some kind of auto 'cut by event' options, you'd probably be better off there at a guess.
The stuff in wolfcam is mostly (entirely?) simply actually reading the demo headers and running the packets through the quake engine rather than parsing it for collective info, I don't know really though I've never really done anything with wolfcam other than watch demos.
Bit ironic this came up today as I posted this just a few hours earlier, slightly modified version of that script if for some crazy reason you want to see cg/ng stuff in match stats too :