forked from wjx0912/gtp4zen
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix set_free_handicap, load "zen6.dll" and "zen7.dll" by default
- Loading branch information
Showing
5 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
1.把zen7的zen.dll拷贝到gtp4zen.exe所在的文件夹,运行即可,只需要gtp4zen.exe和zen.dll这2个文件 | ||
1.把zen6或zen7的zen.dll拷贝到gtp4zen.exe所在的文件夹,并重命名为zen6.dll或zen7.dll,运行即可,只需要gtp4zen.exe和zen.dll这2个文件 | ||
请参考gtp指令手册(http://www.lysator.liu.se/~gunnar/gtp/)或者使用sabaki等图形界面工具 | ||
|
||
|
||
|
@@ -9,29 +9,31 @@ | |
3.gtp4zen.exe --help输出帮助,-t是线程数(默认和cpu核数量相同),-T最大思考时间, | ||
-s最大计算步数,-l指定log文件,-d会输出信息到gtpshell,如下: | ||
C:\Users\clock\Desktop>gtp4zen.exe --help | ||
gtp4zen by yongjian(QQ group:14501533, mail:[email protected]) | ||
www.weiqiba.com(v0.3.3, compile: 2017-11-27 19:10:33) | ||
Usage: gtp4zen -z 7 -t 4 -T 10 -s 10000 -l mylog.txt -L -d -i 1000 | ||
Options: | ||
-h [ --help ] Show all allowed options. | ||
-z [ --zenverion ] arg Version of zen.dll, must be 6 or 7. (default 7) | ||
-z [ --zenverion ] arg Version of dll, must be 6 or 7. (default 7) | ||
-t [ --threads ] arg Set the number of threads to use. (default | ||
CPU_CORES) | ||
-T [ --maxtime ] arg Set the max time for one move. (default 10 seconds) | ||
-s [ --strength ] arg Set the playing strength. (default 10000) | ||
-s [ --strength ] arg Set the max playout. (default 10000) | ||
-i [ --ithink ] arg thinking interval, only set 100 when play cgos. | ||
(default 1000ms) | ||
(default 100) | ||
-n [ --ilevel0 ] arg factor0. (default 1) | ||
-o [ --ilevel1 ] arg factor1. (default 1) | ||
-p [ --ilevel2 ] arg factor2. (default 1) | ||
-r [ --resign ] arg resign. (default 10) | ||
-l [ --logfile ] arg Enable logging and set the log file. (default none) | ||
-L [ --logfilenametime ] Add timestamp after log filename. (default off) | ||
-d [ --debug ] Enable debug output to gtp shell. (default off) | ||
|
||
其中 n,o,p 三个参数由你使用zen6还是zen7决定其含义,具体可参考Github项目GoAIRatings | ||
以上3个参数如不指定,棋力将达不到预想值。 | ||
如果你单纯需要最强的棋力,如果是zen6,设置-n1 -o1 -p1(即默认值),如果是zen7,设置-n3 -o1 -p0.75 | ||
参数 r 设置胜率低于多少时认输 | ||
|
||
4.如果使用zen6的zen.dll,需要设置参数 gtp4zen.exe -z 6 | ||
cgos遛狗建议参数:gtp4zen.exe -T 5 -i 100, 或者使用gtp4zen.lua脚本来控制时间 | ||
4.如果使用zen6的zen.dll,需要设置参数 gtp4zen.exe -z6,同时把dll重命名为zen6.dll | ||
cgos遛狗建议参数:gtp4zen.exe -T5 -i100, 或者使用gtp4zen.lua脚本来控制时间 | ||
|
||
|
||
5.有bug请在qq群14501533提出 | ||
|
||
|
||
拥剑(qq80101277) | ||
2017.11.27 | ||
此修改版作者:Breakwa11 | ||
程序原作者为 拥剑(qq80101277) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters