Skip to content

Discord RPC Bridge for Wine

GitHub License GitHub Downloads (all assets, all releases) GitHub Release

Simple bridge that allows you to use Discord Rich Presence with Wine games/software on Linux/macOS.

Download latest release Download latest build

Works by running a small program in the background that creates a named pipe \\.\pipe\discord-ipc-0 inside the prefix and forwards all data to the pipe /run/user/1000/discord-ipc-0.

This bridge takes advantage of the Windows service implementation in Wine, eliminating the need to run it manually.

These docs are for the latest stable release.
For v1.0, see the original README.


Known Issues

  • If you use Vesktop Some games may not show up in Discord. This is because Vesktop uses arRPC, which it doesn't work with some games #4. This is not an issue with the bridge.

My game is not showing up in Discord

If your game is not showing up in Discord, please check the following:

  • The game you are playing has Rich Presence support!

    • Some games may not have this feature. It's up to developers of the game to implement it.
      This is not an issue related to the bridge.
  • You followed the installation steps correctly.

  • You are using the latest version of the bridge. Currently is GitHub Release.

I still want to see the game in Discord!

This is outside the scope of this project, but here is how you can do it:

  • Go to User Settings under Activity Settings in Registered Games tab.

  • Click Add it! and select the game. (e.g. Cyberpunk2077.exe, HytaleClient.exe, etc.)

    • Note for Linux: This is not supported if you use Discord from Flatpak.
  • If the status shows like below, it means you need to rename the game.

    • image
  • Go again in Registered Games and click on the game you just added.

  • Rename the game to whatever you want. (in my case Cyberpunk 2077)

  • The result will be like this:

    • image
  • That's it!

Official Article


Compiling from source

  • Install the wine, gcc-mingw-w64 and make packages.
  • Open a terminal in the directory that contains this file and run make.
  • The compiled executable will be located in build/bridge.exe.

Examples

League Of Legends running under Wine using Lutris
image

Among Us on Steam
image

Content Warning on Steam
image

Hades on Steam
image

Lethal Company (modded) on Steam
image

vivid/stasis on Steam
image

Credits

This project is inspired by wine-discord-ipc-bridge.