-
Hey Saul, I know it's a bit early to say, but are you planning to upgrade the tool for Counter-Strike 2? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
I try record demo on |
Beta Was this translation helpful? Give feedback.
-
Hi Unfortunately updating this library to work with Source 2 would involve a practical rewrite. The API (like the events) that you listen to would all change, the properties available on entities have completely changed, etc. So any code that you have written to work with the current demofile library would have to be rewritten too. With that in mind, I have decided to start a new parser called DemoFile.Net. It will be written in C#/.NET Core (the language that I use in my day job), and I'm confident I can make it significantly faster than the current Node.js parser. I'm currently working on it in my free time, but I hope to have something out by the time CS2 is released publicly. Thankfully there are already numerous Source 2 demo parsers in other languages (like Go and Java) so a lot of the hard work has already been done. I look forward to showing you something soon! Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @saul , Are there any news on new .NET library ? It's been almost 4 months since beta release of CS2, and there is still no tool to properly parse Demo files. There is also some work done here: https://github.com/skadistats/clarity/tree/csgo2 in it's I would also be eager to contribute to new .NET parser. |
Beta Was this translation helpful? Give feedback.
-
Note all that are interested in CS2 support: I have just released the code for a CS2 demo parser here: https://github.com/saul/demofile-net. It is written in C# and it's blazing fast. It reads through a full competitive game in 1.5 secs on my M1 MacBook Pro. This is significantly faster than the Node.js parser could hope to achieve. Note that DemoFile.Net hasn't been published to NuGet yet, but I will do this weekend. I'm still trying to work out the remaining kinks, but for those interested in trying the bleeding edge can checkout the repo and give it a shot. I'll soon be archiving this repo, so any discussion should move over to the new repo. Thank you all for your patience. |
Beta Was this translation helpful? Give feedback.
-
@saul what if I don't know C# and only know JavaScript? |
Beta Was this translation helpful? Give feedback.
Note all that are interested in CS2 support: I have just released the code for a CS2 demo parser here: https://github.com/saul/demofile-net.
It is written in C# and it's blazing fast. It reads through a full competitive game in 1.5 secs on my M1 MacBook Pro. This is significantly faster than the Node.js parser could hope to achieve.
Note that DemoFile.Net hasn't been published to NuGet yet, but I will do this weekend. I'm still trying to work out the remaining kinks, but for those interested in trying the bleeding edge can checkout the repo and give it a shot.
I'll soon be archiving this repo, so any discussion should move over to the new repo.
Thank you all for your patience.