Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Rybka Support / Rybka 4.1 Unofficial and Unsupported Features
- - By Vasik Rajlich (Silver) [pl] Date 2011-03-06 06:25 Edited 2011-03-06 06:32
Rybka 4.1 has two unofficial and unsupported features: config file support and search visualization. Both of these features are raw, incomplete, and somewhat buggy. I recommend that most users leave them alone. If you would like to try them anyway:

Config File Support

If a file named 'rybka.config' is placed in the same directory as the Rybka engine executable, Rybka will initialize herself based on the contents of this config file. Parameters which are specified in this config file cannot be changed later by the GUI.

The config file is also the (only) place to instruct Rybka to run an application which is capable of search visualization.

A sample config file is attached.

Search Visualization

Search visualization shows finer-grained information about search progress. Rybka 4.1 implements a somewhat bare search sampling protocol through which she sends fine-grained information about her search progress to a target visualization application. This visualization application can be specified and initialized in the config file.

The search sampling protocol used by Rybka 4.1 is implemented in the attached 'Rybka visualizer' application. This application is only at the proof-of-concept level at this point and has very limited capability, including lack of multi-PV support.
Attachment: rybka.config (3k)
Attachment: RybkaVisualizer.rar (62k)
Parent - - By keoki010 (Silver) [us] Date 2011-03-08 21:09
I just got finished installing the Visualizer.  Looks like it has great possibilities. Thanks. :smile:
Parent - By Dragon Mist (****) [hr] Date 2011-03-08 21:19
Do let us know your findings.
Parent - By Fulcrum2000 (****) [nl] Date 2011-03-08 21:42
Can you post some screenshots?. I'm to lazy to set it up :grin:
Parent - - By irulats (****) [ie] Date 2011-03-08 21:57 Edited 2011-03-08 22:06

> I just got finished installing the Visualizer


I'm having problems, keoki010. I've changed the config file to point to the visualizer and changed where the logs should go. However I've no tablebases, perhaps this is a problem? What tricks did you use to get it going?

Update: Got it! Looks nice. Here's a screen shot for Fulcrum2000.
Parent - - By Dragon Mist (****) [hr] Date 2011-03-08 22:17
Where is it?
Parent - By irulats (****) [ie] Date 2011-03-08 22:22

> Where is it?


Just as I was snipping it, I accidently closed the window, then it crashed Aquarium and I had to close everything with taskmanager. Sorry for the delay...:grin:
Parent - By Fulcrum2000 (****) [nl] Date 2011-03-08 22:26
Thanks!
Parent - - By Dragon Mist (****) [hr] Date 2011-03-12 10:17
Ok, everything done as it should be, but Visualizer windows never materialize?! Log file is fine, lot of stuff written there that looks like visualizer produced based on the above pictures, but R4.1 stalls after 4 seconds or so, and nothing happens. Checked config file, all looks ok, Nalimov path, Visualizer path, GUI Nalimov cache, etc. etc. What could be wrong? (so, to conclude: visualizer seemingly doing ok writting to logfile, but no visualizer windows appear, and R4.1 stalls after a couple of seconds)
Parent - - By irulats (****) [ie] Date 2011-03-12 13:09
I can't be sure, but if you have Win7 or Vista, it's probably a UAC problem where Rybka has no permissions for some of the folders specified in the config file. I stuck everything in same folder as the engines but I've no TBs. NB I use 'off' in the file extension to turn the feature off.
Attachment: rybka.configoff - Config File (3k)
Parent - By Dragon Mist (****) [hr] Date 2011-03-12 17:12
It's 32 bit Win XP so I don't believe this is the reason.
Parent - - By keoki010 (Silver) [us] Date 2011-03-12 14:17
Can you attach the uci log? I'll look at it maybe I'll see something.
Parent - By Dragon Mist (****) [hr] Date 2011-03-12 17:12
Ok, here it is.
Attachment: ucilogDeep4.1w325352.txt (32k)
Parent - - By Vempele (Silver) [fi] Date 2011-03-12 14:47 Edited 2011-03-12 14:49

> (so, to conclude: visualizer seemingly doing ok writting to logfile, but no visualizer windows appear, and R4.1 stalls after a couple of seconds)


I think Rybka writes the visualizer log.

Do you have .NET framework 4?
Parent - - By Dragon Mist (****) [hr] Date 2011-03-12 17:14
You lost me there, sorry.
Parent - - By Lukas Cimiotti (Bronze) [de] Date 2011-03-12 18:39
The visualizer is a NET framework application. It doesn't work without it. So you have to download it first and install it. It's free - and from Microsoft.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992
Parent - - By Dragon Mist (****) [hr] Date 2011-03-12 19:54
Thanks Lukas, I'll try it later and report what happens.
Parent - - By Dragon Mist (****) [hr] Date 2011-03-13 00:01
Got the dot thing, got visualizer working. Definitely not for laptop screens, though. :-)
Parent - - By Uly (Gold) [mx] Date 2011-03-13 00:27

> got visualizer working. Definitely not for laptop screens, though. :-)


You can change its size, or make different of them (like, one for Mainlines, one for Microsamples, etc.) in the .config file.
Parent - - By Dragon Mist (****) [hr] Date 2011-03-13 05:57
Aha! I can see where, too (Visualisation), but could you help me I don't see how to make say 6 windows?
Parent - By Uly (Gold) [mx] Date 2011-03-13 08:14
On this part of the config file:

                          _________________________
                          \                       /
                           \    Visualization    /
                            \___________________/

                     Visualizer Count : 3
                       Visualizer Log : True
                    Visualizer 1 Path : C:\Chess\Rybka4\Dot1\B4\Rybka Visualizer\Rybka Visualizer\bin\Debug\Rybka Visualizer.exe
                    Visualizer 1 Init : Name = Rybka 4.1 Visualizer A; Proven Main Line Count = 0; Main Line Count = 16; Search Sample Count = 0; Search Micro Sample Count = 0; Width = 800; Location = 300,   300; Score Change Is New Main Line = True;
                    Visualizer 2 Path : C:\Chess\Rybka4\Dot1\B4\Rybka Visualizer\Rybka Visualizer\bin\Debug\Rybka Visualizer.exe
                    Visualizer 2 Init : Name = Rybka 4.1 Visualizer B; Proven Main Line Count = 0; Main Line Count = 0; Search Sample Count =  16; Search Micro Sample Count =  0; Width =  800; Location =   300, 300; Score Change Is New Main Line = False;
                    Visualizer 3 Path : C:\Chess\Rybka4\Dot1\B4\Rybka Visualizer\Rybka Visualizer\bin\Debug\Rybka Visualizer.exe
                    Visualizer 3 Init : Name = Rybka 4.1 Visualizer C; Proven Main Line Count = 0; Main Line Count = 0; Search Sample Count =  0; Search Micro Sample Count =  16; Width =  800; Location =   300, 300; Score Change Is New Main Line = False;
                    Visualizer 4 Path :
                    Visualizer 4 Init :
                    Visualizer 5 Path :
                    Visualizer 5 Init :
                    Visualizer 6 Path :
                    Visualizer 6 Init :

If you want 6 windows just fill in the extra paths, and configure them. The paramaters should be self-explanatory (or they were to me).
- - By Moz (****) Date 2011-03-08 22:39
Visualizer looks cool but is it actually useful? If so, how so? :grin:
Parent - - By irulats (****) [ie] Date 2011-03-08 22:56

> Visualizer looks cool but is it actually useful? If so, how so?


I don't know! :grin:

But I like having speakers that you can turn up to eleven.

http://www.youtube.com/watch?v=ll7rWiY5obI  :lol:
Parent - By Moz (****) Date 2011-03-08 23:04
:lol: Point taken!
Parent - - By Uly (Gold) [mx] Date 2011-03-08 23:05

> Visualizer looks cool but is it actually useful?


For a more efficient analysis, no.

For PV analysis, you can get everything that the Mainlines window shows into your analysis (so you get more moves into it, in the same time, and you know what moves refuted the ones that disappeared in the PV).

If you look at the MicroSamples window, you can see what the engine is doing by the minute.

And in the Search Samples window you can see how the score becomes more and move accurate as it gets near the root.

All that looked more useful in my imagination, but in practice, I'm back to not using the visualizer.
Parent - By Moz (****) Date 2011-03-08 23:13

> For PV analysis, you can get everything that the Mainlines window shows into your analysis (so you get more moves into it, in the same time, and you know what moves refuted the ones that disappeared in the PV


I can see that being very useful if it was integrated into the UI the way that Sampled Search is integrated in Aquarium (you can insert lines from sampled search into notation or copy/paste it into IDeA etc.) Refutations are always useful when building a tree.
Parent - - By Dragon Mist (****) [hr] Date 2011-03-09 00:26
Ok, one thing: does using visualizer slows down engine in any way? If not, then it is useful.
Parent - - By Uly (Gold) [mx] Date 2011-03-09 00:43
It does not slow it more than Sampled search. Maybe you're losing 0.001 elo or something.
Parent - By Dragon Mist (****) [hr] Date 2011-03-09 05:18
Think I'm gonna use it then.
Up Topic Rybka Support & Discussion / Rybka Support / Rybka 4.1 Unofficial and Unsupported Features

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill