I use a powershell script:

$MYPROG="c:\\go\\gtpmfgo\\x64\\release\\gtpmfgo-675.exe -l6 -threads 4 -cgos
-r -memory 2000 -logengine -loggtp"
$MYPWD="secret-password"
$SENTINEL="stop.txt"

.\tclkit cgos3.tcl mfgo12-675-4c $MYPWD $MYPROG $SENTINEL | Out-Host


cgos3.tcl was downloaded from the cgos support page.

David


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, September 30, 2010 3:19 PM
To: [email protected]
Subject: Re: [Computer-go] Cgos-gtp newbie question

Sorry, sometimes I just skip stuff that does not personally interest me.

I did not follow the thread, but this is what works for me:


To start Valkyria I have a .bat file with the following line
tclkitsh cgosGtp.kit -c config9.txt -k Quit.txt  > log.txt

A second .bat file, 'DoQuit.bat',  has the line
copy DoQuit.bat Quit.txt
Which basically copies it self to create Quit.txt. When the the CGOS  
client sees this file it will disconnect the program correctly and  
delete the Quit.txt file.

the file config9.txt contains

%section server
     server cgos.boardspace.net
     port 6867

%section player
      name      Valkyria3.5.14-4cx
      password  topsecretpwd
      invoke    ..\\..\\ValhallGTP.exe ponder enginelog Log\\log threads 4
      priority  17

Note that filenames need to use double backslashes on Windows.
I think the name in this case the maximum number of character allowed.

You can have several sections with different invocations of your  
programs. Then for each game started a section will be drawn randomly  
with a probability proportional to the priority of the section.

With a single section the priority does not matter.

The files I use are tclkitsh.exe and cgosGtp.kit

Best
Magnus

Quoting Robert Finking <[email protected]>:

>       Hi Matthew,
>
> Thanks for the suggestion. I don't have python installed on this
> machine at present. I'm trying to avoid installing more and more stuff
> (you know how machines get bloated), so I'll hold off a bit longer to
> see if anybody knows the answer to how to use the official script.
>
> Surely there must be a few people out there who use CGOS? I see games
> being played every day. E.g. there are two instances of Valkyria
> (which is playing a lovely game), one AmiGo, Orego, Aya, RandomGo,
> Stop and Brown, all running right now. Surely one of the humans behind
> these players are reading the list? Could you help me be telling me
> what command do you run to connect to the server? Or are none of you
> running the windows client? (that also might be useful to know!)
>
> I've added the info about the python client to the Wiki[1] to help
> anybody else looking in the future.
>
> Thanks again for the input - much appreciated =)
>
> Raffles
>
> Matthew Woodcraft wrote:
>
>   Robert Finking wrote:
>
>> Thanks for the swift response (and Michael for the course
>> correction). Alas I have already tried that to no effect (see
>> command line output below). I have also tried -? -h -help --help
>> etc. Some of these bring up a help dialog centred around the TclKit
>> command line options, but no indication about the main application.
>> I had the same trouble with the viewer, but I managed to work that
>> out by trial, error and guesswork. Alas I haven't succeeded with
>> cgosGtp.
>
>    You might have better luck with the Python client, which you can
> download from http://sourceforge.net/projects/cgos/-M-
> _______________________________________________ Computer-go mailing
> list [email protected]
> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
>
> Links:
> ------
> [1] http://computergo.wikispaces.com
>


_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

Reply via email to