Return code

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Return code

Postby Fermin Serrano » 20 Apr 2009, 12:57

I am on the way to develop a new, personal tournament manager. How can I know the result of game after winboard has exited, is there any result code or something like that????

regards,
fS
User avatar
Fermin Serrano
 
Posts: 72
Joined: 10 Apr 2008, 18:20
Location: Madrid (Spain)

Re: Return code

Postby H.G.Muller » 20 Apr 2009, 14:02

There is no result code. PSWBTM gets the result from having WinBoard save the game on a PGN file (-sgf temp.pgn), and then reads this file to extract the result from the PGN tags. It then edits this file to replace the engine names (which WinBoard took from the engine 'myname=' feature, or the engine executable) by the name under which the engines are installed in PSWBTM. After that it appends the file to the PGN of the tourney, adding a 'round' tag.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 41 guests