GoGui new version 1.5.1
-
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
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
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 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?
-
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
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?
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
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 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
-
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
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"
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"
-
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
The command line to start a match with the display is given at the very bottom of that page:And wrote:is it possible in the new version to start match with the display? as in help. how to do it?
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
viewtopic.php?p=206385#p206385as0770 wrote: ...
TWOGTP="gogui-twogtp -black \"$BLACK\" -white \"$WHITE\" -games 2 -size 19 -time 60 -sgffile xxxx"
gogui -size 19 -program "$TWOGTP" -computer-both -auto
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
That's because you are using Windows. The documentation is for bash. You will have to adapt it.And wrote:viewtopic.php?p=206385#p206385as0770 wrote: ...
TWOGTP="gogui-twogtp -black \"$BLACK\" -white \"$WHITE\" -games 2 -size 19 -time 60 -sgffile xxxx"
gogui -size 19 -program "$TWOGTP" -computer-both -auto
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)
-
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
I found a solution - 2 bat files:
1 "gogui"
2 "twogtp"
for the board 37: 1 "gogui"
2 "twogtp"
1 "gogui"
Code: Select all
java -jar gogui.jar -program twogtp.bat -computer-both -autoCode: Select all
java -jar gogui-twogtp.jar -black "e:\katago1\katago.exe gtp" -white "e:\katago2\katago.exe gtp" -games 100 -sgffile gameCode: Select all
java -jar gogui.jar -size 37 -program twogtp.bat -computer-both -autoCode: 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
Usage of gogui-twogtp on Windows
https://watchingnumbersgoup.wordpress.c ... n-windows/
https://watchingnumbersgoup.wordpress.c ... n-windows/
-
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
gogui-v1.5.4a
Add support for gogui_rules_board_gfx https://github.com/Remi-Coulom/gogui/re ... ag/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
gogui-v1.6.0
https://github.com/Remi-Coulom/gogui/releases
Support hexagonal tiling + store preferences in a file
https://github.com/Remi-Coulom/gogui/releases
Support hexagonal tiling + store preferences in a file