forum

[Archived] osu! Discord Rich Presence under wine not working (using Arch Linux)

posted
Total Posts
6
Topic Starter
mrniceguy127
Problem details:

Rich presence using a patched discord-rpc.dll no longer works. The patched dll file is deleted on game launch. I tested this on a Windows installation as well and the unpatched dll isn't installed in the game directory at all, but rich presence DOES work. I assume this is intended behavior, but does anyone have a way of getting rich presence to work on Linux as of now?

I use the script found here to install the game under wine: https://gitlab.com/osu-wine/osu-wine/

Thanks.

Video or screenshot showing the problem:

https://imgur.com/LNpfWzp

osu! version: Stable 20191227.3 (latest)
chent7
As far as I know dll override methods (with some of the old binaries available) no longer works with latest osu and wine 5.0 staging.
Also since rpc is deprecated in favor of gamesdk implementation, it is unlikely osu will get any support now.
For some of the older scripts and packages, rpc does work on some of them, the problem then becomes the quality of the gameplay and performance. At that point why even switch to linux. But you might want to check these out yourself:

Janky method but no reason for it to not work:
https://github.com/null-von-sushi/Discordcomp

Might be worth looking into and building it to try for yourself:
https://github.com/Dark565/DiscordRPC-Wine

Doesn't work as far as I can tell:
https://github.com/goeo-/discord-rpc
Topic Starter
mrniceguy127
Alright, thanks a bunch! I use Arch as my primary OS, so I'll probably just deal with it if all else fails. I'll try these out though.
JSE
Set your wine prefix to Windows 7 and install Discord. It must be the same prefix as osu!. Then Google "qwave.dll" and download it (get an older version like for windows 7, not windows 10 as I believe there are API calls in the newer version that wine doesn't support), presuming you have a 32bit prefix, copy it to your prefix (to system32 or syswow64 if it exists).

Go to winecfg, add an override for qwave and set it to native. Without the qwave.dll your client will crash if you join a voice channel if that matters, but most importantly, set wine setting "allow window manager to decorate windows" on the graphics tab.

Your discord RPC will work along with everything else in discord, including the overlay and screen capture.
0e4ef622
I made a program that makes this work, let me know if it works for you. https://github.com/0e4ef622/wine-discord-ipc-bridge
Topic Starter
mrniceguy127
Your program works great! Thanks a lot!
Please sign in to reply.

New reply