downloading xboard

Thx wolfi :slight_smile:

polyglot merge-book -in1 mybook.bin -in2 mybook.bin -out newbook.bin
PolyGlot 1.4.64b by Fabien Letouzey.
done!

Then I need to understand the max-ply and min-ply options but will take closer look when my holiday begins after few days.

Just a note, as I’m not sure that what you did makes sense:
You merged mybook.bin with itself. I.e. you created newbook.bin out of mybook.bin and mybook.bin. So I think newbook.bin is now exactly the same as mybook.bin.
You should specify two different books you want to merge.

Or did you do that and just posted a symbolic line here?

But I don`t want to merge two different books, I just had this one mybook.pgn which is now mybook.bin in “Downloads”. I think that should be sufficient. Do I need to merge two different pgn folders (containing pgn files) into one bin folder?

Now I changed [PolyGlot] bookfile in text editor (stockfishdd.ini) to “/home/user/Downloads/mybook.bin” and [Engine] bookfile to “mybook.bin” but it has not worked yet (stockfish engine does not play book moves, it starts thinking itself on move 1)

Forget about folders. Polyglot and all chess engines want files not folders.
You want to merge all books in that mybook.pgn folder I guess.
Then convert all of them to .bin format with “polyglot make-book …” and then merge them with “polyglot merge-book …”.

It’s your homework now to figure out how to do that… :wink:

Now I changed [PolyGlot] bookfile in text editor (stockfishdd.ini) to “/home/user/Downloads/mybook.bin” and [Engine] bookfile to “mybook.bin” but it has not worked yet (stockfish engine does not play book moves, it starts thinking itself on move 1)

Not sure what you want to achieve there and what you expect.

As I said, if you want to watch the game from a .pgn file, just call “xboard xxx.pgn” and it will play it for you.

Otherwise I have no experience with that and cannot help you, sorry.
Maybe somebody else can, but I guess you should better open a new thread for that. This one is already incomprehensible enough and too long for anybody to follow. (and the topic is still “downloading xboard”, so I wouldn’t expect anybody with actual experience in what you want to achieve to join in here)

[QUOTE=wolfi323;2631039]Forget about folders. Polyglot and all chess engines want files not folders.
You want to merge all books in that mybook.pgn folder I guess.
Then convert all of them to .bin format with “polyglot make-book …” and then merge them with “polyglot merge-book …”.

It’s your homework now to figure out how to do that… :wink:

Yah, I guess I`ve already done that because mybook.bin is already visible in “Downloads” as is mybook.pgn (original pgn folder). I know it is possible to turn mybook.bin to working opening book just like I used performance.bin but there is something missing because if I specify

/home/user/Downloads/mybook.bin to bookfile in stockfish.dd.ini the engine does not play book moves as said, on the other hand if I put there /home/user/Downloads/performance.bin the engine regognizes this somehow, so mybook.bin must be incomplete.

"Otherwise I have no experience with that and cannot help you, sorry.

Maybe somebody else can, but I guess you should better open a new thread for that" * yeah I will try at some point :wink: *

Well, according to the commands you posted, mybook.bin only contains the 9 moves from Downloads/mybook.pgn/ct6.pgn.

But before I make the opening book, I need to program the engine. I have searched some information and I think I need bitboard, a data structure where each bit represents a game position or state, designed for optimization of speed and/or memory or disk use in mass calculations. Do I have some advantage that I use Linux? I dont know how to start though and I dont know anything about C language or how to use it.

c is a very big learning step. It is not something you just start using like GUI it is a language based on logic and machine operations. I recommend checking out some courses and allow at least a month or two to get up to speed in programming. Do a google on c program tutorials

Ok I found this: http://www3.nd.edu/~johanes/parrot.html

There is said that I use free Linux, free gcc (now free Intel C++ compiler), free xboard. Is Intel C++ compiler some tool to program an engine? I found this http://gcc.gnu.org/ I should maybe download something and then compile?

gcc is a c compiler. Intel C++ compiler is a different c compiler. Different programs but do the same thing. ie compile c or c++ source to a binary executable. You really have a lot to learn.