dice4321 / Gunkolle

This script was originally meant to execute kancolle expeditions but was repurpose for girls frontline (by Ryuuhou https://github.com/Ryuuhou/AHKanColle)
Other
16 stars 14 forks source link

Could not find reference pixel, unpause script to try again #16

Closed DUBIONv closed 5 years ago

DUBIONv commented 6 years ago

I'm playing at 1280x720 res and using Nox emulator, i have tried both "compatible" and "speed" rendering modes with no change.

Both master and test branches give the same error

dice4321 commented 6 years ago

Others have come to me in the past with the same problem, something is changing the color of the pixels and I have no idea how to replicate it. I've tried to change the NOX DPI, change nvidia settings and nothing seems to change. If this exact pixel isnt the required RGB hex color, the script wont work.

DUBIONv commented 6 years ago

12323413214332

i'll try to fiddle around my settings but i have no idea what could be causing this 🤔

update: I've been able to change the RGB reading with changing NOX DPI but haven't been lucky enough to land into correct RGB value yet

DUBIONv commented 6 years ago

After trying out a lot various settings on 2 different PC's (amd & intel gpus) i would guess different gpu's handle the antialiasing of the in-game elements differently and as the pixelsearch relies on edge pixels the script will only work on nvidia systems.

dice4321 commented 6 years ago

Oh, very interesting find. Thanks for this, I'll update the requirements.