Discord rich presence made for classic client of Ace of Spades 0.75/76. I'm not planning to support OpenSpades or other clients of AoS.
Ready to run exe file compiled using pyinstaller is at releases page.
Requires python 3.8 and above
- Clone my repository
git clone https://github.com/yobonez/aos-rpc.git
- Install requirements
pip install -r requirements.txt
- Run
python rpc.py
- Option 1: For exe file use
Option 3
, but in addition to "Program/script" parameter, add a path to a folder that will store logs in "Start in" parameter - Option 2: Run it manually in background
pythonw rpc.py
- Option 3: Use task scheduler
- Add task
- Set it to trigger on login
- Action (start a program):
- Program/script: (path to
run.bat
) - Start in: (path to folder with
rpc.py
in it) - Save task settings and run
- Program/script: (path to
- Detect if player actually joined the game (already choosed team and weapon etc.)
- Make code more readable