• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    C++
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

discord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance

RPC Wine CI

discord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance.

Installation

Some users have provided distro packages for this library:

If your distro isn't listed above, the library can still be installed with a few simple steps.

Dependencies

Install the following dependencies, they are required for either building or running RPC Wine:

  • make
  • wine-devel (including winegcc and headers)
  • RapidJson

Building

After installing dependencies and cloning the repository, the build.sh can be used to build both a 32-bit aswell as a 64-bit version of this library. The resulting binaries can be found in the bin32 respectively the bin64 directory in the source tree.

Setup in Wineprefix

Append to the WINEDLLPATH environment variable both the bin32 and bin64 directory containing the built library.

Then configure your Wineprefix (winecfg) to add discord-rpc (without .dll extension) to the DLL overrides list:

winecfg

and mark it to prefer the Builtin version over the native one:

winecfg edit override

Restrictions

RPC Wine currently has not all Discord-RPC methods implemented. This will be solved with future updates. However, there are other problems with RPC Wine:

RPC Wine is not able to run by design:

  • Games which don't use the native discord-rpc.dll library but their own or a third-party wrapper.
  • Games with statically linked discord-rpc.dll