Replies: 1 comment 1 reply
-
Does it work on the analysis board? There you can look at the engine logs. Also, is ./dist/sunfish a python file or a binary? You're running it in a virtual environment, but it has to work outside of it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community,
I am working on trying to enable/use a custom UCI-compatible engine sunfish with the en-croissant GUI. The main issue is that once I add the engine binary to en-croissant, I am unable to play against it. It seems that the engine does not return a move. However I can run this binary through a terminal and communicate via UCI commands to get valid responses.
I am trying to understand where and why there appears to be a communication breakdown between the engine and the en-croissant interface.
I have detailed my workflow below.
Installing the engine
Clone the engine from the repo with
git clone https://github.com/thomasahle/sunfish.git
Creating a UCI engine binary
Since the engine is written in python, I have converted it into a binary using PyInstaller as follows:
pyinstaller --onefile sunfish.py
This resultant binary is found in "/sunfish/dist/sunfish/"
Running UCI binary
This binary can be run in the terminal with success, with output shown below
Issue
When trying to run sunfish via the en-croissant GUI, it times out. This happens no matter the length, 5/10/15 minutes.
What is causing the engine to not work correctly with the GUI?
Beta Was this translation helpful? Give feedback.
All reactions