1GOGUI-ADAPTER(1) GoGui Reference GOGUI-ADAPTER(1)
2
3
4
6 gogui-adapter - Go Text Protocol adapter for logging or protocol
7 translations.
8
10 gogui-adapter [-config file] [-fillpasses] [-gtpfile file] [-log file]
11 [-lowercase] [-name name] [-noscore] [-size n] [-verbose]
12 [-version1] program
13
14 gogui-adapter -help
15
16 gogui-adapter -version
17
19 Go Text Protocol adapter for logging or protocol translations. The
20 argument program is a command line for the Go program .
21
22 The adapter keeps its own board state and handles all commands that
23 change the board state by translating them into appropriate commands
24 for the actual Go engine. This can be used to do GTP protocol
25 translations between version 1 and version 2 controllers and engines,
26 or for emulating commands that the engine does not support. For
27 instance, if the engine does not support undo, the adapter will send a
28 clear board command followed by a sequence of moves up to the previous
29 position. The command loadsgf is always handled by the adapter and
30 translated into a sequence of play commands (or gogui-setup, if
31 supported by the program). The command is also registered as loadxml
32 and is able to handle file arguments that are in Jago's XML format.
33
35 -config file
36 Read command line options and arguments from the given file.
37
38 -fillpasses
39 Fill non-alternating moves with pass moves (for programs that can
40 only handle move sequences with alternating color).
41
42 -gtpfile file
43 Send GTP commands from file to program at startup. The file may not
44 contain commands that change the board state.
45
46 -help
47 Display help and exit.
48
49 -log file
50 Log the GTP stream to a file (the stream of the adapter program,
51 not the one from the adapter to the Go program).
52
53 -lowercase
54 Translate move commands to lower-case. The GTP standards requires
55 case-insensitive parsing of moves, but some programs can handle
56 only lower-case.
57
58 -name name
59 Name used for answering the name command. If the name contains a
60 colon, the part after the colon is interpreted as a version and
61 used for answering the version command.
62
63 -noscore
64 Hide the final_score and final_status_list commands, even if the
65 program supports them.
66
67 -size n
68 Board size at startup. Default is 19.
69
70 -verbose
71 Print the GTP stream from the adapter to the Go program to standard
72 error.
73
74 -version
75 Print version and exit.
76
77 -version1
78 Sets, whether gogui-adapter reports protocol version 1 in response
79 to the protocol_version command and implements version 1 commands.
80
82 gogui-adapter-showboard
83 Show the internal Go board. This is different from the showboard
84 command, which is forwarded to the Go program, if it supports it.
85
86GoGui 1.4.9 02/10/2017 GOGUI-ADAPTER(1)