py-iidx-rpc is a simple rpc implementation which works together with Radioo's TickerHook to show your friends what charts you're playing on discord.
Radioo for developing TickerHook
This assumes you already got TickerHook up and running
From the Releases section
- Place
py-iidx-rpc.exe
into a folder and run - A
config.json
should be generated and you should edit that to suit your needs Scroll down to see how to configure - Run it!
Pre-Requisites: Python 3.11.1
- Clone or download the repo
- [OPTIONAL, BUT RECOMMENDED] Create a virtual environment
- Open a terminal and run
pip install -r requirements
- Edit
config.json
to suit your needs - Run
py main.py
When running the program for the first time, It will generate a config.json
file
# config.json
{
"ip": "localhost",
"port": "10573",
"appID": "1062281237269598288",
"image": "main-image",
"image_text": "beatmania IIDX",
"other_text": "Grinding Kaiden Probably"
}
ip
refers to the IP address of where the hook is running on. You shouldn't need to edit this because you would most likely run this on the same computer where the game is running onport
refers to the Hook's websocket port, unless you're running a custom build of Radioo's Ticker Hook which is running on a different port, there is no need to change this.appID
refers to the Discord Application client ID to source it's assets. By default it uses my application, it's also possible to use your own. Do your own research on this one.image
refers to the name of the art assets that are uploaded in the discord application's rich presence art assests sectionimage-text
refers to the text that appears when hovering over the image in the RPCother-text
is the text below the ticker output