A DirectX 11 window for Windows to host Discord's Overlay in order to capture and display it with OBS.
Based on the idea of Discord Overlay Host I made an updated version as it wasn't updated in 5 years and accumulated a lot of issues.
Setup
Github's repository
Why not use Discord Streamkit ?
The people behind Streamkit clearly never really used it. The link it generates works only for the specific room of the specific server you targeted. It means that if you move to another room/server you need to recreate another link.
With this solution you only need to set it up once and that's it.
Why is it greyish ?
I get that it's not easy to chroma key that color but if there was a green background it would look awful as the Discord's overlay is partially transparent. You'd have a disgusting green under the overlay that you couldn't make disappear.
The current RGB color of the background is 46, 49, 54.
Why can't I resize the window ?
The way Discord detects if it will display its overlay on a window depends of 2 factors :
Based on the idea of Discord Overlay Host I made an updated version as it wasn't updated in 5 years and accumulated a lot of issues.
Setup
- Run the .exe
- Within Discord go to user settings ► Game activity ► Add it ► Select "Discord Overlay".
- Also in Discord, user settings ► Overlay ► Check "enable overlay in game".
- Within OBS add a capture window source and select Discord Overlay.
- Add a chroma key filter to the Discord Overlay source, set the HTML color to 2e3136, similarity to 1, smoothness to 1, opacity to 74, contrast to 0.39 and the rest of the values to default.
- Windows 7+
- A DirectX 11 capable GPU to run the program.
Github's repository
Why not use Discord Streamkit ?
The people behind Streamkit clearly never really used it. The link it generates works only for the specific room of the specific server you targeted. It means that if you move to another room/server you need to recreate another link.
With this solution you only need to set it up once and that's it.
Why is it greyish ?
I get that it's not easy to chroma key that color but if there was a green background it would look awful as the Discord's overlay is partially transparent. You'd have a disgusting green under the overlay that you couldn't make disappear.
The current RGB color of the background is 46, 49, 54.
Why can't I resize the window ?
The way Discord detects if it will display its overlay on a window depends of 2 factors :
- Does it use the GPU ?
- Does it have dimensions of at least 769*433 pixels ?