"Watch" the Houdini vs Rybka games "live"

Discussion of computer chess matches and engine tournaments.

Moderator: Ras

User avatar
ivoryknight
Posts: 117
Joined: Fri Mar 25, 2011 10:40 pm
Location: USA

"Watch" the Houdini vs Rybka games "live"

Post by ivoryknight »

Now you can "watch" the Houdini vs Rybka games "live"! - G/41400 +30/move - To view the current game, go to:

http://www.westportchessclub.org/comput ... e-game.htm

I would like to take a second to thank Matthias, the maker of ChessGUI, for helping me with a couple of things regarding his program.

How I am doing it:
I am using ChessGUI (www.chessgui.com) to run the tournament. I selected the checkbox for writing to the game's PGN file as the game progresses--not just at the end of the game.

I am using the Windows FTP command in a batch file to automatically FTP the current PGN file to my web host. The batch file, which I called LivePGN-Upload.cmd, looks like this:

-----------------------------------
@echo off
:Ftpbegin
FTP -v -s:ftp.txt ftp.mywebsite.org
GOTO Wait

:Wait
sleep 300
GOTO Ftpbegin
-----------------------------------



My ftp.txt file, the file that gets called by the Windows batch file above, has the text I wish to have automatically entered within the FTP prompt, and it looks like this:

-----------------------------------
myftpusername
myftppassword
cd chess-club/computer-chess
binary
prompt n
put LivePgn.pgn
bye
-----------------------------------

I also had to download sleep.exe to make the batch file wait 300 seconds before re-uploading the game's PGN file. Google for it, then copy it to your Windows\System32 directory. You will need admin privileges.

Note: The batch file and the ftp.txt file have been placed in the ChessGUI\OUTPUT folder, where the game's live pgn file, LivePgn.pgn, is.

I hope this has helped. I love it when I Google for something and see that some kind soul has taken time to share the whole process.

Best wishes and happy chessing!

-----
Tag words: how do i to automatically upload my computer chess engine games to the web internet
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: "Watch" the Houdini vs Rybka games "live&

Post by Adam Hair »

ivoryknight wrote:Now you can "watch" the Houdini vs Rybka games "live"! - G/41400 +30/move - To view the current game, go to:

http://www.westportchessclub.org/comput ... e-game.htm

I would like to take a second to thank Matthias, the maker of ChessGUI, for helping me with a couple of things regarding his program.

How I am doing it:
I am using ChessGUI (www.chessgui.com) to run the tournament. I selected the checkbox for writing to the game's PGN file as the game progresses--not just at the end of the game.

I am using the Windows FTP command in a batch file to automatically FTP the current PGN file to my web host. The batch file, which I called LivePGN-Upload.cmd, looks like this:

-----------------------------------
@echo off
:Ftpbegin
FTP -v -s:ftp.txt ftp.mywebsite.org
GOTO Wait

:Wait
sleep 300
GOTO Ftpbegin
-----------------------------------



My ftp.txt file, the file that gets called by the Windows batch file above, has the text I wish to have automatically entered within the FTP prompt, and it looks like this:

-----------------------------------
myftpusername
myftppassword
cd chess-club/computer-chess
binary
prompt n
put LivePgn.pgn
bye
-----------------------------------

I also had to download sleep.exe to make the batch file wait 300 seconds before re-uploading the game's PGN file. Google for it, then copy it to your Windows\System32 directory. You will need admin privileges.

Note: The batch file and the ftp.txt file have been placed in the ChessGUI\OUTPUT folder, where the game's live pgn file, LivePgn.pgn, is.

I hope this has helped. I love it when I Google for something and see that some kind soul has taken time to share the whole process.

Best wishes and happy chessing!

-----
Tag words: how do i to automatically upload my computer chess engine games to the web internet
Congratulations for getting this going. And kudos for posting the how-to directions.
User avatar
Graham Banks
Posts: 44536
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: "Watch" the Houdini vs Rybka games "live&

Post by Graham Banks »

Adam Hair wrote:Congratulations for getting this going. And kudos for posting the how-to directions.
Looks good and yes, it was generous of Brent to post how he managed it. 8-)
gbanksnz at gmail.com