This is a program coded in C# that uses Discord's Rich Presence feature to display Borderlands 2 / Borderlands: The Pre-Sequel information on your discord profile while the game is running.
Information like:
- Current mission selected
- Current character being played
- Current level of said character being played
- How many players in the lobby with you (including you)
- How long you've been playing
- What map you're in
- What game you're playing
Programs like this is possible due to c0dycode's CommandInjector, mopioid's BLIO library, Discord for making Discord, Lachee's discord-rpc-csharp library, and FromDarkHell for uh making this.
-
Download BorderlandsDiscordRP here.
-
Next off you'll want to create a new Discord Application (Hey. Click on the link)
- Click the big fat button right that says, Create an Application
- You may need to verify your email on Discord
- Next you'll have a page that should look contain a text box that says, Name
- Change the text to anything, if you want to be like me, change it to
Borderlands Rich Presence
- Change the text to anything, if you want to be like me, change it to
- Change the app icon to the
BL2Icon.png
file you downloaded earlier. - Below where the
Name
box was, you'll see some text that saysClient ID
and right below it is some numbers.- Write/Copy (Click the Copy button) that down! You'll need it later.
- Click
Save Changes
otherwise Discord'll shake and you'll cause an earthquake or something exciting. - Next what you'll want to do is update all of the Rich Presence settings.
- Do the same thing you did with the app icon thing earlier with the
Cover Image
.- See Step #3.
- Now you'll want to select BOTH, the
BL2Icon.png
, andTPSIcon.png
to theAdd Image(s)
button. - Click the
Save Changes
button once more- See Step #5.
- Now you're done with Discord!
- Click the big fat button right that says, Create an Application
-
Installing CommandInjector
- Quit the game if running.
- Download the latest version of
ddraw.dll
/PluginLoader). - Locate the
Win32
folder within your game'sBinaries
folder. - Copy
ddraw.dll
to theWin32
folder. - In the
Win32
folder, create a folder calledPlugins
. - Download the latest version of CommandInjector.
- Open the
CommandInjector.zip
file to view its contents. - Copy
CommandInjector.dll
(If you're installing it for BL2) orCommandInjectorTPS.dll
(If you're installing it for TPS) to thePlugins
folder you created. - From the folder with the
BL2Icon.png
stuff, copy theBorderlands RP.exe
program wherever you would like, then run it like you do with programs! (BL2 or TPS do not need to already be running.)
-
Borderlands RP Setup
- Run
Borderlands RP.exe
if you haven't already. - You remember that
Client ID
you should've written down (See Step #4 again) right?- Now is the time to paste/type the ID in.
- If you don't know how to copy paste into consoles like
Borderlands RP.exe
- You did it! You copy pasted!
- Discord Rich Presence will now connect to Discord.
- You'll hopefully never have to enter that Client ID ever again.
- Now if you press
C
, you'll be able to change your Client ID for some reason. - If you press
T
, You'll change the time (in seconds) that Borderlands Rich Presence will update Discord. - If you press
ESC
, You'll close the program. You wouldn't want to do that right? :(
- Run