GoGui
Graphical interface to programs that play the game of Go and use the Go Text Protocol (GTP), such as GNU Go.

GoGui has many special features for Go program developers. It supports direct communication with the Go engine over a command shell. The Go engine can be replaced while keeping the current board position. Commands can be configured to display their response graphically on the board.

System requirements
  • Minimum JRE: 1.6.0 Build 22 GA


GoGui on an eComStation machine with Open JDK


Installing GoGui
Download gogui-1.4.9.zip. Create a folder (directory) "gogui". Open the zip file and go in the directory "gogui-1.4.9", copy the files to the directory "gogui". That's it!

The gogui.cmd file
With this file the program GoGui starts. I have made a gogui.cmd file with the following contents;
@echo off
set path=[drive: java]\JAVA160\bin
set BEGINLIBPATH=[drive: java]\JAVA160\bin
set CLASSPATH=[drive: gogui]\gogui\lib
[drive: gogui]
cd [drive: gogui]\gogui
java -Duser.home=[drive: gogui]\gogui -jar .\lib\gogui.jar 2>goguibugs.txt
I use 2 separate folders (directories), one for Java and one for GoGui with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: gogui] = drive with GoGui

should be replaced with real drive letters. Edit and save the file "gogui.cmd" from the distribution. This file is copied to the "gogui" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: gogui]\gogui\gogui.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "GoGui". You find enclosed in the file a GoGui OS/2 icon.

Parameters / options explained
  • The statement "-Duser.home=[drive: gogui]\gogui" will ensure that GoGui will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>goguibugs.txt" ensures that errors are saved in the file "goguibugs.txt". The 2 in "2>" is not a typo!

Download
In the file you can find the above command file (all driveletters are set to C:) and an OS/2 GoGui icon: gogui-ecs.zip.

revision April 2, 2023