lemonsqueeze / gogui

A fork of GoGui.
http://sourceforge.net/projects/gogui
Other
3 stars 1 forks source link

Is there a Windows 10 installer ? #1

Open Vargooo opened 6 years ago

Vargooo commented 6 years ago

Hi, I use gogui 1.4.9. I installed it using the file "gogui-1.4.9-install.exe" I didn't find such a file for gogui 1.4.10.
It's a pity... I'd love to run twogtp handicap matches ! Thanks for your work.

lemonsqueeze commented 6 years ago

Hi, yes, need to figure out how to generate the windows installer at some point. In the meantime you can create a shortcut (or .bat file) that does: java.exe -jar lib\gogui-twogtp.jar It needs to run in the directory where gogui was extracted.

Vargooo commented 6 years ago

Thanks for your answer ! I tried it, but it doesn't (yet) work. My "LAUNCH.bat" file is in the directory where gogui was extracted, and contains your text ,see this screenshot I tried running LAUNCH.bat by double-clicking and as administrator...

lemonsqueeze commented 6 years ago

In this case try manually from cmd.exe, that should tell us what's going on:

start -> run -> cmd.exe
cd \path\to\your\gogui
java.exe -jar lib\gogui-twogtp.jar

This way you get to see the error message.

Vargooo commented 6 years ago

No black program set (???!) Here is a screenshot with the cmd error message, my gogui folder, and the lib sub-folder.

Again, thank you for your time and your work. I'm very much looking forward to running handicap matches with twogtp.

lemonsqueeze commented 6 years ago

Good, it's working then. twogtp is a cmdline program, you need to pass it options to tell it what program is playing black, white, boardsize, komi, handicap etc. Try with -help or see the doc here.

Vargooo commented 6 years ago

Yes ! It's OK, you've been most helpful. In case there were other people as dense as me, to run a 100 games twogtp match, you need to have a .bat file like this :

java.exe -jar lib\gogui-twogtp.jar -black "..." -white "..." -games 100 -sgffile ... -auto

Everything works, including handicaps, I'll try some matches with LZ variable komi, thanks again !