gtpadapter - Go Text Protocol adapter for logging or protocol translations.
gtpadapter [-config file] [-emuhandicap] [-fillpasses] [-gtpfile file] [-log file] [-name name] [-noscore] [-resign score] [-size n] [-verbose] [-version2]
gtpadapter -help
gtpadapter -version
Go Text Protocol adapter for logging or protocol translations. The argument program is a command line for the Go program .
Read command line options and arguments from file.
Emulate the commands set_free_handicap and place_free_handicap by using standard fixed handicap locations (if existing) and sending the stones to the program using play commands.
Send GTP commands from file to program at startup.
Display help and exit.
Fill non-alternating moves with pass moves for programs that can only handle move sequences with alternating color.
Log the GTP stream to a file (the stream of the adapter program, not the one from the adapter to the Go program).
Name used for answering the name command. If the name contains a colon, the part after the colon is interpreted as a version and used for answering the version command.
Hide the final_score and final_status_list commands, even if the program supports them.
Send an estimate_score to the program before each genmove command and resign, if the estimation is below the given score (to the disadvantage of the side to move).
Only accept this board size , even if the program accepts other sizes.
Print the GTP stream from the adapter to the Go program to standard error.
Print version and exit.
Sets whether GtpAdapter reports protocol version 2 in response to the protocol_version command. GtpAdapter can handle both versions of the commands for playing moves, generating moves and starting a new game and will translate them correctly to the GTP version of the Go program.