Discord Rich Presence for Love Live! School idol festival
This application acts as a man-in-the-middle proxy betweeen your PC and your phone/tablet with SIF installed.
- Node.js version 8 or later installed on your PC
- Have your PC and your mobile device connected on the same network
- A proxy on your device. While you can use the "proxy settings" of your device, on most devices SIF will ignore the proxy and connect directly to the game servers, so you'll need to use a "global proxy" app. On Android you can use ProxyDroid (for root users only) or Drony (root and non-root). Haven't tested on iOS, so I don't know if it works out-of-the-box or if you need some special app. If you get this working on iOS, let me know how and I'll add it to this page.
- Clone or download this repository
- Run
npm install
(oryarn
if you use Yarn for package management) - Run
npm start
(ornode server.js
) - Get the local IP address of your machine (you can use
ipconfig
on Windows systems andifconfig
on Linux-based systems) - Configure your proxy app with that IP and the port (by default is 8081, you can specify another port in the
config.json
file) - Start SIF. When you log in to the game, you should start seeing state updates on the console and your Discord playing status should update
The config.json
file has two configuration options:
port
: The port that the proxy server will use. By default is 8081. Note that if you change the port there, you'll need to change it also on your mobile proxy settings/app. (duh)hideUser
: Whether to hide your user data (name, friend ID and rank) on the Discord status. By default a small "user" icon shows and when hovering over it, it will show that data. Set totrue
to hide.
Contributions are welcome. The current code is hacky as hell but it works ¯_(ツ)_/¯ so if you have made some improvement to the code, or added a new feature, feel free to submit a pull request.