A lightweight Python script to display your Gakuen Idolmaster (学園アイドルマスター) status on Discord. It automatically detects when the game is running and updates your activity status accordingly.
For users who don't want to install Python:
- Go to the Releases Page.
- Download the file named
GakumasRPC.exefrom the "Assets" section. - Double-click the file to run it.
- Open your game. That's it!
(If Windows Defender shows a warning, click "More Info" -> "Run Anyway")
- Auto-Detection: Automatically detects when
gakumas.exeis running. - Background Process: Runs silently in the background without opening a console window.
- Low Resource Usage: Efficient polling using
psutil. - Auto-Connect: Automatically connects/disconnects from Discord RPC when the game opens or closes.
- Windows 10/11
- Python 3.x installed.
-
Clone the repository
git clone https://github.com/vermilion10/gakumasRPC cd gakumasRPC -
Create a Virtual Environment (Recommended) It's best practice to use a virtual environment to keep dependencies clean.
python -m venv venv
-
Activate the Virtual Environment
- Windows (CMD):
venv\Scripts\activate
- Windows (PowerShell):
.\venv\Scripts\Activate.ps1
-
Install Dependencies
pip install -r requirements.txt
Since this script uses a virtual environment, we need a batch file (.bat) to launch it correctly using the pythonw.exe inside the venv (which hides the console window).
-
Duplicate the template: Copy
run_status_template.batand rename it torun_status.bat. -
Edit the file: Right-click
run_status.batand select Edit. Update the paths to match your actual folder location. Example:@echo off start "" "C:\Users\YOUR_NAME\gakumasRPC\venv\Scripts\pythonw.exe" "C:\Users\YOUR_NAME\gakumasRPC\gakumas_rpc\gakumas_rpc.pyw" exit
-
Test it: Double-click
run_status.bat. If no window appears but the process is running in Task Manager, it works!
You don't need to run this script manually every time. Follow these steps to make it run automatically when you turn on your PC:
- Press
Win + Ron your keyboard to open the Run dialog. - Type
shell:startupand press Enter. This opens the Windows Startup folder. - Create a Shortcut:
- Right-click your configured
run_status.batfile. - Select Create Shortcut.
- Move (Cut & Paste) that shortcut into the Startup folder you just opened.
- Right-click your configured
- Done! The script will now silently start whenever you log in to Windows and wait for you to play Gakumas.
This project is a fan-made tool and is not affiliated with Bandai Namco.
