Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counter-Strike 2 demo parsing #222

Closed
TomQWERTY opened this issue Mar 25, 2023 · 9 comments
Closed

Counter-Strike 2 demo parsing #222

TomQWERTY opened this issue Mar 25, 2023 · 9 comments

Comments

@TomQWERTY
Copy link

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

@JanEricNitschke
Copy link
Collaborator

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

@TomQWERTY
Copy link
Author

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
Copy link
Collaborator

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

@hojlund123
Copy link
Contributor

hojlund123 commented Jul 31, 2023

As promised @JanEricNitschke
Relevant for adding skins to CS2

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

@jotalanusse
Copy link

Any updates on CS2 support now that replays are back?

@JanEricNitschke
Copy link
Collaborator

@jotalanusse There is work being done here: #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
Copy link
Collaborator

@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
Copy link
Owner

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

@pnxenopoulos
Copy link
Owner

pnxenopoulos commented Sep 16, 2024

The Awpy 2 beta supports CS2 parsing: pip install --pre awpy (it has for a while, but I forgot this issue was open!)

Please open new issues as you see fit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants