[computer-go] Connecting a gtp engine to CGOS 19

Jacques Basaldúa jacques at dybot.com
Fri Nov 2 10:38:36 PDT 2007


I am trying to make a description of all steps required. But
it still doesn't work. So please, say what am I doing wrong.


1. Get TCL. There are many "flavors" with GUI, debugger etc.
   The simplest, when you just need to run a Tk application
   is something like:

   http://www.equi4.com/pub/tk/tclkit-win32.upx.exe

   This .exe is all you need, about 1M and without any annoyances,
   installation, registry etc. For the following, I rename it as tcl.


2. Get the .tcl client from CGOS.

   http://cgos.boardspace.net/public/cgos3.zip


3. Modify the .tcl script to use the 19x19 server

    # ... set server cgos.boardspace.net
    set server cgos.lri.fr

    # ... set port   6867
    set port   6919

    Use # to change the original lines into remarks and add new lines.

    AFAIK no other modification is necessary. Please, confirm.


4. Create an account in CGOS. I remember having read that when you
   use one for the first time, any name and password are valid
   and then, you have to use the same password to continue using it.

   Now I can't find where I read that. Please, confirm.

   So, for testing purposes, I use the account:

   name: testingTCL
   pass: password


5. Using gnugo for the sake of simplicity (just for the test),

   gnugo37 --mode gtp --chinese-rules --capture-all-dead

   should be a valid setting to play on CGOS.


6. I create a .bat file with:

   tcl cgos3.tcl testingTCL password E:\\GO\\PROGRAMS\\GnuGo\\gnugo37 
--mode gtp --chinese-rules --capture-all-dead


7. I run the .bat file and that launches both tcl.exe and gnugo37.exe I 
don't
    get any info from neither. I can't see my program when I use:
    E:\TEMP\cgosview.exe cgos.lri.fr 6919
    to see what is happening on the server.
    I have waited for many rounds to finish, but my program never plays
    if it is connected at all, something I don't know.


8. Shouldn't there be log files somewhere? Where? I don't mean .log files
    with gtp info. I can do that myself. I mean log files giving some 
info about
    the communication and the state of the server.


Jacques.



More information about the computer-go mailing list