Stockfish Crazyhouse Engine
Moderator: Ras
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: Stockfish Crazyhouse Engine
By the way: is there a way to save the settings in the UCI2WB engine settings dialog? Usually we have "polyglot save" but not when using UCI2WB
-
- Posts: 28386
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Stockfish Crazyhouse Engine
Unfortunately this is not implemented (yet?). On Polyglot it was a natural and simple extension, as Polyglot worked with ini files anyway. But UCI2WB is just a protocol translator, which does not remember anything.
It could be added, of course, but the point is that it is really bad design to let an adapter handle this. There is no reason why you should want to make settings of UCI engines persistent, and not for WB egines. So it is really the GUI that should remember option settings on a per-engine basis.
I could make XBoard maintain a set of per-engine ini files, like Polyglot does. But perhaps a more logical way to handle it would be to store these settings in the engine list, as an extra -firstOptions "..." for each engine. An always-added 'Save' button in the Engine Settigs dialog could then add/replace such an option in the engine line. Only options with non-default settings would have to be stored this way.
It could be added, of course, but the point is that it is really bad design to let an adapter handle this. There is no reason why you should want to make settings of UCI engines persistent, and not for WB egines. So it is really the GUI that should remember option settings on a per-engine basis.
I could make XBoard maintain a set of per-engine ini files, like Polyglot does. But perhaps a more logical way to handle it would be to store these settings in the engine list, as an extra -firstOptions "..." for each engine. An always-added 'Save' button in the Engine Settigs dialog could then add/replace such an option in the engine line. Only options with non-default settings would have to be stored this way.
-
- Posts: 4718
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: Stockfish Crazyhouse Engine
I did this for myself because I have a new directory for engines which shallstyx wrote:You don't even need to add "-variant crazyhouse" at the end
only play crazyhouse here and nothing else.
-
- Posts: 28386
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Stockfish Crazyhouse Engine
Can someone help me to an executable (Windows or Linux) of the latest source code? I want to try out if yesterday's commit for printing the start-position FEN now also makes variant 'horde' work with my latest UCI2WB. But I don't seem to be able to compile it, and the latest binary release from niklasf is 5 days old.
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: Stockfish Crazyhouse Engine
Sadly I can only provide a Linux binary. Normally cross compiling Stockfish is a piece of cake, but if I try to do it with mingw with the multivariant code, I get several errors
here is the linux version:
https://www.dropbox.com/s/qiuzm6adndlm7 ... ar.gz?dl=0
here is the linux version:
https://www.dropbox.com/s/qiuzm6adndlm7 ... ar.gz?dl=0
-
- Posts: 212
- Joined: Wed Dec 23, 2009 8:53 am
Re: Stockfish Crazyhouse Engine
I downloaded the zh stockfish from this threaed.Guenther wrote:Do you have the real crazyhouse SF program from here?JManion wrote:I have a dozen other engines in separate folders and they all work in winboard
https://github.com/niklasf/Stockfish/releases
BTW with the new UCI2WB file from HGM and following his steps
the entry would look much simpler now, sth like this:
(replace your path)
Code: Select all
"StockfishZH_8-64" -fcp "stockfishZH_8-64.exe" -fd "C:\Engines\Crazyhouse\StockfishZH_8-64" -fUCCI -variant crazyhouse
I also downloaded the latest file of UCI2WB
I changed my path mimic yours
"StockfishZH_8-64" -fcp "stockfishZH_8-64.exe" -fd "C:\Program Files (x86)\WinBoard-4.8.0\stockfish8zh_x64_modern" -fUCCI -variant crazyhouse
After that I try to run stockfish and i get the following
Error: first chess program (ucci2wb -noini C:programfiles etc exited unexpectedly
-
- Posts: 212
- Joined: Wed Dec 23, 2009 8:53 am
Re: Stockfish Crazyhouse Engine
Ok I just tried one more thing.
Ijust tried to add stockfish8zh.
I went to load first engine and selected the sf8zh
I clicked force current variant button and UCCI button.
This time it didnt crash/give me an error.
However when I click on analysis mode nothing happens.
Ijust tried to add stockfish8zh.
I went to load first engine and selected the sf8zh
I clicked force current variant button and UCCI button.
This time it didnt crash/give me an error.
However when I click on analysis mode nothing happens.
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: Stockfish Crazyhouse Engine
Have you copied the new UCI2WB.exe in your winboard directory und started winboard once wit additionalJManion wrote:Ok I just tried one more thing.
Ijust tried to add stockfish8zh.
I went to load first engine and selected the sf8zh
I clicked force current variant button and UCCI button.
This time it didnt crash/give me an error.
However when I click on analysis mode nothing happens.
Code: Select all
-uxiAdapter {UCI2WB -%variant %fcp %fd}
Code: Select all
C:\WinBoard-4.8.0\WinBoard\winboard.exe -uxiAdapter {UCI2WB -%variant %fcp %fd}

-
- Posts: 28386
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Stockfish Crazyhouse Engine
This shows you did not set the uxiAdapter to UCI2WB: the error message says it is still using UCCI2WB (which is an adapter only capable of handling Xiangqi engines).JManion wrote:After that I try to run stockfish and i get the following
Error: first chess program (ucci2wb -noini C:programfiles etc exited unexpectedly
-
- Posts: 338
- Joined: Tue Mar 13, 2012 9:59 pm
- Location: Germany
Re: Stockfish Crazyhouse Engine
The Windows SF-Dev-Multi-Variant-Binary works now (and I don't even know why):styx wrote:Sadly I can only provide a Linux binary. Normally cross compiling Stockfish is a piece of cake, but if I try to do it with mingw with the multivariant code, I get several errors
here is the linux version:
https://www.dropbox.com/s/qiuzm6adndlm7 ... ar.gz?dl=0
https://www.dropbox.com/s/o5bg09bexkas4 ... n.zip?dl=0