Mikescher / HexSolver

An automatic solver (with image recognition) for Hexcells
MIT License
29 stars 3 forks source link

Any special requirements in windows ? #4

Open polytan02 opened 3 years ago

polytan02 commented 3 years ago

Hello,

I cannot get this to work in windows 10 with Hexcells Infinite. The software lauches and acquires the data, I can go as far as "calculate" step, but that's it. ==> Any further button only shows a popup with errors.

Could there be a missing piece of software ? Do I need to put the .dll somewhere @Mikescher ?

Mikescher commented 3 years ago

You should only need a .Net runtime.

What error messages are shown?

polytan02 commented 3 years ago

Recapture Capture d’écran 2021-04-22 194012

show binary pattern Capture d’écran 2021-04-22 194121

after I adjust Capture d’écran 2021-04-22 194236

Capture d’écran 2021-04-22 194300

Hint group (so far so good ?) Capture d’écran 2021-04-22 194443

Solve and execute : Capture d’écran 2021-04-22 194501

Capture d’écran 2021-04-22 194352

Initially @Mikescher I just wanted to use your software to help me to show one potential next move when I am stuck. Like a "hint" button ;)

Mikescher commented 3 years ago

o.O didn't know HexCells added a dark theme.

You have to use the light theme - all the OCR and cell recognition etc is configured with the light theme, otherwise not much will be working

polytan02 commented 3 years ago

Hello @Mikescher

I switched to light mode and managed to make it work once, but now it even refuses to "Calculate"

More likely I am doing something wrong ?

Capture d’écran 2021-04-27 184631_recalculate

Mikescher commented 3 years ago

Hmm, I released a new version a few days ago where you can export the currently captured screenshot. Can you use that version and attach that image - that way I could perhaps debug the problem.
Also if Calculate failes it can be useful to look at the output of the buttons above (Show Binary and Show Grid), to see if somehing is off

Be aware that this is a really old project of mine - it's quite fickle in a lot of places :D

polytan02 commented 3 years ago

Hello @Mikescher,

I will try the new release and let you know. The only strange thing I experienced so far (with previous releases as well) is that sometimes OCR works, then on the next move it fails. How can I debug this ? Is there something I can do to support a failed OCR ?