Bonanza version adapted for interactive analysis (release)

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

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
hgm
Posts: 25887
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Bonanza version adapted for interactive analysis (release)

Post by hgm » Sat Sep 14, 2013 6:41 pm

I tinkered a bit with the strong Shogi engine Bonanza. The version available for download differs from the original (Bonanza Feliz 0.0) in the following ways:

*) It supports WB protocol
*) It has a new analyze command (in both native Bonanza and WB mode)
*) It supports an undo command (again both modes)
*) It supports multi-PV (which the original version did not do by default)
*) It supports excluding moves from analysis (in WB mode)

A Windows binary is available for download (.exe only; for the support files you would have to download an original install).
Source code (with Linux gcc Makefile) is in my source repository.

The reason I release this patched version is that there exist virtually no Shogi engines that allow exclusion of moves from analysis (e.g. by implementing the USI 'searchmoves' command).

User avatar
kranium
Posts: 1915
Joined: Thu May 29, 2008 8:43 am

Re: Bonanza version adapted for interactive analysis (releas

Post by kranium » Sat Sep 14, 2013 7:17 pm

http://www.youtube.com/watch?v=ov-UBvZLPGY

sorry HG,
i couldn't resist...
(one of my all-time favorites)
:D

Daniel Shawul
Posts: 4101
Joined: Tue Mar 14, 2006 10:34 am
Location: Ethiopia
Contact:

Re: Bonanza version adapted for interactive analysis (releas

Post by Daniel Shawul » Sun Sep 15, 2013 1:24 am

I think the zip file is broken. I get an exe of 0 kb after extraction.

User avatar
hgm
Posts: 25887
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Bonanza version adapted for interactive analysis (releas

Post by hgm » Sun Sep 15, 2013 6:53 am

Indeed, you are right. It must have been damaged on uploading, and was 2 bytes shorter than my local zip file, which I checked to unpack OK. I uploaded a new version, and checked that this now is accepted by the archive manager, when I download it back.

Daniel Shawul
Posts: 4101
Joined: Tue Mar 14, 2006 10:34 am
Location: Ethiopia
Contact:

Re: Bonanza version adapted for interactive analysis (releas

Post by Daniel Shawul » Sun Sep 15, 2013 11:16 am

There seems to be a missing file. Bonanza exited with the following message

Code: Select all

recognized 'shogi' (-1) as variant shogi
recognized 'shogi' (-1) as variant shogi
shuffleOpenings = 0
Version: WinBoard 4.7.2 + bonanza
Reset(1, 0) from gameMode 0
recognized 'shogi' (-1) as variant shogi
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir="../bonanza") bonanza
nice engine proc to 10
564 >first : xboard
protover 2
571 <first &#58; feature done=0
571 >first &#58; accepted done
572 <first &#58; 
572 <first &#58; ERROR&#58; Can't open a file, fv.bin
572 <first &#58; 
Terminating process 4976, result=0
GameEnds&#40;28, xboard exit, 2&#41;

tmokonen
Posts: 1174
Joined: Sun Mar 12, 2006 5:46 pm
Location: Kelowna
Full name: Tony Mokonen
Contact:

Re: Bonanza version adapted for interactive analysis (releas

Post by tmokonen » Sun Sep 15, 2013 11:37 am

You can get fv.bin and the other .bin support files from the original Bonanza Feliz 0.0 package, downloadable from here:

http://www.vector.co.jp/download/file/w ... 13964.html


User avatar
hgm
Posts: 25887
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Bonanza version adapted for interactive analysis (releas

Post by hgm » Sun Sep 15, 2013 2:07 pm

hgm wrote:A Windows binary is available for download (.exe only; for the support files you would have to download an original install).
Some of the other files are huge, which is why I did not include them. fv.bin is 181MB, for instance. No reason to force people who already had Bonanza installed to download that again.

Note that Bonanza also seems to crash when there is no sub-folder 'log' in the engine folder. Surprisingly the regular Bonanza download (with the Windows binary in a folder winbin) does not have such a folder. Could be that it is compiled with a flag that suppresses logging. Perhaps I should switch off that flag too.

About an hour ago I replaced the zipped binary by a patched version of Bonanza 6.0 in stead of Bonanza Feliz. This is a newer version, and it has a visible advantage that it doesn't cut off PVs by hash hits so often. (I think Bonanza Feliz had a bug there when deciding if a cutoff should take place in a PV node.)

[Edit]
I just uploaded a version I compiled with an additional -DNO_LOGGING flag. Note that I can only make 32-bit compiles, and that Bonanza is bitboard.

Post Reply