From 75bb67c8e0cd9b2b7f05daaff8648019c77210f4 Mon Sep 17 00:00:00 2001 From: ultrasn0w Date: Wed, 22 Nov 2017 01:56:02 +0100 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index e7eb550..7d49430 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # foo_drpc Foobar2000 music status for Discord Rich Presence! + +# How to use +1. Grab release, place component .dll in \foobar2000\components\ or create foo_drpc directory in \%userdir%\AppData\Roaming\foobar2000\user-components\ and drop component .dll in there. +2. Grab release from https://github.com/discordapp/discord-rpc and place the discord-rpc.dll from the \bin\ directory in your foobar200 root directory (alongside foobar2000.exe). +3. Add foobar2000 to discords detected games (Settings -> Games -> Add it). + +# How to compile +0. Compiled with VS 2017. +1. Grab foobar2000 SDK and create \foo_drpc\ directory in \foobar2000\. +2. Drop contents from repository in the prevoiusly created \foo_drpc\. +3. Grab release from https://github.com/discordapp/discord-rpc and place \lib\ with contained discord-rpc.lib in \foo_drpc\. +4. Do the same with \include\discord-rpc.h but this time directly into \foo_drpc\. +5. Get/Create a Discord Application ID which resembles your App at Discords end and fill in to \Plugin.h. +6. Upload 1 large asset for your App with the key "logo", 3 small ones with keys "play", "stop" and "pause". + +# License and Warranty +Check [LICENSE](../master/LICENSE). +Note: Even though I build in a "spam protection" to avoid lots of presence updates being send to the discord servers, I can't guarantee and am not responsible for any actions that may be taken against your account. (Nothing happened during personal testing)