Make .bin book Step by Step

Polyglot here

Re: Make .bin book Step by Step

Postby kenishka » 09 Oct 2008 21:51

Hi everyone Iam facing a problem with polygot whenever i try to enter this command polyglot merge-book -in1 w1.bin -in2 w2.bin -out w.bin a message appears cant open file "w1.bin": no such files or directory i tried alot but doesnt work changed pgn games

some one help me please
User avatar
kenishka
Member
Member
 
Posts: 14
Joined: 30 Sep 2008 22:27

Re: Make .bin book Step by Step

Postby XsupremeX » 09 Oct 2008 23:42

Command by commands, do not skip any one... The 1st till the last

Or just use this one: polyglot make-book -pgn games.pgn -bin book.bin -max-ply 30
4ut0 ch355 m3mb3r x5upr3m3x...g00d g4m3 f0r 4ll...y4h000000! :ok
User avatar
XsupremeX
Co-Admin
Co-Admin
 
Posts: 1099
Joined: 24 Jan 2008 23:50
Location: Brazil

Re: Make .bin book Step by Step

Postby neo_the_1 » 12 Jan 2009 14:19

xsupremex wrote:HI all! Some friends in adv. lounge still didnt find how make a bin book to polyglot, so, today I decided to make a Step by Step... To everybody that has same problem or just start using poly right now and wanna make bin books too!

Step 1: You need polyglot folder in C:\ drive

Step 2: To make a bin book you will need a pgn file too, which has collection of games, inside polyglot folder

Step 3: Open your MS-DOS and it will look like this:

Image

Step 4: You have to change to it typing 'cd c:\polygot' :

Image

Step 5: Now you are ready to put the 7 commands you find in readme file inside polyglot folder, anyway I posted the commands:

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 mybook.bin

Your book is ready!

PS:
1. game.pgn and mybook.bin were according to my files, make your changes if necessary
2. I make bin book in that way, any comments or something different let me know
3. Good bin book is made if we use good pgn file...engine vs engine :mrgreen:

A quick question supremex....
Is it necessary to go in to the same order??for the first 4 commands?I mean to say can I make book w2 first[big database] and then bookw1[selected lines]...
and then the same for black...and then the merging operation in the order u hv provided....I know this question does not make sense...but I just want to ask that if I do like that...is it gonna affect the book??any negative impact??
Thanks...
User avatar
neo_the_1
Senior Member
Senior Member
 
Posts: 41
Joined: 29 Feb 2008 18:49

Re: Make .bin book Step by Step

Postby eliasgino2007 » 12 Jan 2009 18:00

Welcome all, 8)

Download - Creating and Merging Books.bin:

Creating and Merging Books.bin.jpg


Link: http://www.2shared.com/file/4631764/a29 ... o2007.html
Password to unpack: eliasgino2007

Image

By eliasgino2007! :ok
You do not have the required permissions to view the files attached to this post.
User avatar
eliasgino2007
Co-Admin
Co-Admin
 
Posts: 617
Joined: 01 Nov 2007 14:36
Location: Brasil

Re: Make .bin book Step by Step

Postby neo_the_1 » 13 Jan 2009 05:25

eliasgino2007 wrote:Welcome all, 8)

Download - Creating and Merging Books.bin:

Creating and Merging Books.bin.jpg


Link: http://www.2shared.com/file/4631764/a29 ... o2007.html
Password to unpack: eliasgino2007

Image

By eliasgino2007! :ok

Thanks for the upload frnd...but...
I guess the password is not working....would you check that out eliasgino....
Appreciated...

please ignore my above statement...password is working but it asks for about 3 times for the pass...i dont know why??but if u apply the same pass all the time...it extracts okay...thanks frnd...
User avatar
neo_the_1
Senior Member
Senior Member
 
Posts: 41
Joined: 29 Feb 2008 18:49

Re: Make .bin book Step by Step

Postby eliasgino2007 » 13 Jan 2009 10:38

neo_the_1 wrote:Thanks for the upload frnd...but...
I guess the password is not working....would you check that out eliasgino....
Appreciated...

please ignore my above statement...password is working but it asks for about 3 times for the pass...i dont know why??but if u apply the same pass all the time...it extracts okay...thanks frnd...


Hi neo_the_1, 8)

I compact with 7-Zip and ask for to the password 1 time to unpack.

With the WinRar ask for to the password 4 times to unpack.


Image

By eliasgino2007! :ok
User avatar
eliasgino2007
Co-Admin
Co-Admin
 
Posts: 617
Joined: 01 Nov 2007 14:36
Location: Brasil

Re: Make .bin book Step by Step

Postby eliasgino2007 » 27 Mar 2009 18:25

Welcome all, 8)

Download - Pack 2.0 Creating and Merging Books.bin - Easy Mode:

Image

Link: Image For me here: ucp.php?i=pm&mode=compose&u=195
Password to make the installation of program: eliasgino2007


By eliasgino2007! :ok
User avatar
eliasgino2007
Co-Admin
Co-Admin
 
Posts: 617
Joined: 01 Nov 2007 14:36
Location: Brasil

Re: Make .bin book Step by Step

Postby eliasgino2007 » 27 Mar 2009 18:27

Welcome all, 8)

Download - Pack 2.0 Creating and Merging Books.bin - Advanced Mode:

Image

Link: Image For me here: ucp.php?i=pm&mode=compose&u=195
Password to make the installation of program: eliasgino2007


By eliasgino2007! :ok
User avatar
eliasgino2007
Co-Admin
Co-Admin
 
Posts: 617
Joined: 01 Nov 2007 14:36
Location: Brasil

Re: Make .bin book Step by Step

Postby XsupremeX » 27 Mar 2009 19:36

An excelent job man, We all must be now able to make our own books and not depend on someone's book. :Bravo

Many thx... :Bravo
4ut0 ch355 m3mb3r x5upr3m3x...g00d g4m3 f0r 4ll...y4h000000! :ok
User avatar
XsupremeX
Co-Admin
Co-Admin
 
Posts: 1099
Joined: 24 Jan 2008 23:50
Location: Brazil

Re: Make .bin book Step by Step

Postby lows » 15 Jan 2010 12:43

ohh k lets start all over again the first thread let me with some dudes and this one its on his way almost getting there......
step i all'ready did


1. create a polyglot folder

2. i add it to the to the c:\local disk

3. got inn the polyglot 1.4w and the command prompt

4. choose the pgn - add it to that folder and name it (games.pgn)

5. change the usual command prompt from my name to c:\polyglot(as supreme suggest)...

6. time to add the lines and im done happy with my book????...........how i got to add those lines 1 by 1 all at the same time???
either one gives me and error "polyglot its not reconize as an interval or internal command-

CAN SOMEONE CORRECT ME I DID SOMETHING WRONG OR MISS ANY STEP'S
I HAVE NOT VERY CLEARED WITH THE "PS" OF MAKE YOUR OWN ADJUSTMENT'S I CHANGE THE PGN NAME TO THE
SAME THAT WHERE USING OR I'Am MISTAKING SOMETHING

:crasha PLZ REPLY FORUM

TY: IN ADV..
User avatar
lows
Senior Member
Senior Member
 
Posts: 29
Joined: 03 Apr 2008 11:52

Re: Make .bin book Step by Step

Postby matematiko » 15 Jan 2010 14:52

The file polyglot.exe or whatever the name is, must exist in the folder you are when launching the command.

My practice is to copy this file to the same folder where the pgn file resides.

Hope this helps, good luck
Using engines to cheat:
- It is not ethical,
- It is useless, nothing is gained (how can one be proud of a score earn with dishonesty?)
- You will be baned, sooner or later,
- It gives us (the true chess engine players) a bad reputation.
User avatar
matematiko
Co-Admin
Co-Admin
 
Posts: 1227
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: Make .bin book Step by Step

Postby lows » 16 Jan 2010 10:44

yes ,mate thank you for the reply - i did the folder and got inn the polyglot.exe on it
with command prompt plus the pgn -all 3 files are inn on that folder after i launch
the command prompt i type c:\polyglot (and punch enter) .....witch command line i'm suppost to enter ....i've been trying set off the 7 mencion by supreme and thats ween i get
that error

hope that help's
User avatar
lows
Senior Member
Senior Member
 
Posts: 29
Joined: 03 Apr 2008 11:52

Re: Make .bin book Step by Step

Postby legogames » 16 Jan 2010 22:29

lows wrote:yes ,mate thank you for the reply - i did the folder and got inn the polyglot.exe on it
with command prompt plus the pgn -all 3 files are inn on that folder after i launch
the command prompt i type c:\polyglot (and punch enter) .....witch command line i'm suppost to enter ....i've been trying set off the 7 mencion by supreme and thats ween i get
that error

hope that help's


look at pic what to type in...........



http://www.mediafire.com/file/4httijznjzn/cmd.jpg
User avatar
legogames
Advanced Member
Advanced Member
 
Posts: 105
Joined: 05 Sep 2009 15:19

Re: Make .bin book Step by Step

Postby Stoneface » 18 Jun 2011 00:14

matematiko wrote:OK Folks, here is an easier way to execute book commands.

Download to the folder where you have polyglot.exe, cygwin1.dll and a PGN database this command batch file:
http://h1.ripway.com/matematiko/Book.cmd

Don't run it yet. Open it with a text editor like notepad, and you'll see that it has only one line of code:

cmd.exe /k polyglot.exe make-book -pgn New.pgn -bin book.bin -max-ply 30

cmd.exe will launch the command prompt window.

/k The /k option will make the command prompt window to stay open, this is useful to see if there were any errors.

polyglot.exe This launches polyglot.

make-book This tells polyglot to start in book making mode.

-pgn New.pgn -bin book.bin -max-ply 30 And these are the options parsed to the book making section of polyglot. This is just an example, you should come up with your own commands that fit your needs.

This post is not about how to make books with polyglot, is about how to issue the
commands, so you should know what command to issue and for this you need to read the
documentation that comes with polyglot.

If you don't want to download the file because you think it has a virus that will reformat your computer, is OK, don't download it. Just create a new one, is very simple: right click in an empty space in the folder where you have polyglot.exe, cygwin1.dll and a PGN database, select new, them select text file. Then name it to something like whatever.cmd, then edit it as you wish.

Note: By default, windows does not show the extention of known files(.txt in this case), so to rename it you gonna have to go to a procedure that is beyond the intent of this topic. If this is the case, you gonna have to find out in your own how to rename the file or just download the one I am providing.

Cheers,




I tried this also Matematiko but with the multiple big files, but it only executed the first line for white. Isn't it possible that i can make that, or impossible that one .cmp-file can have all command lines to create a multiple big .bin maybe? I tried it but it stopped after the first line-string. :|

Thx in front my friend

User avatar
Stoneface
Senior Member
Senior Member
 
Posts: 27
Joined: 07 Jun 2011 12:14
Location: Belgium (Europe)

Previous

Return to Polyglot

Who is online

Users browsing this forum: No registered users and 0 guests