Page 1 of 1

Egbbdll and Egbbcomp source code release

PostPosted: 10 Nov 2007, 08:00
by Daniel Shawul
Hi,
The source code for egbbdll v3.1 and egbbcomp can be downloaded here
http://dshawul.googlepages.com/home

The main reasons I prefered to keep the source closed for a while is to
- make sure that it is bug free
- prevent multiple copies of egbbdll from being distributed.
- Also I think that it is better for authors to use the dll than attach the probe code to their engines. This is really a problem for keeping compatiblity with newer versions of the dll.

The egbbcomp is a general purpose compressor/decompressor which uses Lz + huffman compression , similar to deflate algorithm. I have not tested it on other types of files thoroughly so it might fail sometimes, but there is no problem with the egbbfiles.

The source code for the generation of the bitbases is really messy and very slow if you saw the source for v1.0. So that one is not released. i will work on a fast generator, probably for use of 6 men egbb, when i have some free time.

If you have any comments, suggestions, improvements please send it to me.

Daniel

Re: Egbbdll and Egbbcomp source code release

PostPosted: 10 Nov 2007, 20:15
by Denis P. Mendoza
Thanks a lot Daniel for the sources.

Re: Egbbdll and Egbbcomp source code release

PostPosted: 12 Nov 2007, 14:52
by Bernhard Bauer
HI,

thank you for the endgame lib.
Now scorpio2.0 uses egbbs under ubuntu7.10 64-bit.

However there are some minor problems for scorpio 2.0,
1. xboard crashes with log=on. It works with log=off.
2. nps and node counts do not properly work. Are they 32 bit words?

Re: Egbbdll and Egbbcomp source code release

PostPosted: 13 Nov 2007, 11:44
by Daniel Shawul
Hi,
Yes nps is 32 bits word. I will change that to 64 bit word on the next version. Make sure that you selected the prober datamodel number in scorpio.h during compilation. I don't know what is causing the problem with the log files. Can you post part of xboard's log file?

Re: Egbbdll and Egbbcomp source code release

PostPosted: 14 Nov 2007, 09:30
by Bernhard Bauer
Hi,
you provided a scorpio_linux executable that runs ok for me.
This is scorpio 1.91.

For Scorpio 2.0 I have changed the data model to 4, but that doesn't help.
When starting with "xboard -size small -fcp ./scorpio"
Scorpio 2.0 uses 1 proc at 100% CPU without doing anything. When entering a position and going to analyse mode it works, but nps and nodes are buggy.

I have no log, not even a xboard log.

Question: How can I run a test suit with scorpio? I can do it with crafty.

kind regards
Bernhard

Re: Egbbdll and Egbbcomp source code release

PostPosted: 15 Nov 2007, 06:18
by Daniel Shawul
There is a command "runsearch" which does analysis of epd positions.
The command "st 5 runsearch wac.epd" will do analysis on each wac positon for 5 seconds. It will not report how many positions are correctly solved (not implemented yet).
I am working on the log file issue on a linux machine now so will let you know when it is corrected.
regards
daniel