H.G.Muller wrote:I don't understand how WinBoard could 'refuse to start'. If you remove settings out of the ini file, or remove the ini file altogether, it should simply use compiled-in defaults which are sensible (1 core, 64MB hash). And it should not care anyway even if the settings are nonsensical, as it doesn't use them itself.
If you don't want Polyglot to obey the GUI commands for cores or hash size, the simples way is to use an obsolete Polyglot that doesn't support those commands. The recommended way, however, is to set the value you want in the GUI and let the engines obey it. Then you would not even have to make special ini files (or in fact any ini files whatsoever). Having the engines disobey the GUI settings only seems an advantage when you specify wrong GUI settings... And you cannot escape the fact that you have to specify correct settings somewhere, no matter how much you subvert proper operation, so why not specify them in the place that was intended for this?
D:\Chess\FICS\Local\WinBoard\winboard.exe -cp -fcp "stockfish" -fd "D:\Chess\Stockfish" -fUCI -scp "stockfish" -sd "D:\Chess\Stockfish" -sUCI -smpCores 2
If you did install Stockfish as UCI engine in WinBoard's engine list, the latest beta even allows you to abbreviate that to
D:\Chess\FICS\Local\WinBoard\winboard.exe -fe "stockfish" -se "stockfish" -smpCores 2
where the (new) -fe / -se options retrieve an engine by tidy name from the list, together with all options accompanying it (such as -fd and -fUCI), and imply -cp mode.
Here is an example of one of my ini files:
[PolyGlot]
EngineName = Critter 1.6a x64
EngineDir = D:\Chess\Critter 1.6a
EngineCommand = Critter_1.6a_64bit.exe
Log = false
#LogFile = critter.log
KibitzMove = true
KibitzCommand = whisper
Book=true
BookLearn=true
BookFile=D:\Chess\Polyglot\books\sup.bin
ScoreWhite = true
Resign=true
ResignMoves=6
BookRandom=false
UCIVersion=1
CanPonder=true
[Engine]
Hash = 2048
Ponder = true
OwnBook = false
UCI_Chess980 = false
Threads = 4
GaviotaTbPath = D:\Chess\gtb
GaviotaTbCache = 256
GaviotaTbCompression = cp4
Tablebase Usage = Everywhere
Yet when I start Critter, it only uses 1GB hash. That setting is in the Winboard.ini file. Now if I switch the Winboard.ini setting to 2048, it still only uses 1GB. This happened to all engines.
Something seems broken somewhere.
Peter