UncraftedName / UntitledParser

Used to parse source demos.
Other
26 stars 2 forks source link

Support for CS:S demos? #4

Open rickardsjodin opened 5 months ago

rickardsjodin commented 5 months ago

Hi,

I'm looking for a way to parse CS:S demos (demo protocol: 3, net protocol: 24). I'm only interested in position and camera angle data of players. Tried to parse some demos with this repo but all values comes out as 0.

It would be amazing if you wanted to take a look and see if it would be possible to fix.

example_demo.zip

UncraftedName commented 5 months ago

I'm not closing this issue for now, but I will put it on hold until more favorable temperature and precipitation conditions. I'm currently working on other projects, but I do plan on returning to this sometime in the not so distant future (later this year). When that rolls around I'll take a look and see if I can get basic parsing working.

I've asked in my source engine knowledge™ people group, and currently it doesn't seem like anyone there has additional information. If they happen to know of an existing demo parser which supports CS:S demos I'll let you know.

Thanks for the demo & protocol info.

lipsanen commented 5 months ago

source engine knowledge :tm: group person reporting in, my demo parser written in C can handle css demos and your demo seems to work as well, you can find it here https://github.com/lipsanen/demogobbler

there is a distinct lack of a good user interface so doing what you want probably requires some amount of coding

rickardsjodin commented 5 months ago

@lipsanen Oh cool, that sounds promising. I'm something of a dev myself (although not much low level stuff) so that is fine. Will try it out!

I appreciate that you asked around @UncraftedName, thanks.