Skip to content

Small project to switch overlays of a streaming program depending on what state Dota 2 is in. Can be used for much else, since switching is done by sending global hotkeys

License

Notifications You must be signed in to change notification settings

sistason/dota2_overlayswitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dota2_overlayswitcher

Small project to switch overlays of a streaming program depending on what state Dota 2 is in. Can be used for much else, since switching is done by sending global hotkeys.

Similar to Netherswap, but focusses more on the different Dota 2 states (init, draft, ingame, post-game, menu). And its missing the GUI and intuitivity...

  • Use Netherswap, if you want to distinguish between Desktop and Dota Overlay.
  • Use dota2_overlayswitcher, if you want to change just ingame between your overlays, i.e. forget to disable the ingame-overlay after the game every time ;)

Currently, dota2_overlayswitcher can send hotkeys depending on the Dota 2 state only on Windows, while Dota 2 is running in windowed/borderless window mode.

Installation

  • You need Python 2 (2.7, but should work maybe down to 2.5)
  • You need OpenCV, Matplotlib and Numpy for python, together with pywin32
  • You need to add 'con_logfile console.log' and "echo 'Start of Game"' to your autoexec.cfg to enable the Dota 2 logging.

Usage

You need to specifiy your Steam-directory and the overlays/Key-Combinations you want in utils/settings.py

Then, just execute the overlayswitcher.py

About

Small project to switch overlays of a streaming program depending on what state Dota 2 is in. Can be used for much else, since switching is done by sending global hotkeys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages