-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
296 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# bsrpc | ||
|
||
To be able to build, follow the Discord SDK installation guide: [Code Primer - Non-Unity Projects (Csharp) | ||
](https://discord.com/developers/docs/game-sdk/sdk-starter-guide#code-primer-nonunity-projects-csharp) | ||
Discord Rich Presence support for Beat Saber. No customization options whatsoever, because I'm too lazy to add them (sorry). | ||
|
||
The `discord_game_sdk.dll` file must be placed into the `Plugins` folder alongside the mod's DLL for it to function. | ||
<div align="center"> | ||
<img src="screenshots/card.png" height="300" alt="Discord account card showing the Beat Saber rich presence"> | ||
<img src="screenshots/profile.png" height="300" alt="Discord profile activity tab showing the Beat Saber rich presence"> | ||
</div> | ||
|
||
## Dependencies | ||
|
||
* BSIPA v4 (ModAssistant) | ||
* DiscordCore v1.0.10 (https://github.com/FizzyApple12/DiscordCore/releases/tag/v1.0.10) | ||
* DataPuller v2.1.0 (https://github.com/ReadieFur/BSDataPuller/releases/tag/2.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
namespace bsrpc | ||
{ | ||
public static class RichPresenceAssetKeys | ||
{ | ||
// Environments | ||
public static readonly string BigMirror = "big_mirror"; | ||
public static readonly string Billie = "billie"; | ||
public static readonly string BTS = "bts"; | ||
public static readonly string CrabRave = "crab_rave"; | ||
public static readonly string Dragons = "dragons"; | ||
public static readonly string EDM = "edm"; | ||
public static readonly string FallOutBoy = "fall_out_boy"; | ||
public static readonly string FitBeat = "fitbeat"; | ||
public static readonly string Gaga = "gaga"; | ||
public static readonly string GreenDay = "green_day"; | ||
public static readonly string GreenDayGrenade = "green_day_grenade"; | ||
public static readonly string Interscope = "interscope"; | ||
public static readonly string Kaleidoscope = "kaleidoscope"; | ||
public static readonly string KDA = "kda"; | ||
public static readonly string LinkinPark = "linkin_park"; | ||
public static readonly string Lizzo = "lizzo"; | ||
public static readonly string MainMenu = "main_menu"; | ||
public static readonly string Monstercat = "monstercat"; | ||
public static readonly string MultiplayerLobby = "multiplayer_lobby"; | ||
public static readonly string Nice = "nice"; | ||
public static readonly string Origins = "origins"; | ||
public static readonly string Panic = "panic"; | ||
public static readonly string Rocket = "rocket"; | ||
public static readonly string Skrillex = "skrillex"; | ||
public static readonly string Spooky = "spooky"; | ||
public static readonly string TheFirst = "the_first"; | ||
public static readonly string TheSecond = "the_second"; | ||
public static readonly string Timbaland = "timbaland"; | ||
public static readonly string Triangle = "triangle"; | ||
public static readonly string Weave = "weave"; | ||
|
||
// Map types | ||
public static readonly string BlankMapType = "blank_map_type"; | ||
public static readonly string Ninety = "90"; | ||
public static readonly string NoArrows = "no_arrows"; | ||
public static readonly string OneSaber = "one_saber"; | ||
public static readonly string Standard = "standard"; | ||
public static readonly string ThreeSixty = "360"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.