janstuemmel / csgo-log

Go package for parsing csgo server logfiles.
MIT License
10 stars 2 forks source link

Support for Counter-Strike 2 #10

Open boyski33 opened 1 year ago

boyski33 commented 1 year ago

Is there a plan to create a library for parsing CS2 logs?

janstuemmel commented 1 year ago

Yeah sure why not. Haven't been invited for beta yet, tho...

Edit: also linux is excluded from beta and i dont have windows...

janstuemmel commented 1 year ago

If youre invited already u can maybe test and report whats changed...

Does @Rossiar still work for @faceit? He implemented public methods to inject own regexes for custom logs two years ago in #3 ... Maybe you guys can have a look and report changes then... Would be interresting...

Rossiar commented 1 year ago

@janstuemmel unfortunately I don't work for faceit anymore - but @boyski33 does and should be able to help!

boyski33 commented 1 year ago

@janstuemmel I laid hand on a couple of logs, and AFAIK they look pretty much the same with a couple of exceptions:

I don't think the library even cares about these value, to be honest. I'll fork the repo and make these changes to test it locally, and I'll get back to you.

janstuemmel commented 1 year ago

should relativly easy to adapt then. but would definitly open up a new repo for cs2 -> cs2-log

boyski33 commented 1 year ago

@janstuemmel
Can you do that and link the repo here then? I'll then open a PR.

janstuemmel commented 1 year ago

https://github.com/janstuemmel/cs2-log

i'll rename files, readme and imports after...