RetroAchievements-DiscordRPC is a simple app that allows RetroAchievements rich presence to be tracked on Discord's rich presence.
You can install RetroAchievements-DiscordRPC in two ways:
-
Using the MSI Installer:
- Download the installer file named
RARPC-<version>-win64.msi
(e.g.,RARPC-1.0.0-win64.msi
) from the Releases Page. - Run the installer and follow the on-screen instructions.
- Download the installer file named
-
Using the Portable Version:
- Download the portable version named
RARPC-win-amd64-portable.zip
from the Releases Page. - Extract the contents of the ZIP file to a folder of your choice.
- Run the
RARPC.exe
file to start the application.
- Download the portable version named
On the first run, a popup window will appear asking you to set up your RetroAchievements account. You will need to provide:
- Username: Your RetroAchievements username.
- API Key: Your RetroAchievements API key.
A button will be available in the popup to redirect you to the RetroAchievements Settings Page, where you can easily copy your API key.
The settings for RetroAchievements-DiscordRPC are stored in the config.yml
file. Below is a list of available settings and their descriptions:
- Activity Title: Choose between
RetroAchievements
andRetroArch
for the activity title. - Change Sleeping Time: Adjust the time interval (in seconds) for fetching updates. Options include 10s, 15s, 20s, etc.
- Force Presence: Enable or disable forcing the presence even if offline.
- Start on Startup: Enable or disable starting the application on system startup.
- Edit RA Infos: Update your RetroAchievements username and API key.
- Check for Updates: Check for and install updates if available.
These settings are experimental and must be added manually to the config.yml
file:
presence_timeout
: Time in seconds to keep the presence active if the status doesn't update.- Default:
900
seconds (15 minutes)
- Default:
github_repo
: The GitHub repository URL for checking updates.- Default:
Lenochxd/RetroAchievements-DiscordRPC
- Default:
discord_client_id
: The Discord client ID for the application name to be displayed.- Default:
1337553980779266078
(retroachievements)
- Default:
To set up a development environment:
-
Install Dependencies:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate.bat pip install -r requirements.txt
-
Run the Script:
python main.py
-
Build Portable Executable and MSI Installer:
- Ensure you have Python 3.11 installed.
- Run the
build.bat
script. - This will generate both the portable version and the MSI installer in the
dist
directory.