PgnScanner 0.62 + accbook.dll (beta)

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

PgnScanner 0.62 + accbook.dll (beta)

Postby Gabriel Guillory » 31 May 2006, 14:00

Hi,
Here is a new release of PgnScanner with a special DLL (beta) for programmers :-)

PS62:
====
- creation of a dynamic library (DLL) in order to be able to easely read a book generated by PgnScanner.
That gives the possiblity to the programmers to have their own book of the same type as those used
in the Chessbase interfaces without having to code more than ten or twenty lines?
- fix results calculation (+20 =18 -20) in the tournaments reports?
- modify round-offs in the percentages calculations (perf elo?)
- suppression of strictBkEloStat. The elo statistics data are now nearly identical to those of a Chessbase tree.
The difference of at most 2 elo point that can occur is due to the choosen coding type (division of an integer by 2
in order to gain some bit).
- addition of the tournaments listing in HTML files resulting from ftrn. Add bookmarks for HTML formats.

(partly with Google translator)

--
GG
Gabriel Guillory
 
Posts: 20
Joined: 26 Jul 2005, 14:08

Re: PgnScanner 0.62 + accbook.dll (beta)

Postby Guenther Simon » 31 May 2006, 16:36

This sounds revolutionary!? Is this the final solution for
all book incompatibilities? I guess your dll is free to use?

Best regards,
Guenther

P.S. An English translation of your puplic description
on the move extraction would be nice.
How about you Olivier? ;)
http://echecs.ramonville.free.fr/pgnscanner/lire_bookpsb.htm
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: PgnScanner 0.62 + accbook.dll (beta)

Postby Gabriel Guillory » 31 May 2006, 17:29

I hope that it can help programmers because the use is very simple. And of course it is free for non-commercial use :-)
3 functions are provided in the dll :

LoadBook(void)
GetMoves(char *epdString, char *mvBuf, unsigned long bufSz, bool logMoves)
CloseBook(void)

So you just input an epd string like :

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w

...and get a few millisecondes later a string like that :

e2e4 n=3156 pc=54 myElo=2274 perf=2291 eloGain=+17
d2d4 n=3106 pc=52 myElo=2248 perf=2250 eloGain=+2
g1f3 n=381 pc=57 myElo=2256 perf=2316 eloGain=+60
c2c4 n=372 pc=59 myElo=2280 perf=2321 eloGain=+41

Easy...

About the translation, maybe I'll try to do it ( :? ) but of course any help is indeed Welcome.
Gabriel Guillory
 
Posts: 20
Joined: 26 Jul 2005, 14:08


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 24 guests