[computer-go] How to use CGOS ?

2008-02-23 Thread ivan dubois
Hello,

I downloaded the file "cgosGtp-win.zip" from http://cgos.boardspace.net/ but I 
cant make it work. I am on windows.

I tried this command : cgosgtp.exe -name MyProgram.bat 
But it doesnt work.

What am I doing wrong ?

Could someone provide an example of a correct invocation of cgosgtp.exe ?

Thanks a lot.

Ivan


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


[computer-go] Re: How to use CGOS ?

2008-02-23 Thread Hideki Kato
See
http://www.mail-archive.com/computer-go@computer-go.org/msg04946.html

This link helps not only 19x19 but also 9x9 for Windows users.

-Hideki

ivan dubois: <[EMAIL PROTECTED]>:
>Hello,
>
>I downloaded the file "cgosGtp-win.zip" from http://cgos.boardspace.net/ but I 
>cant make it 
>work. I am on windows.
>
>I tried this command : cgosgtp.exe -name MyProgram.bat 
>But it doesnt work.
>
>What am I doing wrong ?
>
>Could someone provide an example of a correct invocation of cgosgtp.exe ?
>
>Thanks a lot.
>
>Ivan
>
>
>  
> _ 
>Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
>http://mail.yahoo.fr
>___
>computer-go mailing list
>computer-go@computer-go.org
>http://www.computer-go.org/mailman/listinfo/computer-go/
--
[EMAIL PROTECTED] (Kato)
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] How to use CGOS ?

2008-02-23 Thread Don Dailey
Ivan,

If you run the script without any arguments it displays a usage message.   

It require a configuration file - one of the command line arguments will
display a sample configuration file  -  here is a linux example:

[EMAIL PROTECTED]:~/tmp$ ./cgosGtp-linux-x86_32

cgosGtp 0.98 alpha - engine client for CGOS Linux-x86 by Don Dailey

Usage: /home/drd/tmp/cgosGtp-linux-x86_32/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   
   

[EMAIL PROTECTED]:~/tmp$ ./cgosGtp-linux-x86_32 -s

# config file for testing various version of MyBot
# 

%section server
server cgos.boardspace.net
port 6867

%section player
 name  MyBot-1.0
 password  abcxyz
 invoke./mybot-1.0  --gtp --log mybot.log
 priority  7

%section player
 name  MyBot-2.0
 password  abcxyz
 invoke./mybot-2.0  --gtp --log mybot.log
 priority  3
   

- Don






ivan dubois wrote:
> Hello,
>
> I downloaded the file "cgosGtp-win.zip" from http://cgos.boardspace.net/ but 
> I cant make it work. I am on windows.
>
> I tried this command : cgosgtp.exe -name MyProgram.bat 
> But it doesnt work.
>
> What am I doing wrong ?
>
> Could someone provide an example of a correct invocation of cgosgtp.exe ?
>
> Thanks a lot.
>
> Ivan
>
>
>   
> _ 
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
> http://mail.yahoo.fr
> ___
> 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/


Re: [computer-go] Re: How to use CGOS ?

2008-02-23 Thread Don Dailey
I think those instructions do not apply to the new client scripts - it
works differently.

- Don


Hideki Kato wrote:
> See
> http://www.mail-archive.com/computer-go@computer-go.org/msg04946.html
>
> This link helps not only 19x19 but also 9x9 for Windows users.
>
> -Hideki
>
> ivan dubois: <[EMAIL PROTECTED]>:
>   
>> Hello,
>>
>> I downloaded the file "cgosGtp-win.zip" from http://cgos.boardspace.net/ but 
>> I cant make it 
>> work. I am on windows.
>>
>> I tried this command : cgosgtp.exe -name MyProgram.bat 
>> But it doesnt work.
>>
>> What am I doing wrong ?
>>
>> Could someone provide an example of a correct invocation of cgosgtp.exe ?
>>
>> Thanks a lot.
>>
>> Ivan
>>
>>
>>  
>> _
>>  
>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
>> http://mail.yahoo.fr
>> ___
>> computer-go mailing list
>> computer-go@computer-go.org
>> http://www.computer-go.org/mailman/listinfo/computer-go/
>> 
> --
> [EMAIL PROTECTED] (Kato)
> ___
> 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/


Re: [computer-go] How to use CGOS ?

2008-02-23 Thread Magnus Persson


I use a line similar to the following. (Cgos3.exe is an older version  
of client but it should work the same. If not then that explains why I  
never switched to the newer clients)


cgos3.exe MyUserName  MYPWD "MYPROG.exe" quit.txt > log.txt

1) Surround the path to your program with ""
2) You also have to provide the password and username
3) The "quit.txt" means that you logoff the program by creating a file  
with this name
4) "> log.txt" creates a log so you can look to see what went wrong if  
it does not connect



Quoting ivan dubois <[EMAIL PROTECTED]>:


Hello,

I downloaded the file "cgosGtp-win.zip" from   
http://cgos.boardspace.net/ but I cant make it work. I am on windows.


I tried this command : cgosgtp.exe -name MyProgram.bat
But it doesnt work.

What am I doing wrong ?

Could someone provide an example of a correct invocation of cgosgtp.exe ?

Thanks a lot.

Ivan



_
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers   
Yahoo! Mail http://mail.yahoo.fr

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





--
Magnus Persson
Berlin, Germany
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re : [computer-go] How to use CGOS ?

2008-02-23 Thread ivan dubois
Hello Don,

I folowed your instructions but it still doesnt work.

When I run cgosGtp.exe with no argument it does nothing.
When I do "cgosGtp.exe -help" it opens a window titled : "Error in TclKit" with 
a list of command inside, but I dont understand it.

When I do what you explained in your message, ie : cgosgtp -c config.txt -k 
fill_file
Then it opens a window in wich is written : "This isn't a Tk applicationbad 
window path name "config.txt"

I am confused.


- Message d'origine 
De : Don Dailey <[EMAIL PROTECTED]>
À : computer-go 
Envoyé le : Samedi, 23 Février 2008, 15h54mn 27s
Objet : Re: [computer-go] How to use CGOS ?

Ivan,

If you run the script without any arguments it displays a usage message.  

It require a configuration file - one of the command line arguments will
display a sample configuration file  -  here is a linux example:

[EMAIL PROTECTED]:~/tmp$ ./cgosGtp-linux-x86_32

cgosGtp 0.98 alpha - engine client for CGOS Linux-x86 by Don Dailey

Usage: /home/drd/tmp/cgosGtp-linux-x86_32/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  
  

[EMAIL PROTECTED]:~/tmp$ ./cgosGtp-linux-x86_32 -s

# config file for testing various version of MyBot
# 

%section server
server cgos.boardspace.net
port 6867

%section player
name  MyBot-1.0
password  abcxyz
invoke./mybot-1.0  --gtp --log mybot.log
priority  7

%section player
name  MyBot-2.0
password  abcxyz
invoke./mybot-2.0  --gtp --log mybot.log
priority  3
  

- Don






ivan dubois wrote:
> Hello,
>
> I downloaded the file "cgosGtp-win.zip" from http://cgos.boardspace.net/ but 
> I cant make it work. I am on windows.
>
> I tried this command : cgosgtp.exe -name MyProgram.bat 
> But it doesnt work.
>
> What am I doing wrong ?
>
> Could someone provide an example of a correct invocation of cgosgtp.exe ?
>
> Thanks a lot.
>
> Ivan
>
>
>  
> _ 
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
> http://mail.yahoo.fr
> ___
> 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/


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re : [computer-go] How to use CGOS ?

2008-02-23 Thread ivan dubois
I found an older version of cgos and did what you say and it seems to work now, 
thanks.
I think the new script uses a different syntax.


- Message d'origine 
De : Magnus Persson <[EMAIL PROTECTED]>
À : computer-go@computer-go.org
Envoyé le : Samedi, 23 Février 2008, 16h01mn 08s
Objet : Re: [computer-go] How to use CGOS ?


I use a line similar to the following. (Cgos3.exe is an older version  
of client but it should work the same. If not then that explains why I  
never switched to the newer clients)

cgos3.exe MyUserName  MYPWD "MYPROG.exe" quit.txt > log.txt

1) Surround the path to your program with ""
2) You also have to provide the password and username
3) The "quit.txt" means that you logoff the program by creating a file  
with this name
4) "> log.txt" creates a log so you can look to see what went wrong if  
it does not connect


Quoting ivan dubois <[EMAIL PROTECTED]>:

> Hello,
>
> I downloaded the file "cgosGtp-win.zip" from  
> http://cgos.boardspace.net/ but I cant make it work. I am on windows.
>
> I tried this command : cgosgtp.exe -name MyProgram.bat
> But it doesnt work.
>
> What am I doing wrong ?
>
> Could someone provide an example of a correct invocation of cgosgtp.exe ?
>
> Thanks a lot.
>
> Ivan
>
>
>
> _
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers  
> Yahoo! Mail http://mail.yahoo.fr
> ___
> computer-go mailing list
> computer-go@computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>



-- 
Magnus Persson
Berlin, Germany
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: Re : [computer-go] How to use CGOS ?

2008-02-23 Thread Don Dailey
I'll look into the windows problem with the new script - I don't want to
discourage future users of cgos.

- Don


ivan dubois wrote:
> I found an older version of cgos and did what you say and it seems to work 
> now, thanks.
> I think the new script uses a different syntax.
>
>
> - Message d'origine 
> De : Magnus Persson <[EMAIL PROTECTED]>
> À : computer-go@computer-go.org
> Envoyé le : Samedi, 23 Février 2008, 16h01mn 08s
> Objet : Re: [computer-go] How to use CGOS ?
>
>
> I use a line similar to the following. (Cgos3.exe is an older version  
> of client but it should work the same. If not then that explains why I  
> never switched to the newer clients)
>
> cgos3.exe MyUserName  MYPWD "MYPROG.exe" quit.txt > log.txt
>
> 1) Surround the path to your program with ""
> 2) You also have to provide the password and username
> 3) The "quit.txt" means that you logoff the program by creating a file  
> with this name
> 4) "> log.txt" creates a log so you can look to see what went wrong if  
> it does not connect
>
>
> Quoting ivan dubois <[EMAIL PROTECTED]>:
>
>   
>> Hello,
>>
>> I downloaded the file "cgosGtp-win.zip" from  
>> http://cgos.boardspace.net/ but I cant make it work. I am on windows.
>>
>> I tried this command : cgosgtp.exe -name MyProgram.bat
>> But it doesnt work.
>>
>> What am I doing wrong ?
>>
>> Could someone provide an example of a correct invocation of cgosgtp.exe ?
>>
>> Thanks a lot.
>>
>> Ivan
>>
>>
>>
>> _
>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers  
>> Yahoo! Mail http://mail.yahoo.fr
>> ___
>> 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/


Re: [computer-go] Re: How to use CGOS ?

2008-02-23 Thread Hideki Kato
Don Dailey: <[EMAIL PROTECTED]>:
>I think those instructions do not apply to the new client scripts - it
>works differently.

Oh, I see.  Then could you please change the link at the middle 
(immediately before "Suggest Improvements" paragraph) of the page, 
"Connect program to 19x19 server"?

-Hideki

>- Don
>
>
>Hideki Kato wrote:
>> See
>> http://www.mail-archive.com/computer-go@computer-go.org/msg04946.html
>>
>> This link helps not only 19x19 but also 9x9 for Windows users.
>>
>> -Hideki
>>
>> ivan dubois: <[EMAIL PROTECTED]>:
>>   
>>> Hello,
>>>
>>> I downloaded the file "cgosGtp-win.zip" from http://cgos.boardspace.net/ 
>>> but I cant make 
>it 
>>> work. I am on windows.
>>>
>>> I tried this command : cgosgtp.exe -name MyProgram.bat 
>>> But it doesnt work.
>>>
>>> What am I doing wrong ?
>>>
>>> Could someone provide an example of a correct invocation of cgosgtp.exe ?
>>>
>>> Thanks a lot.
>>>
>>> Ivan
>>>
>>>
>>>  
>>> _
>>>  
>>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! 
>>> Mail 
>>> http://mail.yahoo.fr
>>> ___
>>> computer-go mailing list
>>> computer-go@computer-go.org
>>> http://www.computer-go.org/mailman/listinfo/computer-go/
>>> 
>> --
>> [EMAIL PROTECTED] (Kato)
>> ___
>> 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/
--
[EMAIL PROTECTED] (Kato)
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Re: How to use CGOS ?

2008-02-23 Thread Jason House

On Sun, 2008-02-24 at 02:09 +0900, Hideki Kato wrote:
> Don Dailey: <[EMAIL PROTECTED]>:
> >I think those instructions do not apply to the new client scripts - it
> >works differently.
> 
> Oh, I see.  Then could you please change the link at the middle 
> (immediately before "Suggest Improvements" paragraph) of the page, 
> "Connect program to 19x19 server"?

Once upon a time, I set up a wiki for cgos stuff, maybe it's about time
we switch to using that officially?  That'd let anyone fix content.

http://cgos.wiki.sourceforge.net/

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


Re: [computer-go] How to use CGOS ?

2008-02-23 Thread Raymond Wold

Once we're on the topic, is there a good reason why CGOS does not use GTP?
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re : [computer-go] How to use CGOS ?

2008-02-23 Thread ivan dubois
It does use GTP.

- Message d'origine 
De : Raymond Wold <[EMAIL PROTECTED]>
À : computer-go 
Envoyé le : Dimanche, 24 Février 2008, 1h54mn 18s
Objet : Re: [computer-go] How to use CGOS ?

Once we're on the topic, is there a good reason why CGOS does not use GTP?
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re : [computer-go] How to use CGOS ?

2008-02-23 Thread Raymond Wold

ivan dubois wrote:

It does use GTP.

I mean, why do you have to download a client to run locally? Why can't 
you just use GTP directly against a socket?


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


Re: Re : [computer-go] How to use CGOS ?

2008-02-23 Thread Jason House

On Sun, 2008-02-24 at 02:06 +, Raymond Wold wrote:
> ivan dubois wrote:
> > It does use GTP.
> > 
> I mean, why do you have to download a client to run locally? Why can't 
> you just use GTP directly against a socket?

Since gtp is typically implemented via console communication, there'd
still have to be a (very simple) client.  I know the topic has come up
in the past, but I don't remember the arguments made for why cgos was
implemented the way it was.

The code is open source.  Want to try adjusting the client and server
code to do as you suggest?

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