A little software which lets you share your RetroAchievements activity with your friends on Discord.
- Python3
pip install -r requirements.txt
blessed
https://pypi.org/project/blessed/configparser
https://pypi.org/project/configparser/pypresence
https://pypi.org/project/pypresence/pillow
https://pypi.org/project/pillow/
- From RetroAchievements, your username and your API key
- From Discord, an app ID.
You will need to create an app on the Discord Developer Portal (https://discord.com/developers/applications/). Give it a nice, unique name, which will appear below your name as your 'Playing' status. Don't worry if you make a mistake; you can modify the app's name at any time. From there, you will need your app's ID.
- Detailed Rich Presence on your Discord profile (name of the game, details about what you're currently doing in the game, icons, etc.)
- Two clickable buttons (only others can see them): One leads to the RA page of the game you're currently playing; the other leads to your RA profile. You can enable or disable them using
python racli.py -b
. - A CLI that provides some information, fetches the icon of your current game and attempts to recreate it in the terminal or command line you're using.
- Character presets for recreating the game icon, or you can create your own by editing
charset.txt
. - A little automation feature called
timeout
. It tries to detect when you are actually playing and activates or deactivates the rich presence accordingly. It is disabled by default.
After installing the requirements and ensuring you have all the necessary data, start by launching the setup script with python racli.py -s
from terminal. Provide the requested details, and you're good to go. Or, if you prefer you can manually modify config.ini, but be careful, as incorrect changes could break the code. Also, never ever modify data.ini
.
When you have provided all your details, you can launch the script without flags by running python racli.py
.
Flag descriptions:
-h
,--help
show this help message and exit-s
,--setup
run setup script-c
,--charset
select charset presets or set it to custom-i
,--interval
set the update interval-t
,--timeout
set the timeout value-b
,--buttons
enable or disable buttons on your discord profile