Computer Chess Club Archives


Search

Terms

Messages

Subject: Thorsten ? Winboard autoplaying

Author: Chessfun

Date: 09:10:54 11/01/00


This is your previous message on the subject;
My questions are at the end.

-----------------------------------------------
1.you have to have an installed gandalf and an installed winboard
ready. normally c:\winboard and c:\winboard\gandalf.

2.you have to copy a file called .cui into the directory
you start winboard from (most often c:\winboard)
for the winboard-engine
you want to use. this .gui file is a kind of dos-batch stuff
and directs the process.
you can then name this .gui file the way the program is named,
e.g. here gandalf4.cui not to mix it with others.

3.you copy a file called wbengine.exe into c:\winboard
this is the file that starts the gandalf4.gui batch file
instead of the normal winboard user interface.
you need to copy gandalf432f.exe into this directory to.
4. copy gandalf4.res in this directory to.

gandalf432f.exe is the normal wb-gandalf executable.
gandalf4.res is a gandalf-internal setup file that
overgives the bookpath and and the tb-paths and the
other settings of gandalf.

altogether there you should have:

gandalf4.cui                         the 2 wb-autoplayer files
wbengine.exe

gandalf432f.exe                      the 2 gandalf files
gandalf4.res

5.
now computer1 (the computer you want to use the wb-program, in
our case Gandalf machine) you have top open dos-box

6. go into the winboard directory.
start wbengine executing gandalf4.cui
in the syntax:
wbengine.exe gandalf4.cui

now computer1 starts the slave with the wb-autoplayer
and the parameters for games and time control that are
chosen in the gandalf4.cui file.

e.g. in our case the file looks alike:


special
command gandalf432f.exe xboard nodebug
start
ponder on
send level 40 120 0
x
enginewin
win on
x
win232
comport 1
numgames 50
initcom
wait off
--------------end of quoted text - file
with the command send level you set up the time control
on the slave machine.
with the command comport you can set the right comport
you use on the slave machine.
numgames give the number of games you want to play
in this session.
the rest is internal.

6.
you can start the computer2 (the NON wb-program e.g.)
and make the normal start autoplayer stuff with master
and the amount of games and time and all that stuff
we know so good from working.

enough!
the programs begin to run.

as far as i see it, the wbengine.exe replaces the winboard
user interface with a dummy and controls the auto232
process with stefan-meyer-kahlen autoplayer-code.
imo you don“t need the winboard installation at all,
the 2 files and the gandalf stuff would be enough IMO.

it should work with other wb-programs too. Wonderful.
Now we can let crafty work run on autoplayer will all
others !!!

on the slave you get a window showing the stage of the program
("active" when the program computes, "ponder" in the ponder case).

maybe the programmer of this utiliy or others can say more to
this tool.

i am doing gambit-tiger 1.0 versus gandalf4 in the moment.
first some 60/60 games to warm up, later longer time control.

thanks to all who made this possible.

now i can go sleep and the machines work while i dreaming
computerchess-games... :-)))

this program seems to be ideal to test winboard programs
on 2 machines against commercials or non-winboarders.

that is what we needed.

please correct me when i wrote nonsense in the instructions.
-------------------------------------------------


Ok my gandalf4.cui reads as follows;
What do I change the send levels to so as to get 5min 3 inc?.

special
command gandalf432f.exe xboard nodebug
start
ponder on
send level 40 120 0
x
enginewin
win on
x
win232
comport 2
numgames 40
initcom
wait off
-------------------

After opening my dos box going to my winboard directory
where the files gandalf4.cui wbengine.exe gandalf432f.exe and
gandalf4.res file are located then typing;
wbengine.exe gandalf4.cui

I get;
WinboardEngine>gandalf432f.exe xboard nodebug
WinboardEngine>Error starting the child process
WinboardEngine>on
WinboardEngine>WinboardEngine>on
(@n)EngineControl|WindowsAuto232>2
(@n)EngineControl|WindowsAuto232>40
(@n)EngineControl|WindowsAuto232>Unknown command: initcom
type '?' for help
(@n)EngineControl|WindowsAuto232>off


I do get the window come up;
on the slave you get a window showing the stage of the program
("active" when the program computes, "ponder" in the ponder case).
The gear box is ticked at neutral.

Once I start my second program on the second computer set as master
and start I get nothing.

My gandalf4.res file located in the same directory as the
gandalf4.cui wbengine.exe gandalf432f.exe and winboard.exe
reads:

LEARNING 1
DRAW 6 50
CONTEMPT 0
RESIGN 7 6
TB D:\Tablebases
BOOKPATH e:\winboard\gandalf\book
HASH 48
TBCACHE 4

Any help appreciated

Thanks.
Sarah.







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.