EasyRP is a small program to use the discord-rpc, to make a custom rich presence/game on discord.
using just an easy config file.
Usage
First you need to register a Rich Presence application with discord
Download the latest release of EasyRP from here https://github.com/Pizzabelly/EasyRP/releases
Edit the config file with the information from your newly registered app
Run the EasyRP executable (it should open a cmd window)
Discord should show the game on your profile
You can edit the config any time while the program is running to change the presence (make sure to save the file)
Timestamps
The Start and End timestamps are in epoch/unix time.
Your desired values can be found here.
For elapsed time set only the StartTimestamp. For remaining time set both.
Though discord seems to only care about hours/minutes/seconds.
As it doesnt go above 24hrs either way ¯\_(ツ)_/¯
Building
To build EasyRP from source you need the following
Build discord-rpc
git clone https://github.com/Pizzabelly/EasyRP --recurse-submodules
cd EasyRP/discord-rpc
mkdir build && cd build
cmake .. -DENABLE_IO_THREAD=OFF
-DENABLE_IO_THREAD option will prevent a link error (see #49) Now depending on your platform building the discord-rpc library will be different
make
msbuild /p:Configuration=Release
mingw32-make.exe
To build EasyRP (in the root of the repo)
meson --buildtype=release build
ninja -C build
Now the EasyRP executable will be under the build directory!