GoGui new version 1.5.1

For discussing go computing, software announcements, etc.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post by And »

Oh, I didn't know, thank you!!! :D
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post 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?
Rémi
Lives with ko
Posts: 170
Joined: Sat Jan 14, 2012 4:11 pm
Rank: KGS 4 kyu
GD Posts: 0
Has thanked: 32 times
Been thanked: 119 times
Contact:

Re: GoGui new version 1.5.1

Post 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.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post 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?
Rémi
Lives with ko
Posts: 170
Joined: Sat Jan 14, 2012 4:11 pm
Rank: KGS 4 kyu
GD Posts: 0
Has thanked: 32 times
Been thanked: 119 times
Contact:

Re: GoGui new version 1.5.1

Post 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).
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post 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"
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post by And »

is it possible in the new version to start match with the display? as in help. how to do it?
Rémi
Lives with ko
Posts: 170
Joined: Sat Jan 14, 2012 4:11 pm
Rank: KGS 4 kyu
GD Posts: 0
Has thanked: 32 times
Been thanked: 119 times
Contact:

Re: GoGui new version 1.5.1

Post 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
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post 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)
Rémi
Lives with ko
Posts: 170
Joined: Sat Jan 14, 2012 4:11 pm
Rank: KGS 4 kyu
GD Posts: 0
Has thanked: 32 times
Been thanked: 119 times
Contact:

Re: GoGui new version 1.5.1

Post 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.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post by And »

it seemed to me that the explanation was simple. but so simple!!! :lol:
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post 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
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post by And »

And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post by And »

gogui-v1.5.4a
Add support for gogui_rules_board_gfx https://github.com/Remi-Coulom/gogui/re ... ag/v1.5.4a
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: GoGui new version 1.5.1

Post by And »

gogui-v1.6.0
https://github.com/Remi-Coulom/gogui/releases
Support hexagonal tiling + store preferences in a file
Post Reply