Git Product home page Git Product logo

discord-overlay's Introduction

Discord-Overlay

A DirectX 11 window 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.

Compatibility

You should only need to have a DirectX 11 capable GPU to run the program.

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, accuracy to 1, opacity to 74, contrast to 0.39 and the rest of the values to default.

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.

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 on 2 factors :

  • Does it uses the GPU ?
  • Does it have dimensions of at least 768 * 432 pixels ?

So the window needs to be at least 768 * 432 and take into account the scale factor of each display. So in order to avoid any confusion about if my program works or if the window is too small I forced the size of its window. I doubt that you will need to have a bigger window for the overlay anyway.

discord-overlay's People

Contributors

kenshin9977 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.