Directly this does not work in this forum;
that means, you have to upload a picture somewhere (e.g. https://imgbb.com/)
and insert the link here.
Insert image: (9. button from left.) [img]http://image_url[/img]
Moderators: hgm, Rebel, chrisw
Directly this does not work in this forum;
Code: Select all
$ ./belofte-next --uci --quit
id name Belofte 2.1.4
id author Yves De Billoez
option name alg type combo default AB var Random var StaticEval var BruteForce var SearchIterativeBF var AB var ABFS var ABFH
option name evaltype type combo default PositionalBoard var PiecesOnly var StaticBoard var PositionalBoard
option name UCI_ShowCurrLine type check default false
option name UCI_EngineAbout type string default Belofte 2.1.4 by Yves De Billoez 2004-2021, Released under the GNU GPL v2 license
option name UCI_Opponent type string default <empty>
uciok
Bye
$ ./danasah-6.50
uci
id name DanaSah 6.5
id author Pedro Castro
option name OwnBook type check default false
option name Book File type string default ../book/book.bin
option name Hash type spin default 256 min 8 max 1024
option name EndGames Tablebases type combo default Gaviota-Scorpio var None var Gaviota var Scorpio var Gaviota-Scorpio
option name Bitbases Path type string default ../egbb/
option name Bitbases Men type spin default 4 min 4 max 6
option name Bitbases Cache Size type spin default 4 min 4 max 128
option name Bitbases Load type combo default LOAD_4MEN var LOAD_NONE var LOAD_4MEN var SMART_LOAD var LOAD_5MEN
option name GaviotaTbPath type string default ../gtb/gtb4/
option name GaviotaTbCache type spin default 16 min 16 max 128
option name Ponder type check default true
option name UCI_Chess960 type check default false
option name GUI Has Ucinewgame Command type check default true
option name Clear Hash type button
option name Clear Tablebases Cache type button
uciok
Code: Select all
$ ./belofte-next -xboard --protover --quit
feature done=0
feature ping=1 setboard=1 playother=0
feature usermove=1 time=1 draw=0
feature sigint=1 sigterm=1
feature analyze=0 debug=1 colors=0
feature name=1
feature myname="Belofte 2.1.4 (Linux/x86_64)"
feature option="alg -combo Random /// StaticEval /// BruteForce /// SearchIterativeBF /// AB /// ABFS /// ABFH"
feature option="evaltype -combo PiecesOnly /// StaticBoard /// PositionalBoard"
feature done=1
Bye
Thanks a lot for the report!ydebilloez wrote: ↑Tue Sep 14, 2021 1:11 pm Dear phhnguyen,
I have some feature request and a possible bug report.
Banksia to some extend reads the option name replies after the uci command, but I believe there is some issue.
My engine replies the following, and compared with Danash, there are some differences:
Danash replies with a newline before uci reply (not clear if required in the uci specifications), and all options start with uppercase.
My engine replies directly with id name and id author without a newline, and after that not always an uppercase option name. Also, one of the options I return contains the string type in the option (evaltype), while type is used to identify the way it should be parsed.
Result: the default value suggested is not taken by Banksiagui, and some options are not parsed. (In case you want to test with my engine, you will need to grab the next branch and compile)
The different results:I also have a feature request. Banksia does not parse xboard feature option instructions. It would be a nice addition for the xboard engines out there.Code: Select all
$ ./belofte-next --uci --quit id name Belofte 2.1.4 id author Yves De Billoez option name alg type combo default AB var Random var StaticEval var BruteForce var SearchIterativeBF var AB var ABFS var ABFH option name evaltype type combo default PositionalBoard var PiecesOnly var StaticBoard var PositionalBoard option name UCI_ShowCurrLine type check default false option name UCI_EngineAbout type string default Belofte 2.1.4 by Yves De Billoez 2004-2021, Released under the GNU GPL v2 license option name UCI_Opponent type string default <empty> uciok Bye $ ./danasah-6.50 uci id name DanaSah 6.5 id author Pedro Castro option name OwnBook type check default false option name Book File type string default ../book/book.bin option name Hash type spin default 256 min 8 max 1024 option name EndGames Tablebases type combo default Gaviota-Scorpio var None var Gaviota var Scorpio var Gaviota-Scorpio option name Bitbases Path type string default ../egbb/ option name Bitbases Men type spin default 4 min 4 max 6 option name Bitbases Cache Size type spin default 4 min 4 max 128 option name Bitbases Load type combo default LOAD_4MEN var LOAD_NONE var LOAD_4MEN var SMART_LOAD var LOAD_5MEN option name GaviotaTbPath type string default ../gtb/gtb4/ option name GaviotaTbCache type spin default 16 min 16 max 128 option name Ponder type check default true option name UCI_Chess960 type check default false option name GUI Has Ucinewgame Command type check default true option name Clear Hash type button option name Clear Tablebases Cache type button uciok
Regards,Code: Select all
$ ./belofte-next -xboard --protover --quit feature done=0 feature ping=1 setboard=1 playother=0 feature usermove=1 time=1 draw=0 feature sigint=1 sigterm=1 feature analyze=0 debug=1 colors=0 feature name=1 feature myname="Belofte 2.1.4 (Linux/x86_64)" feature option="alg -combo Random /// StaticEval /// BruteForce /// SearchIterativeBF /// AB /// ABFS /// ABFH" feature option="evaltype -combo PiecesOnly /// StaticBoard /// PositionalBoard" feature done=1 Bye
Code: Select all
belofte> id name Belofte 2.1.3
Code: Select all
belofte64-2.1 < xboard
belofte64-2.1 < protover 2
belofte64-2.1 > belofte>
belofte64-2.1 > feature done=0
belofte64-2.1 > feature ping=1 setboard=1 playother=0
belofte64-2.1 < accepted ping
belofte64-2.1 < accepted setboard
belofte64-2.1 < accepted playother
belofte64-2.1 > feature usermove=1 time=1 draw=0 sigint=0 sigterm=0
belofte64-2.1 < accepted usermove
belofte64-2.1 < accepted time
belofte64-2.1 < accepted draw
belofte64-2.1 < accepted sigint
belofte64-2.1 < accepted sigterm
belofte64-2.1 > feature analyze=0 debug=1 colors=0
belofte64-2.1 < accepted analyze
belofte64-2.1 < accepted debug
belofte64-2.1 < accepted colors
belofte64-2.1 > feature done=1
belofte64-2.1 < ping 1
belofte64-2.1 > pong 1
belofte64-2.1 < easy
belofte64-2.1 < post
belofte64-2.1 < new
Thanks for the report.
Sorry for the delay. The bug was fixed. However, I have been struggling when upgrading some engines to their newer versions, due to conflicting their code. Perhaps, I will stop upgrading some of them thus I can do a quick/minor release first.
You are most welcome.phhnguyen wrote: ↑Wed Sep 15, 2021 2:42 am
Thanks a lot for the report!
I have downloaded and checked with belofte64-2.1.3 for macOS. You may check what your engine really sent to BSG via the Engine log panel or Engine log file (below illustration, the Engine log file can be set in the bottom line of the Settings dialog box). The problem I have found so far is that belofte sent a prompt string (belofte>) with the id name (in the same line) thus BSG ignores that id name. All other info/options work fine.
Code: Select all
belofte> id name Belofte 2.1.3
Look like belofte64-2.1.3 doesn't have any feature option yet, isn't it?
I will check the feature option string of the XBoard protocol anyway.