This project is a custom launcher for Batman: Arkham Knight that integrates with Discord Rich Presence (RPC).
- Launches Batman: Arkham Knight with Discord Rich Presence
- Silent background launching
- Customizable game path
- All in one .exe file
- Node.js (v14 or higher recommended)
- npm (comes with Node.js)
- Electron
- discord-rpc (npm package)
- Clone or download this repository.
- Install dependencies:
npm install
- Build:
npm run dist
By default, the launcher uses a hardcoded path to Batman: Arkham Knight. To use your own game installation:
- Open
launch-batman.batin a text editor. - Change the path to point to your own
BatmanAK.exelocation. Example:"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Batman Arkham Knight\\Binaries\\Win64\\BatmanAK.exe"
This launcher uses a Discord Client ID for Rich Presence. You can use the provided client ID in the code:
- Client ID: 1395414403599302770
If you want to use your own, register an application at the Discord Developer Portal and replace the client ID in batman-rpc.js.
- Run
launch-batman-silent.vbsto silently launch the game with Discord RPC. - Or, install the setup exe from the dist directory
batman-rpc.js– Handles Discord Rich Presencemain.js– Main launcher logiclaunch-batman.bat– Batch file to launch the gamelaunch-batman-silent.vbs– Silently runs the batch filesplash.html– Optional splash screen
- Make sure your game path is correct, or the launcher will not work.
- You can use the provided Discord Client ID, or set your own.
Enjoy Gotham!