Releases: markus-wa/demoinfocs-golang
v3.4.0-alpha.0
Preliminary Counter Strike 2 (CS:GO Source 2) Support
This alpha release adds initial support for CS2.
go get github.com/markus-wa/[email protected]
Expect bugs and significant changes as we figure out the details.
A lot of events aren't working yet, but events.Kill
should mostly work.
Watch out for bad data, there are still a bunch of bugs.
v3.3.0
Special thanks to @akiver for the contributions to this release - see also #374
Changes
- Improved POV Demo support
- Re-use existing entities when they enter PVS if possible based on their serial number
- Add int64 props decoder (got some with Danger mode demos)
- Use the proper prop in player.Position() (
cslocaldata.m_vecOrigin
vscsnonlocaldata.m_vecOrigin
) - Added event
POVRecordingPlayerDetected
- Make player.isAlive() more accurate by checking the value of the prop m_lifeState
- Add more known game events
- Add a doc about game events
v3.2.0
v3.1.0
Changes
- Added
Equipment.UniqueID2()
- thanks @David-Durst - Added
Equipment.RecoilIndex()
- thanks @David-Durst - Upgraded dependencies to fix security issues in the supply chain
- Updated protobufs
Fixes
- Fixed
-debugdemoinfocs
not printing game events properly after protobuf upgrade
v3.0.1
v3.0.0
v3 is out 🥳
The primary purpose of v3 is to upgrade/replace dependencies, including some which are deprecated and/or dependencies with security vulnerabilities. The parser itself has no known vulnerabilities and no known code paths to vulnerabilities in dependencies, but it's still important to keep on top of this nonetheless.
As secondary objectives we want to modernise some of the API and enable usage of generics for the project (go1.18).
Installation
go get github.com/markus-wa/demoinfocs-golang/[email protected]
Migration
change all imports of v2
to v3
- so github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs
-> github.com/markus-wa/demoinfocs-golang/v3/pkg/demoinfocs
SED command
sed -i 's#github.com/markus-wa/demoinfocs-golang/v2#github.com/markus-wa/demoinfocs-golang/v3#g' **/*.go
Breaking Changes
- Removed code marked as deprecated from codebase
- Increased minimum Go requirement from
go1.11
togo1.18
- Upgraded from the protobuf v1 API to v2 (https://go.dev/blog/protobuf-apiv2)
- This will affect users that rely on raw net messages (i.e.
import github.com/markus-wa/demoinfocs-golang/v2/demoinfocs/msg
) - Stopped using gogo-protobuf (this has no negative performance impact 🥳)
- This will affect users that rely on raw net messages (i.e.
- Removed
/assets
and/pkg/demoinfocs/metadata
(was mostly used for examples)- The value proposition of this is superseded by https://github.com/saiko-tech/csgo-centrifuge
- Moved
internal/constants
topkg/demoinfocs/constants
- Deps: replaced
dustin/go-heatmap
withmarkus-wa/go-heatmap
to avoid replace directive (examples only)
Changes
- Upgraded all dependencies to latest version (including security fixes)
Please let me know if you encounter any issues.
v3.0.0-beta.4
The primary purpose of v3 is to upgrade/replace dependencies, including some which are deprecated and/or dependencies with security vulnerabilities. While the parser itself has no known vulnerabilities and no known code paths to vulnerabilities in dependencies, it's important to keep on top of this nonetheless.
As secondary objectives we want to modernise some of the API and enable usage of generics for the project (go1.18).
Installation
go get github.com/markus-wa/demoinfocs-golang/[email protected]
Migration
change all imports of v2
to v3
- so github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs
-> github.com/markus-wa/demoinfocs-golang/v3/pkg/demoinfocs
SED command: sed -i 's#github.com/markus-wa/demoinfocs-golang/v2#github.com/markus-wa/demoinfocs-golang/v3#g' **/*.go
Breaking Changes
- Removed code marked as deprecated from codebase
- Increased minimum Go requirement from
go1.11
togo1.18
- Upgraded from the protobuf v1 API to v2 (https://go.dev/blog/protobuf-apiv2)
- This will affect users that rely on raw net messages (i.e.
import github.com/markus-wa/demoinfocs-golang/v2/demoinfocs/msg
) - Stopped using gogo-protobuf (this has no negative performance impact 🥳)
- This will affect users that rely on raw net messages (i.e.
- Removed
/assets
and/pkg/demoinfocs/metadata
(was mostly used for examples)- The value proposition of this is superseded by https://github.com/saiko-tech/csgo-centrifuge
- Moved
internal/constants
topkg/demoinfocs/constants
- Deps: replaced
dustin/go-heatmap
withmarkus-wa/go-heatmap
to avoid replace directive (examples only)
Changes
- Upgraded all dependencies to latest version (including security fixes)
Please let me know if you encounter any issues.
As this is a pre-release / beta, it is not covered by semver guarantees
Fixes since v3.0.0-beta.3
- Fixed compilation error for debug code (
-tags debugdemoinfocs
) - Fixed some linting issues
v3.0.0-beta.3
The primary purpose of v3 is to upgrade/replace dependencies, including some which are deprecated and/or dependencies with security vulnerabilities. While the parser itself has no known vulnerabilities and no known code paths to vulnerabilities in dependencies, it's important to keep on top of this nonetheless.
As secondary objectives we want to modernise some of the API and enable usage of generics for the project (go1.18).
Installation
go get github.com/markus-wa/demoinfocs-golang/[email protected]
Migration
change all imports of v2
to v3
- so github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs
-> github.com/markus-wa/demoinfocs-golang/v3/pkg/demoinfocs
SED command: sed -i 's#github.com/markus-wa/demoinfocs-golang/v2#github.com/markus-wa/demoinfocs-golang/v3#g' **/*.go
Breaking Changes
- Removed code marked as deprecated from codebase
- Increased minimum Go requirement from
go1.11
togo1.18
- Upgraded from the protobuf v1 API to v2 (https://go.dev/blog/protobuf-apiv2)
- This will affect users that rely on raw net messages (i.e.
import github.com/markus-wa/demoinfocs-golang/v2/demoinfocs/msg
) - Stopped using gogo-protobuf (this has no negative performance impact 🥳)
- This will affect users that rely on raw net messages (i.e.
- Removed
/assets
and/pkg/demoinfocs/metadata
(was mostly used for examples)- The value proposition of this is superseded by https://github.com/saiko-tech/csgo-centrifuge
- Moved
internal/constants
topkg/demoinfocs/constants
- Deps: replaced
dustin/go-heatmap
withmarkus-wa/go-heatmap
to avoid replace directive (examples only)
Changes
- Upgraded all dependencies to latest version (including security fixes)
Please let me know if you encounter any issues.
As this is a pre-release / beta, it is not covered by semver guarantees
v2.13.3
Changes
- Examples
heatmap
andnade-trajectories
are now usinghttps://radar-overviews.csgo.saiko.tech/...
to get the correct radar image and offset / coordinate translations for any historic map version of official maps. - see also https://github.com/saiko-tech/csgo-centrifuge