Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: UCI interfaces:any suggestions which is best for debugging/testing?

Author: Christophe Drieu

Date: 08:20:16 12/13/04

Go up one level in this thread


On December 13, 2004 at 05:53:20, Chuck wrote:

>UCI interfaces:any suggestions which is best for debugging/testing of new
>engines? I don't have any experience working with the UCI interface, but I have
>used the Winboard interface before.

Hi,

  With ChessPartner you can use as many debugging windows as you want. For this,
just create a text file with the same name as your engine, but with .cpeini
extension in the same directory as your engine. (I call my engine trex, so i
have a trex.exe and a trex.cpeini files). In the .cpeini file, add 2 lines like
that:

[Engine]
EngineInfoTabs=window1|window2|window3

ChessPartner will create 3 debugging Windows named: window1, window2 and window3
when you will run your engine.

To send something in a window from your uci engine, just use (in C):

printf("info string window1:Something to write in debug window1\n");
printf("info string window2:Something to write in about window2\n");

To clear debug window2, send:

printf("info string window2:\x1b[2J\n");

Regards

You can download ChessPartner at http://www.lokasoft.nl



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.