Skip to content

Commit

Permalink
bump version to 0.8.0-pre5
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorahi committed Jul 26, 2024
1 parent ee851b8 commit 62a1922
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 78 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RELEASE = 240721a
RELEASE = 240726a

VERSION = $(shell grep '"version"' package.json | cut -d '"' -f 4)
EXE = dist/LizGoban\ $(VERSION).exe
Expand Down
5 changes: 0 additions & 5 deletions NOTE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Handicap stones are treated as usual moves internally and the move
number is shifted only on the display. We dare to do this from the
experience of repeated bugs on handicap games in Lizzie.

Endstate estimation (by ihavnoid's version) tends to oscillate between
black and white turns. So we use the average of recent two moves for
score estimation and an even number for the width of endstate diff.
These are not applied to Katago as its estimation seems more stable.

src/package.json exists only for backward compatibility to enable "npx
electron src".

Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You will enjoy LizGoban if you are interested in the process as well as the resu
* Subboard that always shows the principal variation
* Blunder marks on stones and quick review of them by mouse click like [KaTrain](https://github.com/sanderland/katrain/)
* Auto-replay / Auto-analysis
* Play against human-style KataGo with adjustable rank (20kyu-9dan)
* Quick switching of multiple engines
* Open URL (by drag & drop or clipboard)
* Save/load analyses to/from SGF in Lizzie-compatible format
Expand Down Expand Up @@ -71,6 +72,7 @@ You will enjoy LizGoban if you are interested in the process as well as the resu

* Visualization of search progress via plots of visits, winrate, score, prior, ... for each suggested move
* Real-time display of area counts by KataGo
* Comparison of 1-dan and 5-kyu styles by KataGo (a variation of [dfannius](https://github.com/dfannius)'s "policy heatmap")
* Analysis of gains and losses in recent moves on the board that reveals overlooked side effects
* Larger fonts for inevitable moves in the suggested variation
* Highlighting of unexpected good moves that are overlooked by engines
Expand Down Expand Up @@ -315,25 +317,30 @@ For information about the displayed marks, shortcut keys, and other features, re

### 0.8.*

* Add "human-style" features for KataGo [1.15.0](https://github.com/lightvector/KataGo/releases/tag/v1.15.0).
* Compare the policies between 5kyu and 1dan, for example. (a variation of [dfannius](https://github.com/dfannius)'s "policy heatmap")
* Play human-like moves for the specified rank.
* Blur ownership display. (Borrow the idea from [katrain#555](https://github.com/sanderland/katrain/issues/555).)
* Replace zone indicator with playing styles indicator.
* Add ownership distribution chart at the bottom left. (Press "x" key to enlarge it.)
* Add thin red background for "hot" periods in winrate graph.
* Add "ambiguity of areas" (faint gray line) and "settled territories" (faint green/pink dots) to score graph.
* Warn overlooked high-policy best moves by squares on stones.
* Highlight settled areas by "v" key.
* Make long press of cursor keys smoother.
* Add sound feature. (You need to [prepare and set sound files](#sound) by yourself.)
* Change playing style of persona strategy. This is still being tested and might change in the future.
* Avoid unnatural tenuki in match vs. weakened AI.
* Add "Open recent" to File menu.
* Add random pair match.
* Detect encoding of SGF files etc.
* [Support TamaGo](#TamaGo).
* Deprecate the display of preferred moves by "AIs for handicap games".
* Deprecate homemade "aggressiveness" features and rely on the native KataGo features.

Incompatibilities:

* Upgrade libraries (Electron 28, etc.). So you may need to do "npm install" again.
* Upgrade libraries (Electron, etc.). So you may need to do "npm install" again.

### 0.7.*

Expand Down
2 changes: 1 addition & 1 deletion build_with/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ KATA_URL_BASE = https://github.com/lightvector/KataGo/releases/download
KATA_URL2 = $(KATA_URL_BASE)/v1.15.1/katago-v1.15.1-eigenavx2-windows-x64.zip
KATA_URL3 = $(KATA_URL_BASE)/v1.15.1/katago-v1.15.1-opencl-windows-x64.zip
KATA_MODEL_URL = https://media.katagotraining.org/uploaded/networks/models/kata1/kata1-b18c384nbt-s9996604416-d4316597426.bin.gz
KATA_HUMANMODEL_URL = https://github.com/lightvector/KataGo/releases/download/v1.15.0/b18c384nbt-humanv0.bin.gz
KATA_HUMANMODEL_URL = $(KATA_URL_BASE)/v1.15.0/b18c384nbt-humanv0.bin.gz
KATA_MODEL_D_URL = https://katagotraining.org/network_license/

katago: $(KATA_DIR) $(KATA_MODEL_FILE)
Expand Down
92 changes: 23 additions & 69 deletions build_with/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,90 +2,44 @@

# Release notes

## LizGoban 0.8.0-pre4

* Upgrade KataGo to [1.14.0](https://github.com/lightvector/KataGo/releases/tag/v1.14.0).
* Add sound feature. (You need to prepare and set sound files by yourself.)
* Replace SOPPO indicator with playing styles indicator.
* Add playing styles indicator to ownership distribution chart.
* Change playing style of persona strategy. This is still being tested and might change in the future.
* Avoid unnatural tenuki in match vs. weakened AI.
* Add "Open recent" to File menu.
* Detect encoding of SGF files etc.
* Support [TamaGo](https://github.com/kobanium/TamaGo). (You need [a patch](https://github.com/kobanium/TamaGo/pull/80) currently on 2023-12-28.)

Minor changes:

* Add "board_size" and "wait_for_startup" to preset in config.json.
* Make `Ctrl-,` key toggle preferences window.
* Enable app.quit() in REPL for external control.
* Add "default preset" to "Engine is down" dialog for SSH disconnection.
* Use entropy as the ambiguity measure.
* Fix bugs.
## LizGoban 0.8.0-pre5

* Upgrade KataGo to [1.15.1](https://github.com/lightvector/KataGo/releases/tag/v1.15.1).
* Separate the model files from *.exe for larger models including a model for human-like style.
* Add "human-style" features.
* Compare the policies between 5kyu and 1dan, for example.
* Play human-like moves for the specified rank.
* Warn overlooked high-policy best moves by squares on stones.
* Avoid too stupid moves in persona strategy.
* Add random pair match.
* Deleted boards are also listed in "Open recent" menu.
* Deprecate the display of preferred moves by "AIs for handicap games".
* Deprecate homemade "aggressiveness" features and rely on the native KataGo features.

Incompatibilities:

* Upgrade libraries (Electron 28, etc.). So you may need to do "npm install" again if you use LizGoban from the command line.
* Change the autosave format.
* Upgrade libraries (Electron 31, etc.). So you may need to do "npm install" again if you use LizGoban from the command line.

Acknowledgement:
### Human-style features

* Thanks to [qcgm1978](https://github.com/qcgm1978) for the contributions and suggestions.
Choose "Human-like Analysis" or "Human-like Play" from "Preset" menu and refer to "KataGo" section in "Help" menu for details.

## LizGoban 0.8.0-pre3

* Fix bugs. (wrong ruleset, reset of visit count)

## LizGoban 0.8.0-pre2

* Upgrade KataGo to [1.13.0](https://github.com/lightvector/KataGo/releases/tag/v1.13.0).
* Provide simpler methods to replace the built-in engine / network. Details are available in the notes below.
* Add leadings chart.
* Delete move numbers from tsumego frame to prevent potential confusion for KataGo.

Incompatibilities:

* Upgrade libraries (Electron 25, etc.). So you may need to do "npm install" again if you use LizGoban from the command line.

## LizGoban 0.8.0-pre1

* Blur ownership display. (Borrow the idea from [katrain#555](https://github.com/sanderland/katrain/issues/555).)
* Replace zone indicator with SOPPO indicator for successive misses of the best move.
* Add ownership distribution chart at the bottom left. (Press "x" key to enlarge it.)
* Add thin red background for "hot" periods in winrate graph.
* Add "ambiguity of areas" (faint gray line) and "settled territories" (faint green/pink dots) to score graph.
* Highlight settled areas by "v" key.
* Make long press of cursor keys smoother.
* Fix minor bugs.
Thanks to [dfannius](https://github.com/dfannius); this analysis feature is a variation of his "policy heatmap".

### To use it on 64bit Windows immediately

Just download the all-in-one package (`LizGoban-*_win_*.zip`), unzip it, and double-click `LizGoban *.exe`. You do not need installation, configuration, additional downloads, and so on. Its file size is due to the built-in engine:

* [KataGo 1.13.0](https://github.com/lightvector/KataGo/releases/tag/v1.13.0) (eigen, eigenavx2, opencl) + [15 block network](https://katagotraining.org/networks/) (g170e-b15c192-s1672 from [KataGo 1.4.5](https://github.com/lightvector/KataGo/releases/tag/v1.4.5))
* [KataGo 1.15.1](https://github.com/lightvector/KataGo/releases/tag/v1.15.1) (eigenavx2, opencl) + [18 block network](https://katagotraining.org/networks/) (kata1-b18c384nbt-s9996) + [human-trained network](https://github.com/lightvector/KataGo/releases/tag/v1.15.0) (b18c384nbt-humanv0.bin.gz)

You can switch KataGo versions (CPU, modern CPU, GPU) by [Preset] menu in LizGoban. The first run of the GPU version may take a long time (1 hour on a low-spec machine, for example) for its initial tuning.
You can switch KataGo versions (CPU and GPU) by [Preset] menu in LizGoban. The first run of the GPU version may take a long time (1 hour on a low-spec machine, for example) for its initial tuning. You can also choose "Human-like Analysis" or "Human-like Play" from [Preset] menu. Refer to "KataGo" section in [Help] menu for details.

### To customize it on 64bit Windows

If you want to use another network (aka. model, weights), you can simply click the Engine menu and select "Load network weights". In addition, if you want to replace the built-in network...

1. Download and unzip the same all-in-one package as above.
2. Copy `sample/custom_model/config.json` to the same folder as `LizGoban *.exe`.
3. [Download your favorite network](https://katagotraining.org/networks/), rename it to `katanetwork.gz`, and place it in the same folder.

If you want to replace built-in katago...

1. Download and unzip the same all-in-one package as above.
2. Copy `sample/custom_katago/config.json` to the same folder as `LizGoban *.exe`.
3. Place your favorite katago and its network in the same folder. They must be renamed to `katago.exe` and `katanetwork.gz`, respectively.

If you just want to modify the configurations of built-in katago...

1. Download and unzip the same all-in-one package as above.
2. Copy `sample/built_in/config.json` to the same folder as `LizGoban *.exe`.
3. Edit it as you like. See README for its format.
If you want to use another network (aka. model, weights), you can simply click the Engine menu and select "Load network weights". Additionally, you can modify the `config.json` file for more flexible configuration. See README for details.

### To use it on other platforms (Mac, Linux, ...) or Windows with more flexible configuration
### To use it on other platforms (Mac, Linux, ...)

Download the source code and see `README.md`.

Expand All @@ -94,7 +48,7 @@ Download the source code and see `README.md`.
[Project Home](https://github.com/kaorahi/lizgoban) /
[License (GPL3)](https://github.com/kaorahi/lizgoban/blob/master/LICENSE.txt)

Note that some external resources are also packaged into *.exe together with LizGoban itself. The license of LizGoban is not applied to them, of course.
Note that some external resources are also packaged into *.zip together with LizGoban itself. The license of LizGoban is not applied to them, of course.

* engines and neural networks: [KataGo](https://github.com/lightvector/KataGo/)
* facial stone images: [Goisisan](https://www.asahi-net.or.jp/~hk6t-itu/igo/goisisan.html)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LizGoban",
"version": "0.8.0-pre4",
"version": "0.8.0-pre5",
"description": "An analysis tool of the game Go with Leela Zero and KataGo",
"author": "kaorahi <[email protected]>",
"license": "GPL-3.0",
Expand Down

0 comments on commit 62a1922

Please sign in to comment.