Skip to content

DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game

License

Notifications You must be signed in to change notification settings

ryanaltair/goverlay

Repository files navigation

DirectX hook and game overlay solution for any desktop GUI like Electron, Qt, CEF and WPF⚡

Codacy Badge

Build status

game overlay solution

  • DirectX hook, draw in game
  • support any GUI framework, use the power of web/Electron/WPF/Qt to inject any app to overlay in your game
  • easy window management
  • input intercept in game

screenshot

demo

Prerequisites

  1. Visual Sudio 2022 with latest sdk to build native C++ project.
  2. CMake
  3. node 32bit/64bit

run demo

  1. git clone https://github.com/hiitiger/goverlay.git
  2. run demo client
    • this includes the steps to build node native-addons electron-overlay
        npm i
        npm run build
        @REM  for 32bit electron
        npm run build:addon:x86
        @REM  for 64bit electron
        npm run build:addon:x64
    
        npm run start
  3. click the start button to start overlay
  4. start a d3d game, type its window name and inject
  5. CTRL+F2 to toggle full input intercept, CTRL+F3 to show demo popup(doit ^^)

inject a specific game

After you have the demo runs right

  1. copy files [n_overlay.dll, n_overlay.x64.dll, injector_helper.exe, injector_helper.x64.exe] from directory game-overlay\prebuilt to directory electron-overlay
  2. run demo client
  3. click start button to start overlay
  4. start the game you want to inject to and wait for it game window to show
  5. input the window title(or part of the title) of the game, and click the inject button

use in your own project

  1. checkout document about how to use it in your own project

feature

  • electron offscreen window overlay in game
  • dx12 api support
  • dx11 api support
  • dx10 api support
  • dx9 api support
  • OpenGL api support
  • native draw overlay
  • hardware acc osr bitmap transport
  • multi windows support
  • window z-index and focus
  • in game sync drag and resize
  • in game defered drag and resize
  • window draw policy
  • input intercepting by manually control
  • custom shaped window (alpha test for mouse handling)
  • input intercepting by auto mouse check
  • brwoser window state manage
  • better hotkey
  • session reconnect

support

contact me if had issues with specific features or in-game performance.

contact me for other GUI frameworks support or need any special feature.

note

Many games block dll injection, please sign dll files with your certificate.

products using goverlay

About

DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.6%
  • TypeScript 2.0%
  • Other 0.4%