Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: tablebases implementation

Author: Dieter Buerssner

Date: 08:42:48 11/01/04

Go up one level in this thread


On October 31, 2004 at 06:30:59, Jean Bouchat wrote:

>What do I have to implement in our program? I heard about a probe.txt file that
>explains useful things. But I can’t find it. I heard that this file was in
>tbgen.zip on hyat’s FTP but didn’t find it.

Yes, there was such a file on Robert Hyatt's ftp some years ago, but it is not
there anymore. I still have the probe.txt, but I don't know, whether it is
allowed to give it away. When I implemented TB-access, I had a look at Crafty
and at Amy. I found the code in the later, more easy to understand (also easier
to understand than some stuff in probe.txt).

>I had a look in source code of crafty and pepito but I didn’t understand which
>function I have to write and which I may re-use. I think I need to use functions
>from “tbdecode.c” with the position and the directory of tablebases as
>arguments.

Hmmm, I think you don't have to use any functions of tbdecode.c directly. They
are used by another code layer. In the old tbgen.zip, that layer was inside
tbindex.cpp. In crafty it is egtb.cpp (IIRC). You have to "glue" your code to
the one in egtb.cpp. Heiner Marxen wrote a nice article here:
http://chessprogramming.org/cccsearch/ccc.php?art_id=192968

>What I don’t understand is the exact syntax(what is the function
>name, which coding of position).
>Do I have to request authorization from someone to implement them (Eugene
>Nalimov and/or Andrew Kadatch)?

Yes. I did ask both, and it was no problem to get permission to use their code.
Some posters here had mentioned in the past, that you might need some patience,
until you get an reply (it was very fast for me, however).

Regards,
Dieter



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.