uci2wb.git
12 years agoMake supported variants run-time configurable
H.G. Muller [Tue, 17 Apr 2012 05:36:21 +0000]
Make supported variants run-time configurable

A new command-line argument "-var XXX" is accepted to set the variant
list reprted at startup to variants="XXX". It has to go between "debug"
and the engine name.

12 years agoUse 30msec margin in st->movetime translation
H.G. Muller [Tue, 17 Apr 2012 05:31:24 +0000]
Use 30msec margin in st->movetime translation

Because of the different definition of the time mentioned in the WB st
and UCI movetime (max time vs exact time), a margin is needed to not make
the engine forfeit on time.

num

12 years agoAlways pass info string with timing info
H.G. Muller [Sun, 12 Feb 2012 21:53:35 +0000]
Always pass info string with timing info

Even with nopost a sting starting with "info string times @" will be passed
to the GUI as debug output.

12 years agoFix some spurious output
H.G. Muller [Sun, 12 Feb 2012 21:47:44 +0000]
Fix some spurious output

Not all debug prints towards the GUI were controlled through the
"UCI2WB debug output" option. This is now repaired. The method for
matching an info string is made a bit more efficient, by only looking
at the beginning.

12 years agoBump version number to 1.6
H.G. Muller [Sat, 14 Jan 2012 13:05:12 +0000]
Bump version number to 1.6

Also update changelog in README file.

12 years agoFix engine names with spaces
H.G. Muller [Sat, 14 Jan 2012 12:53:08 +0000]
Fix engine names with spaces

Only the first word in the "id name" command was recognized by scanf.

12 years agoMake debug output optional
H.G. Muller [Sat, 14 Jan 2012 12:46:45 +0000]
Make debug output optional

The debug output sent by UCI2WB to the GUI is made subject to an option
"UCI2WB debug output", which by default is set to false. A command-line
argument "debug" can set it to true from the beginning, so that you will
also be able to see the option handshaking.

12 years agoEliminate polling in Windows
H.G. Muller [Sat, 14 Jan 2012 12:13:20 +0000]
Eliminate polling in Windows

Also use pipe-based synchronization here.

12 years agoImplement ping
H.G. Muller [Sat, 14 Jan 2012 11:14:57 +0000]
Implement ping

Use readyok / isready to really ping the engine before acknowledging the GUI.

12 years agoEliminate polling in Linux
H.G. Muller [Sat, 14 Jan 2012 10:56:13 +0000]
Eliminate polling in Linux

The sleep-spaced polling for readyok or bestmove has now been replaced
by pipe-based blocking of the waiting thread, waking it up by writing
a character into the pipe.

13 years agoCheck in Windows icon
H.G. Muller [Fri, 15 Oct 2010 09:16:45 +0000]
Check in Windows icon

13 years agoCheckin README
H.G. Muller [Fri, 15 Oct 2010 09:15:25 +0000]
Checkin README

13 years agoPort UCI2WB to Linux
H.G. Muller [Thu, 14 Oct 2010 19:58:39 +0000]
Port UCI2WB to Linux

If WIN32 is not defined, POSIX calls are used to create the engine
thread, pipes and engine process, and an own implemntation of
GetTickCount() is suppled.

13 years agoCheck in UCI2WB source
H.G. Muller [Thu, 14 Oct 2010 17:12:03 +0000]
Check in UCI2WB source