eoakley / artifacthelper

Helps you pick cards in draft mode on Valve's Artifact game. Made with Python.
GNU General Public License v3.0
39 stars 9 forks source link

Windowsed support #11

Closed NicolasConstant closed 5 years ago

NicolasConstant commented 5 years ago

I have some issues with "borderless window" mode (artifacthelper doesn't stay on top and disappear when clicking on cards). I tried to find why it wasn't working on "windowsed" mode. In fact, on windowsed mode there is a little black offset captured with the screen that is messing up with the detection process:

screen_shot_debugg

Adding this offset to the grid positioning makes artifacthelper working on "windowsed" mode. :) If those modes can't be detected by the app, maybe it could be interesting to provide an app-setting to handle both cases?

eoakley commented 5 years ago

Just fixed this in the latest release. Now supports windowed mode as well. Also, you need to restar the game to apply borderless window correctly.

If you still have problems, open a new issue with the following:

Thanks for the help!