Page 3 of 3

Re: GoGui new version 1.5.1

Posted: Tue Mar 14, 2023 8:12 am
by And
Oh, I didn't know, thank you!!! :D

Re: GoGui new version 1.5.1

Posted: Tue Mar 14, 2023 11:34 pm
by And
I want to run a game of two different engines in gogui.jar. I connect, both work, but when you start the game, one of them starts playing with itself! what am I doing wrong?

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 1:49 am
by Rémi
And wrote:I want to run a game of two different engines in gogui.jar. I connect, both work, but when you start the game, one of them starts playing with itself! what am I doing wrong?
Please explain more. How do you connect two different engines to gogui? with gogui-twogtp? If you give step-by-step instructions to replicate the problem, then I will look into it.

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 2:24 am
by And
I want to run two different engines, watch the game, sometimes stop.

1 start gogui
2 connect the first engine (program-attach-engine1)
3 connect the second engine (program-attach-engine2)
4 game-computer color-both

perhaps it is impossible to connect 2 engines in this way. is there any other way?

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 2:29 am
by Rémi
And wrote:I want to run two different engines, watch the game, sometimes stop.

1 start gogui
2 connect the first engine (program-attach-engine1)
3 connect the second engine (program-attach-engine2)
4 game-computer color-both
gogui can attach only one program at a time. You can run a match between two engines in gogui, but you must attach them via gogui-twogtp (without the -auto option).

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 3:48 am
by And
I could not connect according to the instructions in the help (gogui-twogtp->play games with graphical display). it turned out like this:

1 I launch gogui
2 new program: "java -jar gogui-twogtp.jar -black "e:\engine1\katago.exe gtp" -white "e:\engine2\katago.exe gtp""
3 game-computer color-both

Now I'm watching the game, I press "game-computer color-none" to pause
for the board 37: "java -jar gogui-twogtp.jar -black "e:\engine1\katago.exe gtp" -white "e:\engine2\katago.exe gtp" -size 37"

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 4:41 am
by And
is it possible in the new version to start match with the display? as in help. how to do it?

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 6:44 am
by Rémi
And wrote:is it possible in the new version to start match with the display? as in help. how to do it?
The command line to start a match with the display is given at the very bottom of that page:
https://www.kayufu.com/gogui/reference-twogtp.html
I have just tried it and it is working for me

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 3:42 pm
by And
as0770 wrote: ...
TWOGTP="gogui-twogtp -black \"$BLACK\" -white \"$WHITE\" -games 2 -size 19 -time 60 -sgffile xxxx"
gogui -size 19 -program "$TWOGTP" -computer-both -auto
viewtopic.php?p=206385#p206385

after the launch: "TWOGTP" is not recognized as an internal or external command, operable program or batch file
what's the matter? Tell me please
also with "BLACK" & "WHITE" :)
(https://www.kayufu.com/gogui/reference-twogtp.html)

Re: GoGui new version 1.5.1

Posted: Wed Mar 15, 2023 7:22 pm
by Rémi
And wrote:
as0770 wrote: ...
TWOGTP="gogui-twogtp -black \"$BLACK\" -white \"$WHITE\" -games 2 -size 19 -time 60 -sgffile xxxx"
gogui -size 19 -program "$TWOGTP" -computer-both -auto
viewtopic.php?p=206385#p206385

after the launch: "TWOGTP" is not recognized as an internal or external command, operable program or batch file
what's the matter? Tell me please
also with "BLACK" & "WHITE" :)
(https://www.kayufu.com/gogui/reference-twogtp.html)
That's because you are using Windows. The documentation is for bash. You will have to adapt it.

Re: GoGui new version 1.5.1

Posted: Thu Mar 16, 2023 3:12 am
by And
it seemed to me that the explanation was simple. but so simple!!! :lol:

Re: GoGui new version 1.5.1

Posted: Thu Mar 16, 2023 3:19 am
by And
I found a solution - 2 bat files:
1 "gogui"

Code: Select all

java -jar gogui.jar -program twogtp.bat -computer-both -auto
2 "twogtp"

Code: Select all

java -jar gogui-twogtp.jar -black "e:\katago1\katago.exe gtp" -white "e:\katago2\katago.exe gtp" -games 100 -sgffile game
for the board 37: 1 "gogui"

Code: Select all

java -jar gogui.jar -size 37 -program twogtp.bat -computer-both -auto
2 "twogtp"

Code: Select all

java -jar gogui-twogtp.jar -black "e:\katago1\katago.exe gtp" -white "e:\katago2\katago.exe gtp" -size 37 -games 100 -sgffile game

Re: GoGui new version 1.5.1

Posted: Tue Nov 14, 2023 8:35 am
by And

Re: GoGui new version 1.5.1

Posted: Wed Nov 15, 2023 4:48 am
by And
gogui-v1.5.4a
Add support for gogui_rules_board_gfx https://github.com/Remi-Coulom/gogui/re ... ag/v1.5.4a

Re: GoGui new version 1.5.1

Posted: Fri Mar 21, 2025 2:13 am
by And
gogui-v1.6.0
https://github.com/Remi-Coulom/gogui/releases
Support hexagonal tiling + store preferences in a file