Hi Justin,
You must understand the principles gogui is built on :
- 1. for each gogui-analyse-command you must provide a gtp command
This is the 3rd parameter you provide in each response line of
gogui-analyze-command
- 2. Each of these commands must provides their answer in the format
defined by the first parameter in the response line gogui-analyze-command
- 3. You can test the format of your gtp commands response outside the
framework of the the gogui-analyze-command and this will be much easier ...
Hope that this will help you...
If you need to, you can ask for more details in private (db3...@free.fr)
Best,
Denis
On 09/01/2016 22:44, Justin .Gilmer wrote:
Ok I've got a few basic commands like genmove working, however I'm
having trouble guessing the response format gogui is expecting for an
analyze command I defined. I'm trying to display board influence by
defining my own "dboard" command. My analyze config file has the
following line:
dboard/Influence/influence
This shows up successfully on the gogui analyze menu, however gogui is
complaining about the response my program is sending it. Here is a
sample from the shell:
influence
= A1 0.3 A2 -0.5 A3 0.0 A4 0.3 A5 0.1 A6 0.5 A7 0.3 A8 -0.3 A9 -1.0
A10 -0.6 A11 -0.8 A12 -0.7 A13 0.2 A14 0.5 A15 -0.2 A16 -0.2 A17 -0.3
A18 -0.2 A19 0.9 B1 -0.8 B2 -0.9 B3 -0.1 B4 0.0 B5 0.8 B6 0.6 B7 0.6
B8 0.6 B9 -0.7 B10 -0.6 B11 -0.4 B12 0.2 B13 0.4 B14 -0.0 B15 0.1 B16
0.4 B17 0.0 B18 0.8 B19 -0.2 C1 -0.7 C2 0.8 C3 -0.8 C4 -0.5 C5 -0.9 C6
-0.6 C7 0.4 C8 -0.5 C9 0.8 C10 0.6 C11 0.0 C12 -0.5 C13 0.6 C14 -0.9
C15 0.3 C16 0.1 C17 -0.0 C18 0.6 C19 -0.6 D1 0.4 D2 0.7 D3 0.7 D4 -0.4
D5 -0.2 D6 0.6 D7 -0.3 D8 0.1 D9 -0.1 D10 -0.4 D11 0.7 D12 0.9 D13 0.1
D14 0.7 D15 -0.5 D16 -0.4 D17 0.3 D18 -0.9 D19 0.5 E1 -0.2 E2 -0.8 E3
-0.7 E4 0.2 E5 0.5 E6 0.2 E7 -0.0 E8 0.8 E9 -0.7 E10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T16 0.7 T17 -0.4 T18 0.1 T19 0.9
looking at the michi-c code it seems like they are using the same
format? What am I missing?
Also thanks so much for the help!
_______________________________________________
Computer-go mailing list
Computer-go@computer-go.org
http://computer-go.org/mailman/listinfo/computer-go
_______________________________________________
Computer-go mailing list
Computer-go@computer-go.org
http://computer-go.org/mailman/listinfo/computer-go