usi-csa-bridge 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -7
- package/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# usi-csa-bridge
|
|
2
2
|
|
|
3
|
-
[ShogiHome](https://github.com/sunfish-shogi/
|
|
3
|
+
[ShogiHome](https://github.com/sunfish-shogi/shogihome#readme) の機能のうち、 CSA 対局サーバーへ接続して USI のエンジンを対局に参加させる部分をコマンドラインから実行するツールです。
|
|
4
4
|
|
|
5
5
|
## セットアップ方法
|
|
6
6
|
|
|
@@ -20,11 +20,11 @@ npm install -g usi-csa-bridge
|
|
|
20
20
|
|
|
21
21
|
```
|
|
22
22
|
# Clone
|
|
23
|
-
git clone git@github.com:sunfish-shogi/
|
|
23
|
+
git clone git@github.com:sunfish-shogi/shogihome.git --branch <インストールするバージョンのタグを指定> --depth 1
|
|
24
24
|
# Git の履歴が必要な場合は --depth 1 を除外してください。
|
|
25
25
|
|
|
26
26
|
# clone したディレクトリに移動
|
|
27
|
-
cd
|
|
27
|
+
cd shogihome
|
|
28
28
|
|
|
29
29
|
# 依存モジュールのインストール
|
|
30
30
|
npm install
|
|
@@ -42,9 +42,7 @@ npx usi-csa-bridge --help
|
|
|
42
42
|
|
|
43
43
|
## 設定ファイルの作成
|
|
44
44
|
|
|
45
|
-
### ShogiHomeからエクスポートする場合
|
|
46
|
-
|
|
47
|
-
【注意】この機能を利用するには v1.14.0 (2024年5月リリース予定) 以上のバージョンをインストールするか main ブランチのソースコードからビルドする必要があります。
|
|
45
|
+
### ShogiHomeからエクスポートする場合
|
|
48
46
|
|
|
49
47
|
CSA プロトコル通信対局のダイアログを開いて設定を入力し、以下のいずれかのボタンで設定をコピーします。
|
|
50
48
|
|
|
@@ -125,7 +123,7 @@ saveRecordFile: true
|
|
|
125
123
|
# 思考結果を指し手コメントで残すかどうか
|
|
126
124
|
enableComment: true
|
|
127
125
|
# 棋譜ファイル名のテンプレート
|
|
128
|
-
# https://github.com/sunfish-shogi/
|
|
126
|
+
# https://github.com/sunfish-shogi/shogihome/wiki/棋譜ファイル名テンプレート
|
|
129
127
|
recordFileNameTemplate: "{datetime}{_title}{_sente}{_gote}"
|
|
130
128
|
# 棋譜ファイルの拡張子 (.kif|.kifu|.ki2|.ki2u|.csa|.jkf)
|
|
131
129
|
recordFileFormat: .kifu
|