Engine console output in xboard

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Engine console output in xboard

Postby 2di » 18 Apr 2010, 14:44

Hi All

I was able to connect engine to xboard, and make it play against another one, But I have question about console output of my program, it seems to be missing.

Simple statements for C++ like cout, or printf(), how can I see those ? Engine output contains only steps?

also, just the matter of interest, are there many checkers games which support xboard interface? I was looking for some but didnt find any.

Thanks a lot
2di
 
Posts: 4
Joined: 17 Apr 2010, 17:45

Re: Engine console output in xboard

Postby H.G.Muller » 18 Apr 2010, 15:27

If you want engine output to appear in the engine-output window, you have to send it in the format of WB protocol thinking output, i.e. prefixed with 4 integers (depth, score, time, nodes). If the aim is just to print something, send the depth of the last real thinking output you sent, followed by three zeros.

Other output of your engine can only be seen in the xboard.debug file (if you are running with the -debug option).

Checkers is not a Chess variant (it does not have replacement capture), and is not supported by XBoard.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Engine console output in xboard

Postby 2di » 18 Apr 2010, 18:02

Thanks for the explanation, seems to work fine :)
2di
 
Posts: 4
Joined: 17 Apr 2010, 17:45


Return to Winboard and related Topics

Who is online

Users browsing this forum: Google [Bot] and 21 guests