Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Aquarium / Aquarium Book Adapter update
1 2 Previous Next  
- - By Zruty (*****) Date 2009-06-02 12:45
I have updated the Book Adapter files.

The links are the same, I'll just quote the original message:

Integrated version.
File size is 717 Kb.

Standalone version.
File size is 1.8 Mb.

This is the exact version that won WCCC when it was used by the Rybka team. :)

What's new:
We fixed several bugs, including the one pointed out by ppipper: time loss when re-entering the book.
There is a special program to specify all the INI file parameters. You'll still have to provide the Standalone version with all the files it needs, but you don't need to edit the AquariumBookAdapter.ini manually.
Parent - - By ppipper (*****) Date 2009-06-02 15:24
Thank you, Zruty.

I have noticed there are two new parameters. What do they mean?


Parent - - By Zruty (*****) Date 2009-06-03 08:31
when the adapter receives 'go wtime X', then it sends the following command to the engine:
'go wtime MAX(min_time, X-time_buffer)'

history=N: if we get the same position we had <=N moves before, we ignore the book (if there are several books, we ignore the one that suggested the move we played).
Parent - - By ppipper (*****) Date 2009-06-03 21:46

> when the adapter receives 'go wtime X', then it sends the following command to the engine:
> 'go wtime MAX(min_time, X-time_buffer)'

Please, could you provide some more details? Also what unit is min_time?

Parent - By Zruty (*****) Date 2009-06-04 08:47
Well, some engines do not work correctly with the 'go wtime 0' command. This means that setting min_time to 1 (as it is by default), we avoid sending 0 time to the engine.
min_time is measured in milliseconds, meaningful values are 0 and 1.

Rybka handles correctly even negative times, so you can set min_time to -1 for Rybka, it won't break anything.

The default min_time=1 is OK for 99% cases. Actually, I don't know why the setting appeared at all :)
Parent - - By Banned for Life (Gold) Date 2009-06-04 05:04
Can N be set to 0 to turn this off? Most of the positions that lead to the possibility of draw by repetition in my book are there intentionally. Unfortunately, the Chessbase GUI won't play a move more than once so I end up losing a lot of games that should have ended in the opening.
Parent - By Zruty (*****) Date 2009-06-04 08:45
N=0 turns it off.
Parent - - By Felix Kling (Gold) Date 2009-06-03 19:23
The little GUI makes it really much easier to set everything up. Very nice :)
Parent - By ppipper (*****) Date 2009-06-05 09:28

I have been testing new UCI adapter for several days, everything works properly, no more looses on time: rock solid.

Congratulations all the team,

Parent - - By bluesky62 Date 2009-06-05 09:38
Sorry, but what is so nice about this? Very unprofessional - where are the instructions to use?  I regret buying your software. Too buggy, and from reading some other posts, the team cannot even cope with Chessbase's data format. (I guess it may be only coincidental (he, he...) that CB changed their data format. Sorry for this comment, but please be more thoughtful. Not all users have the time to learn all these esoteric details. Your methodologies in re-configuring and adding of utilities remind one of the the DOS era. Thanks.     
Parent - - By buffos (Silver) Date 2009-06-05 10:03

> the team cannot even cope with Chessbase's data format

Does the Chessbase team read the ChessAssistant format? No. Why? Its a  closed (secret format).
So reading the chessbase format without spec its an accomplisment, and not something to be expected.

>Sorry, but what is so nice about this?

This is an external adapter that makes you able to use Aquarium books (and not only) with every GUI , like using a normal uci engine.
Parent - - By bluesky62 Date 2009-06-05 10:18
What a response. I am speechless.  With all due respect, why should Chessbase read ChessAssistant format? I like Aquarium to suceed, OK, but it doesn't look like CA has a big share of the market right now. Be realistic.

I know what the adapter is for. What I need are specific instructions to follow.
Parent - By buffos (Silver) Date 2009-06-05 10:24 Edited 2009-06-05 10:30

> why should Chessbase read ChessAssistant format?

why should ChessAssistant read Chessbase format. Both are closed formats. There is NO WAY to read a closed format. Reverse engineering is very very hard. There are hundreds of closed formats out there, that noone can read or write too. Its the owners decision to let others read (or write) the format. (take the cad industry for example)

For data exchange we have pgn format.
Parent - By buffos (Silver) Date 2009-06-05 10:44

> but it doesn't look like CA has a big share of the market right now

Ofcourse you are correct in this way, and i guess this is why CA tried to reverse engineer the chessbase format (although this is hard and time consuming).

But as some users reported, chessbase changed there format in Chessbase 10, so its logical Aquarium to have problem reading those files (i guess untill next Aquarium version, since changes cannot be major :) )
Parent - - By Felix Kling (Gold) Date 2009-06-05 11:27 Edited 2009-06-05 11:31
Simple: Copy the integrated version to your Auarium folder, start the ABAGui.exe , select a UCI engine file (like Engines/Rybka 3.exe , use the "browse" button) and select a tree configuration for the first book (that's enough for the beginning). That's it. Now you can click ok and start any GUI you would like and install the book adapter just like a normal UCI engine. If you play against it, it will play the books from the book at the beginning and then after leaving the book start Rybka.

This is a bonus feature for expert users, I will write a description how to use it for the Rybka website.
Parent - By titanium cranium (***) Date 2009-06-26 20:38
Thanks for this explanation, and any additional instructions you might place at this site. Appending and/or using such files and data are not always intuitively obvious to everyone, e.g., me. Thanks.

Parent - By Ladyhawk (*) Date 2009-06-27 03:14

I have done exactly what you said, but it doesn't work for me.
I have selected a tree configuration wit only the moves of my opening book "ruy lopez closed".
If I open fritz and play against the new created uci engine whitch a called Rybka ABA, and let the engine play white, she doesn't play the ruy lopez at all, she sometimes even play's 1.d4

What should I do wrong?
Doe's it mater if there is an other openingsbook open in the book pane? Do I have to close the book pane?

I want to use this function to do fast engine against engine matches, and force the engines to only play the moves off the openingsbook, (I want to convert the books to pgn format).
In the fritz GUI I can tell how many moves the engines should play on after the moves off openingbook, in aquarium I can't.
I hope you can help me.

Regards, Jonathan
Parent - By mike27 (*) Date 2009-12-20 19:25
I just got this program, and I think you're experiencing what I am.  It's a huge learning curve, especially when you have used Chessbase products.

I'm just now converting the Powerbook to a database in Aquarium.  Truth his, there are some things I like about it, and some I don't.  I think Chessbase has the user interface down better, to be expected, and gives the user more information.  But it seems like you can do more with this program.  I've got 2010.

If you don't like it, you can easily put the engines into another folder, and create them in Chessbase.

One thing I have noticed though, is that HIARCS, Shredder, and a few others have moved back to the UCI, universal chess interface, instead of the proprietary Chessbase interface.  I wish Fritz would use them too, or offer one with their products.  But the whole idea with proprietary interfaces is like patents, so no one else can use them, or make money on them, and you'll have to buy only their products.

Sure, they need work.  But from what I can see, Chessbase is far from perfect.  They are on version 7 now for Fritz 12 for instance.  So they had some exterminating to do also, and from what I can tell, hopefully, there's more to come.  I can't get my Zap Chess 9 programs to play within Fritz 12, they close the program.  Shredder 9 is buggy too.
Parent - - By ernest (****) Date 2009-06-05 22:02

> able to use Aquarium books (and not only) with every GUI

What do you mean by "and not only": do you mean any tree?
Parent - By Dadi Jonsson (Silver) Date 2009-06-05 22:14
He is probably referring to CTG opening books.
Parent - - By Zruty (*****) Date 2009-06-08 08:10
By the way, the book adapter is free. If you paid someone for it, you were tricked.
Parent - - By bluesky62 Date 2009-06-08 08:23
I think Aquarium should be free also...
Parent - By Zruty (*****) Date 2009-06-08 08:50
Did you read our return policy? If you don't like Aquarium, request your money back.
Parent - By Felix Kling (Gold) Date 2009-06-08 10:00
more than 3 years of work by 1-3 programmers for free? What should they live from? :)
Parent - By buffos (Silver) Date 2009-06-08 13:37
Since you advocate working without payment, i am offering you a job at my company. You will work 10 hours a day for free (maybe some food...) and you will be happy :)
I would be really glad if you join.
Parent - - By stephanie (**) Date 2009-07-28 15:57
Another good suggestion to future book adapter is to make the engine ponder moves not in book while it is still on book.
Parent - - By Felix Kling (Gold) Date 2009-07-28 17:01
already included I think.
Parent - - By ppipper (*****) Date 2009-07-30 09:15
yes, current version actually does it
Parent - By stephanie (**) Date 2009-08-02 06:56
Another thing is that only ponder non-book moves may also waste cpu time. Let's say non-book move is evaluated by the engine as -9.00 so it is impossible that this non-book move will win, and it might be wise to skip it go to the highest probability book move 1-ply forward and ponder non-book moves there. Of course the eval-cutoff should be specified by the user.
Parent - - By Felix Kling (Gold) Date 2009-08-08 15:34
I'm currently working on a page about the adapter. Please post comments :)
Parent - - By Loboestepario (****) Date 2009-08-09 03:53
Nicely done.
I had never used the Adapter until now. One suggestion for those that use Fritz GUI, once you create the UCI engine, you have to modify the name to differentiate it from other Rybka UCI engines installed (of course only if you use a Rybka engine).

One question, I don't know if you have tried using as a second book a CTG created from a big IDeA file. It sounds interesting.
Just for fun, I'm using Rybka Dynamic and the Narrowbook as primary(only) book.

Gino Figlio
Parent - - By Felix Kling (Gold) Date 2009-08-09 09:39
"a CTG created from a big IDeA file"

You mean hsh book. If you have done IDeA for some positions this is of course a nice idea. but never tried it, since I manually add the IDeA results to my maintree.
Parent - By Loboestepario (****) Date 2009-08-09 16:02
Yes, sorry I meant hsh.
Parent - - By Rowlando (***) Date 2009-09-09 05:13 Edited 2009-09-09 05:28

> ...since I manually add the IDeA results to my maintree.

I'm intrigued by this comment.  Does this mean that you join the trees w/ Tree Utils adding the IDeA evals to maintree?  Or are you referring to the right-click option called 'Add moves to maintree'?
Parent - By Felix Kling (Gold) Date 2009-09-09 13:55
no, I remember the IDeA result and add it to my tree by browsing it manually. This way I also learn the new lines.
Parent - By Loboestepario (****) Date 2009-08-09 16:04
Thanks buffos, that is outstanding. Your i-book makes everything very easy to do and understand.
Parent - - By MrSpock4 (*) Date 2009-12-15 19:38
hi, folks...
i've just registered for this forum for the first time, and now i have a question on loading a new book i downloaded from the internet (Perfect 15).   I'm currently using the last updated version of aquarium, 3.2.1 before the 2010 upgrade which i may purchase soon.  however, my question is:  can i load this Perfect 15 book into the Aquarium version i have now and how do i do that?  i  downloaded the installer updates of this GUI posting here (both of them because i don't know the difference) and i see the window but i cannot type the Perfect 15 book in so i can choose that for an option in my ENGINE-SETUP section of aquarium like i did when i bought Jeroen's book which automatically inserted itself in the dropdown window of book choices for the rybka engine.  sorry if my question reads a little convoluted, but i'm not that computer-savvy and i'm just hoping that someone can help me do this thing.

Parent - By MrSpock4 (*) Date 2009-12-15 19:39
by the way, i have the Convekta version of Aquarium 3.2.1....
Parent - By Sipat Date 2010-01-03 10:26

> I have updated the Book Adapter files.


Does this adapter can be used with winboard engines? If not is there any plans in the next version?
Would be really nice if there is also support for winboard engines.

Have a nice new year.
Parent - - By POSITRON (**) Date 2010-02-06 01:02
what is book adapter?
Parent - - By Uly (Gold) Date 2010-02-06 01:07
It's an adapter that allows you to use Aquarium books (and thus, CGT books) under any interface that supports UCI engines.
Parent - By POSITRON (**) Date 2010-02-06 01:33
thanks, allready found a lot of text explaining it, i did not know that this exist, i am a children with a new toy :))
Parent - - By n1ok Date 2010-08-22 13:29
I use Rybka just for 1 year and i have ChessAsisstantPro11. İf i download  Standalone Version can i get ChessAsisstantPro11's books (i could't find any .ctg in CAP11 ) into Aquarium 2000? And how?

Thank you.
Parent - By Felix Kling (Gold) Date 2010-08-25 16:09
There are no ctg books in ChessAssistant (ctg is the Chessbase format). I don't know if Chess Assistant comes with any "books", maybe it has those usual statistic trees that are in Aquarium, too.
- - By admax Date 2009-08-28 15:12

your book adapter is very nice to use and now we can use .ctg books with every chess GUI. moreover its free !

but my question is : could i get the source code of this adapter? i mean i am writing a small chess GUI in c++, all is fine but the only book format that i can use in my GUI is polyglot book format (.bin books) because i found help only with this book format ( here there are 2 small samples pg_key.c and pg_show.c with which you can read inside a polyglot book). Or maybe just a sample code to read moves inside a .ctg book...

any help would be very appreciated !
Parent - - By dcorbit (***) Date 2010-09-10 00:04
Look at the code for DayDreamer or Brutus:

Both of them have a .ctg file reader.
Parent - By admax Date 2010-09-10 13:17
Oh! thats great! it is a very good news, i will take a look at this code ;)

thank you very much for these links
- - By admax Date 2009-09-06 16:54

it is possible to use parameters for a .ctg book with the BookAdapter?

for example, with fritz, in the book options we can chose to ''Optimize'' a book , to set the "minimum games" and "up to'' moves...

are these parameters automatically computed in the BookAdapter? can we change them? in editing the CTGExample for example (weights, functions...)

thanks in advance
Parent - By Felix Kling (Gold) Date 2009-09-06 17:47
You can change it by editing the book options in Aquarium, but you can't set the exact parameters as in chess base. Also the adapter can limit the book to a certain number of moves (look at the ABAGui)
Up Topic Rybka Support & Discussion / Aquarium / Aquarium Book Adapter update
1 2 Previous Next  

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill