Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mellowagain/rpc-wine
discord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance
https://github.com/mellowagain/rpc-wine
c cpp discord discord-rpc hacktoberfest wine
Last synced: 24 days ago
JSON representation
discord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance
- Host: GitHub
- URL: https://github.com/mellowagain/rpc-wine
- Owner: mellowagain
- License: mit
- Created: 2018-06-16T14:39:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-08T02:14:11.000Z (12 months ago)
- Last Synced: 2024-05-01T16:27:50.745Z (6 months ago)
- Topics: c, cpp, discord, discord-rpc, hacktoberfest, wine
- Language: C++
- Homepage:
- Size: 44.9 KB
- Stars: 114
- Watchers: 5
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RPC Wine [![CI](https://img.shields.io/circleci/project/github/Marc3842h/rpc-wine.svg)](https://circleci.com/gh/Marc3842h/rpc-wine)
`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:
* Arch Linux: [`discord-rpc-wine-git`](https://aur.archlinux.org/packages/discord-rpc-wine-git/) by @999eagle
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](https://wontfix.club/i/UUusAV3s.png)
and mark it to prefer the Builtin version over the native one:
![winecfg edit override](https://wontfix.club/i/ihlrxiAp.png)
## 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`