Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/healeycodes/compressing-cs2-demos

An example of compressing Counter-Strike 2 demo data.
https://github.com/healeycodes/compressing-cs2-demos

compress counter-strike delta-encoding demo

Last synced: 22 days ago
JSON representation

An example of compressing Counter-Strike 2 demo data.

Awesome Lists containing this project

README

        

# ⚙️ Compressing CS2 Demos
> My blog post: [Compressing CS2 Demos](https://healeycodes.com/compressing-cs2-demos)


A quick practical example of how to compress a CS2 demo.

Download the `pera-vs-system5-m1-vertigo.dem` demo from https://www.hltv.org/matches/2370182/pera-vs-system5-esl-challenger-league-season-47-europe and store it at the root.

Run `go run .` and check the size of the produced files (`naive.json`, `better.json`, and `better.proto`).

To generate protobuf code, run `protoc --go_out=. optimal.proto`.