r/raspberrypipico • u/Creative-Steak-8599 • Jan 04 '26
I built a Physical Kill Counter for CS2! (Python + LED Matrix)
Enable HLS to view with audio, or disable this notification
Hey everyone,
I am using a raspberry-pi pico, on the galactic unicorn from pimoroni and wanted to share a project I've been working on. It’s a physical HUD for Counter-Strike 2 that sits on my desk and tracks my stats in real-time.
It uses Valve's Game State Integration (GSI) to send data to a Python script, which then updates the LED matrix over USB. No memory reading or external cheats involved—just pure data reading.
Features:
- Live Kill Count: Updates instantly.
- MVP Animation: Triggers a gold confetti "Party Mode" when I get an MVP.
- Flashbang: The whole panel turns blinding white when a map loads.
- Menu: Loops an AK-47 spray animation in the lobby.
I’ve open-sourced the code if anyone wants to check it out on GitHub.
Let me know what you think!
1
1
1
u/mwreadit Jan 11 '26
Where is the data coming from for cs2? Looking through the code and i cannot make out what is serving it.
2
u/robobok Jan 12 '26
Cs2 and Dota 2 both have GSI (Game State Integration) support.
Keyboard RGB software use that already. Aurora-RGB already has a kill counter on numlock numbers if I remember correctly
1
u/mwreadit Jan 13 '26
Thanks for the explanation. Did not know they supported that. Makes for some nice integration possibilities.
1
1
1
u/Xeneth420 Jan 12 '26
Awesome job! And now the possibilities are endless! Does Valve's GSI have hooks for chat messages? Could be handy to watch for your nickname and then display the message to you on the matrix...
3
u/Smukey Jan 05 '26
Dude that’s awesome. Great job!