Search found 250 matches

by Roland Chastain
Thu Dec 26, 2019 5:13 am
Forum: Computer Chess Club: General Topics
Topic: New engine releases 2019
Replies: 460
Views: 127687

Re: New engine releases 2019

Hello! Moustique 0.3 is available. The engine can now read a Polyglot opening book. It is shipped with the small Polyglot opening book by Olivier Deville.
by Roland Chastain
Tue Dec 24, 2019 5:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

tmokonen wrote:
Tue Dec 24, 2019 2:42 pm
Modern Times wrote:
Tue Dec 24, 2019 1:45 pm
I have some polyglot books that I downloaded many years ago:

ph-book2010-anand.bin
ph-book2010-karpov.bin
ph-book2010-kasparov.bin
ph-book2010-topalov.bin


I can't recall who made them and I never tried them.
Pavel Hase is the author of those books.
Thank you for the information.
by Roland Chastain
Tue Dec 24, 2019 1:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

I have some polyglot books that I downloaded many years ago: ph-book2010-anand.bin ph-book2010-karpov.bin ph-book2010-kasparov.bin ph-book2010-topalov.bin I can't recall who made them and I never tried them. Thank you. I have found the discussion where you probably downloaded them. http://talkchess...
by Roland Chastain
Tue Dec 24, 2019 12:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

Has someone already tried to make books with favourite openings by a given famous chess player?
by Roland Chastain
Tue Dec 24, 2019 11:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

If I had time, I would like to try the book format used in La Dame blanche. But it is another story. :)
by Roland Chastain
Tue Dec 24, 2019 11:13 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

Now it's a mystery for me how the C code can work. :| Well in C, the 0 prefix denotes octal, so 7*8+7 = 63 :) (does it mean that Eschecs will get an opening book soon? ;) OK, didn't know that. Thank you for the explanation. Yes, Eschecs should have a book very soon. And I also hope to fix the bug t...
by Roland Chastain
Tue Dec 24, 2019 9:08 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

Yes, the problem was the constant 077. With the following correction the code works correctly. 8-) f := (move shr 6) and 63; fr := (f shr 3) and 7; ff := f and 7; t := move and 63; tr := (t shr 3) and 7; tf := t and 7; p := (move shr 12) and 7; Now it's a mystery for me how the C code can work. :|
by Roland Chastain
Tue Dec 24, 2019 7:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

Can you compile and run the C code example? If yes, it is easy to run both C code and your Pascal program in debug mode, step by step then compare all variants. Yes, I can compile and run the C code, so I can do what you say. I have just a quick glance and suspicion about your constant 077. My code...
by Roland Chastain
Tue Dec 24, 2019 3:29 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Re: Pascal code to read a Polyglot book

Here is a first version of pg_show.pas . It doesn't work correctly. Here are the moves suggested for the start position: move=b2b2 weight=41,46% move=e2e2 weight=40,62% move=e1f1 weight=10,00% move=a2a2 weight= 7,33% move=e2e1 weight= 0,29% move=b2b1 weight= 0,18% move=f2f2 weight= 0,07% move=b1a1 w...
by Roland Chastain
Mon Dec 23, 2019 7:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pascal code to read a Polyglot book
Replies: 13
Views: 1415

Pascal code to read a Polyglot book

Hello! I started to convert to Pascal the source code provided on this page . Here is pg_key.pas . I included six test positions. The program returns the expected results except for one position. :| (* * This little proof of concept utility for educational purposes * computes the Polyglot key of a f...