Page 1 of 1

Auto Move output in WinBoard

PostPosted: 04 May 2005, 23:05
by Anatol Kozdron
Hi,

Does any one know how to make Winboard create a text file that would be somekind of move history?

Of course i don`t want save as... (creating pgn`s etc).

I need it in real time, so for ex if i go d4 the program saves the move in game.txt, then when the program moves sth like d5 it also automatically updates the game.txt file.

So it`s sth like current game history in auto-updated txt file (temporary storage of move order).

TXA for any help.

Re: Auto Move output in WinBoard

PostPosted: 05 May 2005, 07:19
by RĂ©mi Coulom
de_chopin wrote:Hi,

Does any one know how to make Winboard create a text file that would be somekind of move history?

Of course i don`t want save as... (creating pgn`s etc).

I need it in real time, so for ex if i go d4 the program saves the move in game.txt, then when the program moves sth like d5 it also automatically updates the game.txt file.

So it`s sth like current game history in auto-updated txt file (temporary storage of move order).

TXA for any help.


The debug file may be what you want. It contains much more than the moves, but moves should be easy to filter out of the rest. You get a debug file with the /debug or -debug option.

R?mi

Re: Auto Move output in WinBoard

PostPosted: 05 May 2005, 12:57
by Anatol Kozdron
Well I can`t run this debug mode, it returns an error.

But I've found out that Winboard makes a real time log file called game.001 and this is almost exacly what i want but there is a problem. This log file is updated after a pair of moves. So for example if i play d4 it goes to the log file , but when oponent plays sth like d5 the log is not updated until i play next move.
Does anyone knows how to change it?

Thanks

Re: Auto Move output in WinBoard

PostPosted: 05 May 2005, 13:02
by Igor Gorelikov
game.001 is not Winboard but Crafty's file (the log file you mean is also of Crafty).

And what it's to do with programming?

Igor

Re: Auto Move output in WinBoard

PostPosted: 05 May 2005, 13:05
by Anatol Kozdron
Well I use it with crafty, so if it`s crafty`s log it doesn`t make any difference to me.

The problem is, how to make it to update the game.001 file after each move (not a pair of moves)