DiscordRPCLite is a lightweight program for setting Custom Discord Rich Presences
it has been written in C# and compiled for DotNet 5.x Desktop Runtime.
Report any problems by opening an Issue or sending me a message on discord
-
Releases:
-
Setup:
There are currently two releases available:
This is the actual Lightweight version which is just the compiled code + packages.
This release requires you to have .Net 5.0 Desktop Runtime installed which is possibly already installed on your windows.
(if you don't want to install the runtime, look at DRPCL-StandALone)
This release is ~500KB
This is the main release which has the code + packages + runtime dlls needed to run the program meaning there is no need for you to download .Net Runtime, all the required files are included inside the program at the cost of size
(Your antivirus might see this as a virus, thats only cause its not signed!)
This release is ~12.5MB
using the program is simple and exactly the same in both releases.
First you have to create a discord application.
We're gonna do this step by step :
- visit discord developer's portal
- login to your discord account if your not logged in.
- on the Top-Right side, click on the blue New Application button.
- Enter a name for your application and hit Create (The name is going to be visible in your RichPresence)
- copy the application id (its bellow the description field)
- We're done with Dev Portal for now ..
- Choose a release and download it.
- Extract it, then enter DiscordRPCLite folder.
- open the config.json file (pay attention to the name, dont open anyother config file)
- now replace ID Here with the Application-ID you copied earlier. so it should look something like
"ClientID" : "123456789"
! The app is now ready to run, but first, lets do some modifications
Pay close attention to the picture!
- Lets start with application name, you can't change that from the config file, you need to change this from the devportal. (change the name and click save)
- Details - You can change it by changing the configs Details value like :
"Details" : "Some thing new"
- State - Same as Details
- ShowTime - Can either be
"Yes"
or"No"
, based on that, it will show the time elapsed from when the RPC has started. - LargImageKey/SmallImageKey - LargeImageText/SmallImageText -> we'll discuss this in the next part. for now re-run the program to see the changes happen. (for changing stuff on the fly, see the commands section)
- For adding button, go into the config file and set Button1Text or Button2Text or both to what you want. then set there URLs, but be aware that the url has to start with
http://
orhttps://
or else it will error. (You can't leave the url empty) - For images, first you need to visit the dev-portal again. then go into your applications page. in there click on the rich presence button on the middle-left. in the
Art Assets
section, and click on Add Images and select the image you want to use. rename it to a easy to use name likeLargimage
or sth. do this for both of the images you want to use as your Large and Small Image. Done? good. now head back to the config file and setLargImageKey
to the name of the image you want to use as LargeImage like"LargImageKey" : "name of the image in Art Assets tab"
. Then you can either set a text for them or leave them empty, the text is visible when mouse hovers over the image.
there are a just a couple of commands for the program. you can use them, after your rich presence has been update and the >>
indecator is visible.
>> help
- shows the help command of the program>> set
- opens a menu which you can select and change the value of your rich presence (it won't save it to the config file).>> restart
- Restarts the client connection (not the program), configs wont be reloaded! but i will add it in the next update>> exit
- Exits the program and kills the client connection.
THATS IT. you now have a beautiful rich presence just for you
tho you can share your config files with your friends so they could use the same rich presence too
The program can be built on .Net Framework 3.5
all the way up to .Net 5.0
(the code + dependencys are backward compatible)
Required Dependencys :
if you want to build it your self, clone the repo, get the dependencies, cd into the /src
folder, then run the following command:
>> dotnet build -o OUT_PUT_DIR /p:PublisheSingleFile=false /p:PublishTrimmed=false /p:RuntimeIdentifier=any
to build a platform independent version of the program (DRPCL-Lite)