Brian,  I hope some people here will help you because I am limited in my
ability to help with windows - I just know that it does work and there
are bunch of windows go program running on cgos.

I'll answer what I can here.

You don't need an account.   Just make up a name and a password less
than 18 character (I think, or is it 16?)   The first time you
successfully log on to cgos, your name will be associated with your
password so that nobody else will accidental use the same name.   That's
the only purpose for having the password.    The name is what appears on
the CGOS page and uniquely identifies your program.   So you will need
to make sure it's not the same name as another program.

Also, I think you will have better success using the tclkit designed for
the console, you are trying to use the TK version, which is for creating
nice GUI applications and this is not a GUI.    So find a tclkit for
your platform called something like "tclsh" or similar.   I have heard
that the TK version can work, but I had trouble with it when I tried to
make it work on my wife's windows computer as a test.  

If it runs in gogui, I'm pretty sure CGOS is covered.  I tried to limit
myself to the minimal subset of gtp commands so that it would work on
CGOS with minimal problems from the GTP end of things.   

Beyond this,  I think there will be people here who run windows and will
be happy to help you get this working. 

If someone is willing to document well what windows users need to do, as
well as what the pitfalls are,  I would be happy to add a section to the
web page to make this whole process easier for windows users.    I think
it's easier for unix because I basically designed it on a linux system
and thus windows users suffer needlessly.


- Don



-----Original Message-----
From: Brian Sheppard <sheppar...@aol.com>
Reply-To: computer-go <computer-go@computer-go.org>
To: computer-go@computer-go.org
Subject: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 10:14:00 -0400

I am having trouble connecting to CGOS. I have Windows/Vista, and I am
trying to follow the instructions on page http://cgos.boardspace.net/.
 
First: after downloading a tclkit from www.equi4.com, I renamed the
executable as tcl.exe, and then ran it. This produced something like a
Unix shell window. I presume that I am supposed to run the cgos script
in there. Is that right?
 
Second: the instructions imply that if I just run the script then I will
get something self-explanatory. But when I do so it only works to a
point:
 
    (Pebbles) 1 % cgosGtp.exe
 
    cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey
 
    Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
    -k KILL_FILE  -p PLAYER_FIRST -s
 
           -c specified name of config file - this is MANDATORY
           -k sepcifies a file to create which will stop client after
current game
           -p specifies which player plays first game
           -s display a sample configuration file to stdout and
exit        
 
Now I should try the "-s" option, right? So I do, and I get the same
response:
 
    (Pebbles) 1 % cgosGtp.exe -s
 
    cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey
 
    Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
    -k KILL_FILE  -p PLAYER_FIRST -s
 
           -c specified name of config file - this is MANDATORY
           -k sepcifies a file to create which will stop client after
current game
           -p specifies which player plays first game
           -s display a sample configuration file to stdout and
exit        
 
Third: I dug through archives and found what I thought might be a valid
configuration file. Its contents are shown below:
 
    # config file for testing various version of Pebbles
    # ------------------------------------------------
 
    %section server
        server cgos.boardspace.net
        port 6867
 
    %section player
        name      Pebbles
        password  mypwd
        invoke    ../Release/Pebbles.exe
        priority  1

 
Now I really am not sure what the specified name and password mean. Is
this the name of the program on CGOS? Or is this the login name of the
account that is registered on CGOS?
 
Fourth: I looked for instructions about how to get an account on CGOS,
but I did not find any. Am I supposed to create an account on
boardspace.net, and use that account?
 
Fifth: I tried to use the supplied config file, and I got a peculiar
error message:
 
    (Pebbles) 6 % cgosGtp.exe -c cgos-config.txt -k kill.txt -p Pebbles
    child process exited abnormally

 
Also, a dialog box titled "Error in TclKit" popped up with the following
message:
 
    this isn't a Tk applicationbad window path name "cgos-config.txt"
 
 
I probably should have asked just one question: how do I get my program
on CGOS? But then someone would have pointed me to
http://cgos.boardspace.net/. :-)
 
Background info: I am using GoGui as front end, and I have implemented
enough GTP to play go using GoGui. Is that enough for CGOS also?
 
Help would be appreciated.
 
Thanks,
Brian
 
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to