fudgeu / DiscordIntegration

Discord Rich Presence for Beat Saber
0 stars 0 forks source link

How to install the mod ? #1

Open Mystream30 opened 3 years ago

Mystream30 commented 3 years ago

In the game directory (Beatsaber.exe found) Run the SLN program or copy/paste ?

nixRidge commented 3 years ago

In the game directory (Beatsaber.exe found) Run the SLN program or copy/paste ?

A .sln file is a solution for Visual Studio, not a program. You need to build the plugin using Visual Studio and Discord Game SDK v2.5.6 (seems to be included in the source). Additionally, you need to have BS Utils and BSML installed (available with Beat Saber's Mod Assistant).

After building the binary, the solution tries to copy the file DiscordIntegration.dll to C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\Plugins. If you have the game installed in a different place, Visual Studio will say the build failed, although the file builds fine.

I couldn't get it to work by putting the file DiscordIntegration.dll in the Plugins folder. To be sure, I also included discord_game_sdk.dll which didn't help. Maybe I'm missing something, would be helpful if the developer would either upload a prebuilt binary or add some build instructions.

fudgeu commented 3 years ago

Oops I honestly kind of forgot about this repo, it really only exists so that I can have a home page for the mod for BeatMods when I decide to upload it on there, lol. I really don't use Github or any vcs in general, so sorry if this isn't the best maintained repo.

But a prebuilt binary does exist in the Beat Saber Modding Discord, https://discord.gg/beatsabermods

Just go to #pc-mods and it'll be in there, or just click this to go to it: https://discordapp.com/channels/441805394323439646/744921544743977131/747950007398695033

And for your fyi if you do plan to build it from scratch, the discord_game_sdk.dll file goes into Libs/Native/

nixRidge commented 3 years ago

Much appreciated, thank you!