Page 1 of 1

I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 14:19
by kvuzon
Hi,
I am trying to enable the endgame bitbases in toga2 with polyglot but I always fail.
I am using xubuntu 8.04, Toga II 1.3.4 as announced when launched, and Polyglot 1.4, all from the repositories.
When I start Toga I get the message: EgbbProbe not Loaded!
Is it significant? What can I do to change it?

If it is insignificant, what would the command to enable the egbb look like?
I have downloaded the egbb tablebase, with egbbdll.dll and the *.cmp files to a directory: /home/.../toga2/egbb/ and in the engine section in the polyglot.ini file I have tried among others:
Bitbases Path = /home/.../toga2/egbb/
BitbasesPath = /home/.../toga2/egbb/
NalimovPath = /home/.../toga2/egbb/
EGBBPath = /home/.../toga2/egbb/
setoption the above
option the above
I have tried without the trailing slash but nothing works.

The opening book, which is in /home/.../toga2/, works so something in the polyglot.ini file seems to be correct. I've searched on the internet, I've searched this forum, I've read documentation and looked at the information the uci command gives when toga is launched in a terminal without getting closer to a solution. Could someone, after enduring this litany, give me some advice?

I have other engines, it's just that I'd like to get this working.

Regards

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 14:45
by Teemu Pudas
egbbdll.dll


That's egbbso.so on Linux.

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 16:29
by Volker Pittlik
kvuzon wrote:...
I am using xubuntu 8.04...

Is it significant?


Yes.

kvuzon wrote:What can I do to change it?


You have to download the source code from Daniel's website. Then enable xubuntu to compile something (usually install "build-essentials").

Then edit the Makefile to generate something which fits your system (32 or 64 bit). Put the .so in the same directory as the egbbs.

Done.

Volker

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 18:02
by Pedro Castro
You had managed to use TOGA and bitbases in Linux?

I think that the code of TOGA is broken for Linux, I think that Tomas (TOGA) used the same code that Daniel (Scorpio) for Linux and if it gives compile problems.

If I'm confused I ask you a link to a software (code) that is ok, my program compiles in linux but for the moment not bitbases (or the oepnings book)

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 18:21
by Teemu Pudas
http://packages.ubuntu.com/hardy/toga2

Link to the source is to the right. The changelog mentions fixing bugs in probe.cpp; IIRC it was just missing some #includes.

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 18:23
by Pedro Castro
Thank you, Teemu.

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 30 Jun 2008, 18:29
by Volker Pittlik
Pedro Castro wrote:You had managed to use TOGA and bitbases in Linux?



No Toga. The last "improvement" I have seen was that the Linux compatibility has been wrecked.

Pedro Castro wrote:...If I'm confused I ask you a link to a software (code) that is ok, my program compiles in linux but for the moment not bitbases (or the oepnings book)


I have compiled the stuff from http://dshawul.googlepages.com/home. I don't remember which of the Egbb packages it was, but I works fine for BBChess for example.


Volker

Re: I cannot enable egbb in toga2 with polyglot.

PostPosted: 28 Aug 2008, 06:43
by Eric Mullins
Volker Pittlik wrote:Then edit the Makefile to generate something which fits your system (32 or 64 bit). Put the .so in the same directory as the egbbs.


I just wanted to add to this correct advice. The egbb come with a 32 bit version of the egbbso.so file, which always fails to load with a 64 bit compiled version of TogaII.

What I did was compile egbbprobe_src [called egbbdll_src] as Volker suggests for 64 bit. Then I renamed the 32 bit version to egbb32so.so, added the 64 bit version as egbb64so.so, and created a symlink to the one I need as egbbso.so.