Visualizing CS:GO demos for analysis purposes. A rework of this csgo-analysis fork by @johuellm.
Developed in Python 3.11.9 and Go 1.22.2.
Make sure the versions of Python and Go mentioned above are installed.
It is recommended to create and activate a virtual environment.
pip install -r requirements.txt
🚧🚧 Still under construction. 🚧🚧
A limited glimpse of functionality can be seen by running the cli.py file. For example, if your current working directory is the root of the project:
python src/cli.py
The Tkinter application (very much under construction) can be run via the gui.py file. For example, if your current working directory is the root of the project:
python src/gui.py
Click the File button at the top, then Open. Select a demo file and the application will visualize the first frame of round 1. Click Play to watch the demo unfold, click on a round number to jump to that round, or scrub the timeline for finer control.
I used pip-tools to produce a requirements.txt file with exact versions of all dependencies pinned and hashed. This is to better ensure that a pip install to reproduce the environment doesn't fetch a different version of a dependency without our express intent.
To that end, any updates to requirements.txt should probably also involve pip-tools (see the pip-tools docs for the command I used here).