P0lyglot vs fritz gui in long games

Polyglot here

P0lyglot vs fritz gui in long games

Postby aks21155 » 28 Jun 2008 12:24

There is lot of misconception about polyglot in this forum. Generally members use polyglot in games 0-3 minutes or less. The reasons can be various but mainly concerned with book. It is very easy to make bin book suitable for polyglot from pcc games or any other data irrespective weather this data ia in pgn format or not.

1. Advantage of bin book is that it occupies 1/10th space of any ctg book with equal no. of games with equal depth.
2. You can make seperate white and black books with respect to white and black win games. The beuty of polyglot is if you are playing with white it will pick white book and if you are playing with black it picks black book.
3. Even if you are out of book, it will pick moves from engine book as in case of H-12.
4. Now you can check weather your engine is picking better depth or equal depth by clicking engine kibiitz on.
5. While making bin book which only takes 5 minutes take care about two factors.
a. Always put rendom or best command while making book.
b. You can use 4 books- 2 for white and 2 for black. The first book for white and black should be your selective lines. In case engine goes out of first book it will pick moves from second book.

Good Luck,

SAINT A.K.S.
"ANY SUFFICIAENTLY ADVANCED TECHNOLOGY IS VIRTUALLY INDISTINGUISHABLE FROM MAGIC" C. CLARKE

"IF I HAVE SEEN FURTHER, IT IS BY STANDING ON THE SHOULDERS OF GIANTS" ISAAC NEWTON
aks21155
Banned User
Banned User
 
Posts: 84
Joined: 21 Feb 2008 07:18
Location: india

Re: P0lyglot vs fritz gui in long games

Postby Prima » 28 Jun 2008 13:33

Hi aks21155,

First of all, Welcome Back! I hope I'll see the rest of the Ytoics Team back.

With regards to making a polyglot .bin book, I've encountered futile efforts in accomplishing this task, though it sounds (and actually is) easy. I've read Dr.Fabien Letouzey's Polyglot scritps on how to make a .bin book over and over.

The engine of choice I'm using to try to make a .bin book is Hiarcs 12 MP. Having said that for my .pgn file, I named it: H12MP.pgn, and for my .bin book, I named it: H12MP.bin. I created these 2 files (both .pgn and .bin) afresh with 0 bytes with the intention of starting from scratch.

For the "-only-black" , "-only-white", and "-uniform" options, I decided to go with -uniform so that I can play both white and black and have each color stored in the pgn. As for the "-min-game", I set it to 3. The "-min-elo" I set it to 0 (at this point, I just want to know how to make a book). My "-max-ply", I set it to 50.

With these variables in mind, here's my polyglot make-book command line - which is under the [Polyglot] section in polyglot_hiarcs12mp.ini file:

Polyglot make-book -pgn H12MP.pgn -bin H12MP.bin -max-ply 50.

Despite these measures, nothing has registered in neither the H12MP.pgn file nor the H12MP.bin file!
Both these 2 files still remain at 0 (zero) bytes as I originally made them.

What I'm I doing wrong, and why hasn't anything registered in neither files?

Thanks.
Prima
Moderator
Moderator
 
Posts: 303
Joined: 19 Jan 2008 16:32
Location: U.S.A

Re: P0lyglot vs fritz gui in long games

Postby XsupremeX » 28 Jun 2008 13:51

:arrow: To make a good .bin book you need a good collection of games saved in .pgn files.
If your pgn has 0 kb so soon you will only make a 0 kb bin book with nothing!

I now make my own .bin books with many pgn files with sure have many games on it cuz their size are 14MB and so on!

To make a .bin book to use on polyglot you only need these commands which already have in READ ME file inside polyglot folder:


polyglot make-book -min-game 1 -uniform -only-white -pgn games.pgn -bin w1.bin

polyglot make-book -min-score 50 -only-white -pgn games.pgn -bin w2.bin

polyglot make-book -min-game 1 -uniform -only-black -pgn games.pgn -bin b1.bin

polyglot make-book -min-score 40 -only-black -pgn games.pgn -bin b2.bin

polyglot merge-book -in1 w1.bin -in2 w2.bin -out w.bin

polyglot merge-book -in1 b1.bin -in2 b2.bin -out b.bin

polyglot merge-book -in1 w.bin -in2 b.bin -out personalbook.bin

Where the bold part is the name you want. It will create 4 bin books, you have to join them till you have only one .bin book
If it doesnt help you I hope it helps someone else! :lol:
4ut0 ch355 m3mb3r x5upr3m3x...g00d g4m3 f0r 4ll...y4h000000! :ok
User avatar
XsupremeX
Co-Admin
Co-Admin
 
Posts: 1300
Joined: 24 Jan 2008 23:50
Location: Brazil

Re: P0lyglot vs fritz gui in long games

Postby aks21155 » 28 Jun 2008 15:36

convert ur existing database of pcc or others by using chessbase into pgn after filtering .
"ANY SUFFICIAENTLY ADVANCED TECHNOLOGY IS VIRTUALLY INDISTINGUISHABLE FROM MAGIC" C. CLARKE

"IF I HAVE SEEN FURTHER, IT IS BY STANDING ON THE SHOULDERS OF GIANTS" ISAAC NEWTON
aks21155
Banned User
Banned User
 
Posts: 84
Joined: 21 Feb 2008 07:18
Location: india

Re: P0lyglot vs fritz gui in long games

Postby Prima » 01 Jul 2008 14:06

Ok, thanks aks2115.

I read the "banned forum" and learnt of what happened. My sympathy to you and family members aswell. I hope, in due time, you will find the strength and courage to cope with your lose.

Your reply made sense on converting the collected PGN Files to Bin. However, I'm trying to make a .bin book from scratch using, strictly, polyglot. Like I said earlier, I've read Dr.Fabien Letouzey's polyglot-read me.txt and implemented his suggestions but still have 0 bytes both in the PGN & BIN files. Or, is it impossible not to "create" a new PGN & .BIN File (at 0bytes) from scratch? Any suggestions, if any?

By the way, here are the command lines used in polyglot_hiarcs12mp.ini, in the [polyglot] section:

PolyGlot make-book -pgn H12MP.pgn -bin H12MP.bin -max-ply 50
Polyglot make-book -min-game 1 -uniform -only-white -pgn H12MP.pgn -bin w1.bin
Polyglot make-book -min-score 50 -only-white -pgn H12MP.pgn -bin w2.bin
Polyglot make-book -min-game 1 -uniform -only-black -pgn H12MP.pgn -bin b1.bin
Polyglot make-book -min-score 40 -only-black -pgn H12MP.pgn -bin b2.bin
Polyglot merge-book -in1 w1.bin -in2 w2.bin -out w.bin
polyglot merge-book -in1 b1.bin -in2 b2.bin -out b.bin
polyglot merge-book -in1 w.bin -in2 b.bin -out H12MP.bin

Sorry I didn't include the entire command lines when I initially posted my concerns.

Thanks.
Prima
Moderator
Moderator
 
Posts: 303
Joined: 19 Jan 2008 16:32
Location: U.S.A

Re: P0lyglot vs fritz gui in long games

Postby aks21155 » 02 Jul 2008 15:28

I m sorry for replying u late.THE problem with Polyglot is it is not irreversible process.ANY TIME u can recover ur merged books.LIKE ctg books u can not keep on adding books or import games.I may be wrong but my advice to u to collect good database and than make a bin book
"ANY SUFFICIAENTLY ADVANCED TECHNOLOGY IS VIRTUALLY INDISTINGUISHABLE FROM MAGIC" C. CLARKE

"IF I HAVE SEEN FURTHER, IT IS BY STANDING ON THE SHOULDERS OF GIANTS" ISAAC NEWTON
aks21155
Banned User
Banned User
 
Posts: 84
Joined: 21 Feb 2008 07:18
Location: india

Re: P0lyglot vs fritz gui in long games

Postby Prima » 02 Jul 2008 16:55

I wasn't in a hurry but Thanks for yoour reply.

I finally was able to save games as PGN format to my H12MP.pgn file using Winboard.

On Winboard, I clicked "Options" --> "Save Game". Under Save Game Options, I checked "Save game automatically",
then selected "To file" and browsed to where I placed the H12MP.pgn file : C:\Polyglot\H12MP.pgn,
next, I selected "Save As" PGN,
and lastly, I checked the "Save out of book info in PGN" option.

Currently, I have 92.2Kb saved in my H12MP.pgn file as I write in responce to this post. I know the next crucial step is to filter out the lose & draw games and preseve the check-mated (or Won Games). Having acomplish the first step in having a .PGN file, I'll research as to how I can convert these "vicotorious games" into .bin file.

Thanks for your time to respond.
Last edited by Prima on 03 Jul 2008 06:44, edited 1 time in total.
Prima
Moderator
Moderator
 
Posts: 303
Joined: 19 Jan 2008 16:32
Location: U.S.A

Re: P0lyglot vs fritz gui in long games

Postby aks21155 » 02 Jul 2008 17:54

Use chessbase 9

"ANY SUFFICIAENTLY ADVANCED TECHNOLOGY IS VIRTUALLY INDISTINGUISHABLE FROM MAGIC" C. CLARKE

"IF I HAVE SEEN FURTHER, IT IS BY STANDING ON THE SHOULDERS OF GIANTS" ISAAC NEWTON
aks21155
Banned User
Banned User
 
Posts: 84
Joined: 21 Feb 2008 07:18
Location: india


Return to Polyglot

Who is online

Users browsing this forum: No registered users and 0 guests