github markus-wa/demoinfocs-golang v4.0.0-beta.0

latest releases: v4.3.0, v4.2.6, v4.2.5...
14 months ago

v4 / Counter-Strike 2 (CS:GO Source 2)

This beta release marks significant support for CS2 demos and brings a major version bump with it.

⚠️ As long as releases are tagged beta, the v4 API may change in backwards incompatible ways without warning.

Please report and bugs & bad data via GitHub issues.

Installation

go get github.com/markus-wa/demoinfocs-golang@v4.0.0-beta.0

Migration

change all imports of v3 to v4 - so github.com/markus-wa/demoinfocs-golang/v3/pkg/demoinfocs -> github.com/markus-wa/demoinfocs-golang/v4/pkg/demoinfocs

SED command

sed -i 's#github.com/markus-wa/demoinfocs-golang/v3#github.com/markus-wa/demoinfocs-golang/v4#g' **/*.go

Changes

  • Counter-Strike 2 support
  • Requires Go 1.21
  • Various breaking API changes

Acknowledgements

  • Thanks to @akiver for the various contributions to this release - this would not have been possible without your help ❤️
  • Thanks to dotabuff/manta for the DotA 2 parser which forms the basis of much of the CS2 demo format parsing
  • Thanks to @LaihoE for collaborating on finding out how to parse some CS2 specific data

Don't miss a new demoinfocs-golang release

NewReleases is sending notifications on new releases.