DanaSah 6.1 for Windows and Android

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
pedrox
Posts: 935
Joined: Fri Mar 10, 2006 5:07 am
Location: Basque Country (Spain)
Contact:

DanaSah 6.1 for Windows and Android

Post by pedrox » Wed May 25, 2016 8:15 pm

Because the development time of a new version of danasah takes me longer than expected, I will post an intermediate version. You will find DanaSah 6.1 for Windows and Android. There are 2 versions of the engine; one normal and other limited strenght (ls) where you can regulate Elo 0-2500 and has some easy levels. The main difference with the previous version 5.07 is that DanaSah now also incorporates the uci protocol. If you use a uci GUI that not know the command uci_newgame change this in the options (for example this allows compatibility with old Fritz GUI although it will lose some speed).Besides the opening book it has been changed a Polyglot format, although the book distributed remains of Jeroen Noomen and Ed Schroeder. Also many changes in other things.

DanaSah can play normal and Chess960 variants than as xboard as uci protocol. I think can play well on all interfaces that support this protocol (About uci you have to activate the option UCI_Chess960)

Android versions make use of the opening book but not the Scorpio bitbases (I think that there is no engine to play well with them, I see the same problem with DanaSah and Toga2 about Chess for Android, the version included here is compiled with static option, it could crash if egbbso.so file is installed on chess for Android).

Because of the many changes made and adding a second protocol, Chess960, Windows and Android, etc., it takes me a long time to test that everything is correct. So I publish this version so it can be tested, I am more interested in the stability of the engine that in force. It is not necessary to include this version in the rating lists, there are few changes in the search and evaluation, so the Elo must be very similar to version 5.07 at least in the xboard protocol. Note that I only include 64-bit versions for Windows and unoptimized although danasah is not bitboard and not take advantage of 64 bits.

http://www.mediafire.com/download/d43vr ... asah61.zip

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: DanaSah 6.1 for Windows and Android

Post by SzG » Thu May 26, 2016 5:45 am

pedrox wrote:the Elo must be very similar to version 5.07 at least in the xboard protocol
This surprises me. So WB and UCI results are incomparable? What is the reason?

Thanks anyway.
Gabor Szots

CCRL testing group

User avatar
velmarin
Posts: 1579
Joined: Mon Feb 21, 2011 8:48 am

Re: DanaSah 6.1 for Windows and Android

Post by velmarin » Thu May 26, 2016 7:48 am

Hi, Pedro
it seems something is not going well on Fritz 12 and uci mode.
After a first game right at the start of the second the first move is illegal, with composite output position.
You need to try with winboard, to isolate the problem.
In console

Code: Select all

uciok
go
info depth 1 time 0 nodes 2 nps 0 score cp 3949 pv b9a8
info depth 2 currmove b9a8 currmovenumber 1
info depth 2 currmove b9a8 currmovenumber 1
info depth 2 time 16 nodes 6 nps 0 score cp 0 upperbound pv b9a8
bestmove b9a8
Yellow arrow is the movement
Image

Image

User avatar
velmarin
Posts: 1579
Joined: Mon Feb 21, 2011 8:48 am

Re: DanaSah 6.1 for Windows and Android

Post by velmarin » Thu May 26, 2016 11:12 am

velmarin wrote:Hi, Pedro
it seems something is not going well on Fritz 12 and uci mode.
.....................
Again I made this mistake, sorry, Pedro
Do not disable the:
option name GUI_Has_Ucinewgame_Command type check default true

Now everything is OK.
Disculpa.
:oops:

User avatar
pedrox
Posts: 935
Joined: Fri Mar 10, 2006 5:07 am
Location: Basque Country (Spain)
Contact:

Re: DanaSah 6.1 for Windows and Android

Post by pedrox » Thu May 26, 2016 11:57 am

SzG wrote:
pedrox wrote:the Elo must be very similar to version 5.07 at least in the xboard protocol
This surprises me. So WB and UCI results are incomparable? What is the reason?

Thanks anyway.
Hi Gabor,

For a long time I have optimized the engine to play with the xboard protocol. Now that I added the UCI protocol I had to change some functions that had been optimized for xboard protocol, perhaps 20%. In this process you can make mistakes and not optimize well for uci protocol.

When I tried the first uci version, this played about 100 Elo points worse than the version xboard (blitz). I have discovered that I had 2 problems, one that I was resetting hash tables between movements because uci protocol sent with each move a command to configure the position (lost 40 Elo). And the second problem is that with every move the uci protocol also sends the list of all the moves and I was setting and making the list with every move (lost 40 Elo). I solved these 2 problems but I still feel that uci version may be somewhat lower as 20 points, at least in blitz. But I'm not a big tester and I can be confused.

Fermin Serrano with Rodin had a similar problem. There is a thread where people speak a little of this topic. I do not want to open a debate between xboard protocol against uci protocol:

http://www.talkchess.com/forum/viewtopi ... highlight=

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: DanaSah 6.1 for Windows and Android

Post by SzG » Thu May 26, 2016 12:11 pm

Thanks Pedro.

I'm going to set up a gauntlet between WB Danasah and UCI Danasah, in order to see if there is significant strength difference between them.
Gabor Szots

CCRL testing group

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: DanaSah 6.1 for Windows and Android

Post by SzG » Thu May 26, 2016 3:20 pm

SzG wrote:Thanks Pedro.

I'm going to set up a gauntlet between WB Danasah and UCI Danasah, in order to see if there is significant strength difference between them.
Hmm, in a 200-game match under cutechess-cli with 40/4 tc UCI won against WB by 125-75!
Gabor Szots

CCRL testing group

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: DanaSah 6.1 for Windows and Android

Post by SzG » Thu May 26, 2016 4:14 pm

And a 100-game match with 40/12 ended 59-41 in favour of UCI. So, which one is weaker?
Gabor Szots

CCRL testing group

User avatar
pedrox
Posts: 935
Joined: Fri Mar 10, 2006 5:07 am
Location: Basque Country (Spain)
Contact:

Re: DanaSah 6.1 for Windows and Android

Post by pedrox » Thu May 26, 2016 6:41 pm

Thank you very much for games, Gabor.

This was DanaSah 6.1 xboard vs DanaSah 6.1 uci ?

I'm really surprised by these results. Maybe I now broke something in the xboard protocol. :D

You time control is much better than mine, I tried to 40/1

User avatar
pedrox
Posts: 935
Joined: Fri Mar 10, 2006 5:07 am
Location: Basque Country (Spain)
Contact:

Re: DanaSah 6.1 for Windows and Android

Post by pedrox » Thu May 26, 2016 6:57 pm

I'm glad it worked. Of all the GUI I've tried only previous versions of Fritz do not have this command (Fritz 15 yes). Having this option in the parameters is ugly but he make programming easier for me.

On previous versions of Fritz engine with every move makes the setup of the starting position and all movements sent by the protocol so he can lose some speed especially in bullet and blitz games.

Maybe I can remove this option in a future version.
velmarin wrote:
velmarin wrote:Hi, Pedro
it seems something is not going well on Fritz 12 and uci mode.
.....................
Again I made this mistake, sorry, Pedro
Do not disable the:
option name GUI_Has_Ucinewgame_Command type check default true

Now everything is OK.
Disculpa.
:oops:

Post Reply