Hi,
1) When using Komodo 9 in command line, I notice an uci option called "UCI_AnalyseMode type check default false"
However, when I use Arena or Fritz, I no longer see this option in the GUI. Why ?
2) Under Linux, I use Polyglot. What value must I put in the Polyglot.ini file to enable writing hash to the hard disk ?
Hash File Name ?
Save Hash to File ? (this is a button)
Load Hash from File ? (this is a button)
Thank you.
Missing UCI parameters Komodo 9.1
Moderator: Ras
-
mjlef
- Posts: 1494
- Joined: Thu Mar 30, 2006 2:08 pm
Re: Missing UCI parameters Komodo 9.1
1. UCI_AnalseMode is intercepted and controlled internally by some GUIs, and so does not appear in the engine UCI Parameters screens. When you click the "analyze" butt in Arena, Arena sets the value for you. Most GUIs also move the Hash field for setting hash memory to some other menu too. I assume this is so they can have a common Hash size when running engine matches, but it can be confusing.Canoike wrote:Hi,
1) When using Komodo 9 in command line, I notice an uci option called "UCI_AnalyseMode type check default false"
However, when I use Arena or Fritz, I no longer see this option in the GUI. Why ?
2) Under Linux, I use Polyglot. What value must I put in the Polyglot.ini file to enable writing hash to the hard disk ?
Hash File Name ?
Save Hash to File ? (this is a button)
Load Hash from File ? (this is a button)
Thank you.
2. After stopping the search, a sequence that would work to save the hash to file name fred.has is:
setoption name Hash File Name value fred.has
setoption name Save Hash to File
to load it (assuming the Hash File Name is already set):
setoption name Load Hash from File
I do not know a lot about polyglot.ini files, but those are the commands the engine understands.
Mark
-
hgm
- Posts: 28514
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Missing UCI parameters Komodo 9.1
This is a UCI protocol violation, right? UCI options are not case sensitive, and 'name' is a protected keyword. So you should not be surprised if some interfaces will choke on this option.mjlef wrote:setoption name Hash File Name value fred.has
Button options are inherently interactive, and thus cannot be controlled from an ini file. You should press them in the Engine Settings dialog at the time you want the action performed. One should never mess with polyglot.ini files anyway. Leave their creation to Polyglot, by invoking the latter with the commandI do not know a lot about polyglot.ini files, but those are the commands the engine understands.
polyglot -noini -ec ENGINECOMMAND
Or better yet, leave it to XBoard to issue that command, by invoking XBoard with the option -fUCI (or by ticking the UCI checkbox when you load and register the engine through the menus).
-
mar
- Posts: 2833
- Joined: Fri Nov 26, 2010 2:00 pm
- Location: Czech Republic
- Full name: Martin Sedlak
Re: Missing UCI parameters Komodo 9.1
Interesting, I missed this detail. In fact, UCI spec even says thathgm wrote:This is a UCI protocol violation, right? UCI options are not case sensitive, and 'name' is a protected keyword. So you should not be surprised if some interfaces will choke on this option.
Code: Select all
The name and value of the option in <id> should not be case sensitive and can inlude spaces.
(in fact, I'd prefer case sensitivity for name as well).
I hope that options in CECP are case sensitive (which would make perfect sense).
-
hgm
- Posts: 28514
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Missing UCI parameters Komodo 9.1
CECP options are indeed case sensitive, as are their values.