Skip to content

Enables Discord Rich Presence for CS2 matches.

License

Notifications You must be signed in to change notification settings

Retr0-01/CS2-Discord-RP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS2 Discord Rich Presence

GitHub release (latest SemVer) GitHub release (latest by SemVer)
A Rich Presence application for showing custom status of your active Counter-Strike:Global Offensive game.

How It Works

This application uses the Counter-Strike Game State Integration to fetch the data of your active game. It creates a local server (port 3000) which listens for the data and then applies it to your Discord client.

Showcase

Install

Go to the latest release, download the CS2-Discord-RP.zip file from the Assets section and then extract it to the location of your choosing. Now you should have the exe and a file called gamestate_integration_discord-rp.cfg.
All you have to do now is run the exe and you should be good to go!

FAQ

Why is the .exe so big?

Because all the needed libraries and dependencies are packaged into it. Instead of having one .exe with another tenths of files and .dlls, we just have this big .exe.
In less nerd words, because the app is actually this big.

[SETUP] CS2 installation path not found! Aborting...

If for whatever reason the application couldn't find your game installation path or write the config file needed, you need to manually copy the gamestate_integration_discord-rp.cfg file and paste it inside the cfg folder of your CS2 installation.
Example path: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg

Credits

Huge thanks to the following devs/teams for creating some of the packages/tools used.

  • Newtonsoft for Json.NET
  • Lachee for the C# implementation of the Discord RPC
  • quicktype for instantly generating the needed C# models in order to use the JSON data

Licensing

This repository is licensed under the MIT License. Learn more.