WB-engine authors please note!
Moderators: hgm, Rebel, chrisw
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
Ok, can you then write out the specification of the protocol?
-
- Posts: 27796
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: WB-engine authors please note!
I have not add the formal desciption of the protocol yet. But it is basically just a one-to-one translation of UCI protocol, leaving out the redundant keywords (upper line UCI, lower line corresponding WB command):
Engine -> GUI:
option name NAME type button
feature option="NAME -button"
option name NAME type check value true
feature option="NAME -check 1"
option name NAME type string value TEXT
feature option="NAME -string TEXT"
option name NAME type spin value N1 min N2 max N3
feature option="NAME -spin N1 N2 N3"
option name NAME type combo value TEXT2 var TEXT1 var TEXT2 var TEXT3
feature option="NAME -combo TEXT1 /// *TEXT2 /// TEXT3"
GUI->engine:
setoption name NAME value VALUE
option NAME VALUE
Engine -> GUI:
option name NAME type button
feature option="NAME -button"
option name NAME type check value true
feature option="NAME -check 1"
option name NAME type string value TEXT
feature option="NAME -string TEXT"
option name NAME type spin value N1 min N2 max N3
feature option="NAME -spin N1 N2 N3"
option name NAME type combo value TEXT2 var TEXT1 var TEXT2 var TEXT3
feature option="NAME -combo TEXT1 /// *TEXT2 /// TEXT3"
GUI->engine:
setoption name NAME value VALUE
option NAME VALUE
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
Why not formally specifying it?
I don't think a post in a forum has enough authority to convince people to implement it.
I don't think a post in a forum has enough authority to convince people to implement it.
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
setoption name NAME value VALUE
option NAME VALUE
Can the engine be assumed to be idle when these commands are sent?
option NAME VALUE
Can the engine be assumed to be idle when these commands are sent?
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
What to with options for which there is no default (this happens often with NalimovPath)?
EDIT: Actually on retrospect I am not sure if this happens. It seems Rybka and
Bikjump set the default for NalimovPath to <empty>.
Maybe having no default is illegal?
EDIT: Actually on retrospect I am not sure if this happens. It seems Rybka and
Bikjump set the default for NalimovPath to <empty>.
Maybe having no default is illegal?
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
This is defective.option NAME VALUE
Both NAME and VALUE may contain spaces.
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
b16 sends the options commands.
It doesn't do anything with the options since this has not been clearly specified.
http://alpha.uhasselt.be/Research/Algeb ... ot-release
It doesn't do anything with the options since this has not been clearly specified.
http://alpha.uhasselt.be/Research/Algeb ... ot-release
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
I would proposeoption NAME VALUE
Code: Select all
option NAME -value VALUE
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
Ok here is a new version of b16
http://alpha.uhasselt.be/Research/Algeb ... t-release/
I didn't bump the version number since this is not automated yet in my build scripts
(I have to change it in 5 places).
I have implemented the option setting command as
It can be sent at any time. If it is send during a search, PG will stop the search and restart it.
http://alpha.uhasselt.be/Research/Algeb ... t-release/
I didn't bump the version number since this is not automated yet in my build scripts
(I have to change it in 5 places).
I have implemented the option setting command as
Code: Select all
option name -value value
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: WB-engine authors please note!
Ok a new version of b16. It is now possible to do
Then PG will run without a config file. Great for testing!
Code: Select all
polyglot -ec <engine command>