While streaming Tetris Friends, between games the "wingraphix" will show up where the playfield once was. This creates a jarring, unpleasant effect for stream viewers.
This tool automatically detects when a game has ended and triggers an overlay to cover up the wingraphix with a blank playfield. To do this, it watches a pixel on the playfield in order to detect if a game is being played. If it is not, it sends a signal to OBS Studio to make the blank playfield overlay visible. When the next match starts, it hides this overlay. This tool has only been tested on Windows 10 and with OBS 0.15.4 32 bit version.
To set this up, first create a couple of image overlays to cover the playfields with dummy blank playfields. I have included an image I use. For best results, create your own by taking a screenshot of what it looks like on your OBS (while the player's field is blank).
Next, you will need to bind hotkeys to these dummy playfields in order to hide and unhide them. We will bind one key to hide both of them and one other key to unhide both of them. The Game Over Detection script will use this hotkey to automatically perform these functions. I chose to set these keys to F23 and F24 since these are almost never used by the general populace. This way, the hotkey will not accidentally type stuff, trigger browser features, etc. Since most keyboards do not have an F23 or F24 key, I have included a small program that allows you to send these keys repeatedly. Open "Set up OBS hotkeys," click the button you need to send, then click on the key binding field in OBS. Once it reads the F23 or F24 key, click stop. Repeat this for the other key bindings.
Once everything is set up, it's time to open the Game Over Detection program. When you do, it will prompt you to click on which pixel to watch. I've found what works is the middle of the white bar between the player's rank and his playfield.
After that, it will prompt you to click on OBS. After that, the program will run based on those parameters. In order for the program to read the pixel, Tetris Friends must be on top and must not be transparent!
In order to close out of the program, find the AHK icon on the bottom right of the taskbar, right click it, and then click "Exit."
Anyway, I hope you find this useful, and please let me know if you need some help setting things up.
Game_Over_Detection.zip ( 1005.42k ) Number of downloads: 275
YOU ARE A GENIUS!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)