pnxenopoulos / awpy

Python library to parse, analyze and visualize Counter-Strike 2 data
http://www.awpycs.com
MIT License
361 stars 56 forks source link

Counter-Strike 2 demo parsing #222

Open TomQWERTY opened 1 year ago

TomQWERTY commented 1 year ago

Hello, do you have plans to add CS2 demo files support?

JanEricNitschke commented 1 year ago

Yes, we are planning to. As awpy relies on demoinfocs-golang for the bare parsing of the demo we will try to include it once that has been updated.

The work for that is currently being tracked here: https://github.com/markus-wa/demoinfocs-golang/pull/383

TomQWERTY commented 1 year ago

Yes, we are planning to. As awpy relies on demoinfocs-golang for the bare parsing of the demo we will try to include it once that has been updated.

The work for that is currently being tracked here: markus-wa/demoinfocs-golang#383

thanks for your answer, happy to hear that!

JanEricNitschke commented 1 year ago

First alpha version of demoinfocs-golang with cs2 support: https://github.com/markus-wa/demoinfocs-golang/releases/tag/v3.4.0-alpha.0

hojlund123 commented 11 months ago

As promised @JanEricNitschke Relevant for adding skins to CS2

CCSUsrMsg_EndOfMatchAllPlayersData https://github.com/LaihoE/demoparser/blob/main/src/python/src/lib.rs

jotalanusse commented 8 months ago

Any updates on CS2 support now that replays are back?

JanEricNitschke commented 8 months ago

@jotalanusse There is work being done here: https://github.com/pnxenopoulos/awpy/pull/301

and there should be some support in this branch: https://github.com/pnxenopoulos/awpy/tree/awpy2-markus

Best to join the discord server and checkout the "updates" tab.

JanEricNitschke commented 8 months ago

@jotalanusse Thats an issue with the dependencies. The version of numpy we are using in the main branch does not support Python 3.12. I have a PR that updates the dependencies that fixes that.

pnxenopoulos commented 8 months ago

Thanks @JanEricNitschke, and by any chance do you know how to fix the missing distutils module error during the installation of awpy2 with Python 3.12?

I think also the demoparser2 dependency only works on 3.11 and below for now