This is the Japanese version forked from LeelaGUI.
The KataGo engine has been incorporated into LeelaGUI.
Engine used by creating a file named LeelaI18N_OpenCL.ini (for LeelaGUI with GPU) or LeelaI18N.ini (for LeelaGUI without GPU) in the folder where LeelaGUI's executable file is located and defining it as follows. can be selected.
- Do not put the above .ini file.
- Works with the traditional Leela engine.
- If you want to operate with the KataGo engine by sending and receiving GTP commands, define as follows.
katago.exe gtp -config default_gtp.cfg -model kata1-b40c256-s11840935168-d2898845681.bin.gz -override-config "logAllGTPCommunication=true"
time_settings 0 5 1 # GTP commands to send to KataGo right after KataGo starts
- Write the KataGo execution command on the first line. There should be no line breaks in between.
- From the second line onwards, if there are GTP commands to be sent to KataGo immediately after KataGo starts, write one GTP command on each line.
- The GTP commands that can be defined are only the following 8 commands.
- kata-set-rules xxx
- kata-set-rule xxx
- kgs-rules xxx
- kata-set-param xxx
- time_settings xxx
- kgs-time_settings xxx
- kata-time_settings xxx
- time_left xxx
- Define as follows when operating with KataGo engine by sending and receiving queries.
katago.exe analysis -config analysis_example.cfg -model kata1-b40c256-s11840935168-d2898845681.bin.gz -override-config "logAllRequests=true,logAllResponses=true"
{
"maxVisits":500,
"rules":"Chinese",
"whiteHandicapBonus":"N",
"overrideSettings":
{"maxTime":5,
"wideRootNoise":0.04}
}
Note: The default query sent to KataGo each time is:
{
"id":"xxx_yyy", <- Assign a string that can uniquely distinguish the outgoing query
"komi":7.5, <- Value specified at game time
"boardXSize":19, <- Value specified at game time
"boardYSize":19, <- Value specified at game time
"initialStones":[["B","Q16"],["B","D4"]], <- When a handicap stone is specified in the game
"initialPlayer":"W", <- Only for the first move
"moves":[["W","Q4"],["B","D16"],["W","F17"]], <- Moves made before the examination phase
"reportDuringSearchEvery":1.0, <- Interval to receive analysis results from KataGo(sec)
"maxVisits":100000, <- Use fixed values for analysis(For games, the values defined above or the values defined in KataGo's configuration file)
"overrideSettings":
{"maxTime":3600} <- Use fixed values for analysis(For games, the values defined above or the values defined in KataGo's configuration file)
}
- Write the KataGo execution command on the first line. There should be no line breaks in between.
- From the second line onwards, if there are any settings you want to add to the default query sent to KataGo each time, define them in JSON format.
- Default query definition values can only be added and cannot be changed, but maxVisits and maxTime used for games can be changed.
- These definitions are basically unnecessary if defined in the KataGo configuration file (analysis_example.cfg).
- Description of comments
- You can comment it out by prefixing it with #. Also, # in the middle of the line invalidates the string after that.
- Restrictions
- In LeelaGUI using GTP command, it doesn't work even if you consider it in the analysis menu.
- There is a dialog for adjusting the time limit, but even if you set it, only the existing Leela engine will be reflected. For KataGo engine, specify it in the configuration file.
- Setting the ponder in the settings dialog does not work for LeelaGUI with KataGo engine.
(For reference: The <- key on the keyboard moves the hand back and the -> key moves the hand forward.)
This is the original source of the Go/Baduk program 'Leela'.
The engine itself is in the Leela repo. This one contains the graphical user interface.
The engine needs boost and OpenCL libraries and development headers (and/or OpenBLAS) to compile. The GUI was built in wxWidgets, using wxFormBuilder for layouts. The installer requires NSIS.
The included Makefile likely needs some modification to work on random Linux systems. Likewise the Visual Studio projects will need their include and lib directories modified.
The GUI assumes the engine source has been unpacked alongside it, in an "engine" subdir on Linux, or in a dir set in Visual Studio configuration on Visual Studio. The engine's repository is here on Github as well.
I do not accept contributions to or bug reports about this code. Maintaining an open source effort is a lot of work, and I do not have the time and energy to maintain the project at this point in time. If you wish to improve it, feel free to fork the repostiory and make your fork the best one there is. But do me ONE favor, and do keep Leela's name in your fork..
The code is licensed under the MIT license.