root/05/release-0.5g/doc/tutorial.html

Revision 1, 71.2 kB (checked in by ugz, 5 years ago)

Initial repository layout

Line 
1<HTML>
2<HEAD>
3<TITLE>Kombilo - tutorial</TITLE>
4
5<meta name="description"
6content="Kombilo - a go database program">
7<meta name="keywords"
8content="kombilo go weiqi baduk database">
9<meta http-equiv="expires" content="1800">
10<meta name="robots"
11content="INDEX,FOLLOW">
12<meta name="author"
13content="Ulrich Goertz">
14</HEAD>
15
16<BODY bgcolor=#FFFFFF>
17
18<div style="width:600px">
19
20<H1>Tutorial</H1>
21<img src="logosmall.jpg" align=RIGHT>
22This tutorial explains how to use Kombilo 0.5. If you are just looking
23for more information on this program before downloading it,
24you should find it here too.<p>
25
26<div style="border:none; padding:3px; width:600px;
27background-color:#CCCCCC; z-index:1"> 
28<font size="4"><b>Contents</b></font></div><p>
29
30<a href="#newin05">New features in version 0.5</a><br>
31<a href="#gettingstarted">Getting started</a><br>
32<a href="#firstsearch">The first search</a><br>
33<a href="#moresearchpatterns">More complicated search patterns</a><br>
34<a href="#sgfeditor">The SGF editor</a><br>
35<a href="#exportresults">Export search results/current position/SGF</a><br>
36<a href="#gamelistwindow">The game list window</a><br>
37<a href="#analyzing">Analyzing a game</a><br>
38<a href="#gameinfosearch">Game info search</a><br>
39<a href="#signaturesearch">Signature search</a><br>
40<a href="#editDBlist">The database list</a><br>
41<a href="#custommenus">The custom menus</a><br>
42<a href="#guessmode">Guess next move mode</a><br>
43<a href="#configure">Configuring Kombilo</a><p>
44<a href="#installation">Installation</a><br>
45<a href="#requirements">Requirements on SGF files</a><br>
46<a href="#troubleshooting">Troubleshooting</a><br>
47<a href="#tipsandtricks">Tips and tricks</a><br>
48<a href="#searchalgorithm">The search algorithm</a><br>
49<a href="#index">Index</a><br>
50<p>
51
52<div style="border:none; padding:3px; width:600px;
53background-color:#99CCCC; z-index:1"> 
54<a name="newin05"><font size="4"><b>New features in
55version 0.5</b></font></a></div><p>
56
57<ul>
58
59<li> Kombilo comes with a complete SGF editor: so you can add variations of
60  your own, comment the game, add labels etc. The SGF editor can also
61  handle collections, i.e. SGF files containing several games. The tree
62  structure of the current game is shown in a separate window. You can
63  rotate/mirror SGF files.
64
65<li> Kombilo now comes with a built in list of references to commentaries
66  of games in the English go literature. (NB: Kombilo does not come with
67  the game records, but recognizes the games by the Dyer signature.) Those
68  games in your database which Kombilo finds in its list are marked in the
69  game list, and in the game info a reference to the journal/book which has
70  the commentary is given. Currently the list contains around 1200
71  references, and includes references to the game commentaries in 85 issues
72  of Go World and in most English go books with game comentaries.
73
74  Any <a href="#references">help with extending the list</a> is
75  appreciated.
76
77<li> The previous search patterns are now shown on small boards in a
78  scrollable separate window. Thus you can switch back and forth between
79  different search patterns much more easily. This also works much better
80  now with different SGF files. In particular, you can load games from the
81  game list directly to the Kombilo main board, and then search for
82  patterns which arise in that game.
83
84<li> You can sort the game list with respect to one of several criteria
85  (besides the default, sort by filename, you can now also sort by date,
86  white player or black player). You can also easily change the order of
87  the databases.
88
89<li> You can refine pattern searches by filtering who moves next in the
90  search pattern.
91
92<li> And, as always, several minor improvements, fixes and changes:
93  e.g. case-insensitive game info search; a "1-click mode" where every
94  click on the board triggers a new pattern search; exporting the current
95  position as an ASCII diagram; a "guess next move" mode.
96
97<li> In order to install Kombilo, you can either use the installer (on Windows
98systems), or install Python (version 2.1 or better) and Kombilo separately.
99Since the user interface uses a few more fancy widgets, Kombilo now needs
100the Python MegaWidgets (Pmw) library to be installed on your system. Of course,
101Pmw comes with the Windows installer. But if you install(ed) Python separately,
102you have to install Pmw, too. Similarly, if Kombilo finds the Python
103Imaging Library (PIL) available, it will use (somewhat) more beautiful stones.
104PIL comes with the Windows installer, but has to be installed separately
105otherwise, if you want to use it. See the section on <a href="#installation">
106installation</a> for more details.
107</ul>
108<p>
109
110<div style="border:none; padding:3px; width:600px;
111background-color:#99CCCC; z-index:1"> 
112<a name="gettingstarted"><font size=4><b>Getting started</b></font></a>
113</div><p>
114
115After <a href="#installation">installing</a> Kombilo, you should
116execute the file 'kombilo.py' (or, under Windows: 'kombilo.pyw'
117(if you downloaded Python separately) respectively 'kombilo.exe',
118if you used the installer).
119
120Three windows will pop up: The main window,
121with a go board and some buttons for navigation, the game list
122window with an (initially empty) game list, and some buttons for
123the search function, and the data window which contains several lists and
124buttons related to the SGF editor.<p>
125
126<IMG SRC="mainwindow.jpg">
127<IMG SRC="gamelistwindow.jpg">
128<IMG SRC="datawindow.jpg"><p>
129
130The first thing you have to do now is to add a database to the
131database list; choose the 'Edit DB list' command in the File menu.<p>
132A database corresponds to a directory of SGF files; it contains all the SGF
133files in that directory. Kombilo does not come with any games. You can
134either
135<a href="../go/index.html">download a game collection</a> from the net, or buy a commercial one.<p>
136See also the section <a href="#requirements">requirements on SGF files</a>
137in order to understand which kind of SGF files the program can handle;
138basically, it handles simple game records, they may contain
139variations, but the variations are ignored for the search.
140<p>
141
142<IMG SRC="editdblist.jpg"><p>
143
144When you add a directory for the first time, the SGF files will
145be 'translated' into a format that makes the search more efficient.
146This processing takes quite some time; if you have thousands of games,
147it will take several minutes even on a very fast machine.
148But this has only to be done once. The
149data will be written to several .db files in the same directory.
150Look <a href="#editDBlist">here</a> for more information on the
151buttons in this window.<p>
152
153Of course the sgf files remain in the directory, and Kombilo will never
154change them (unless you change the game info or edit the games, of course).
155After the processing, the pattern search function actually
156does not use them anymore, but they are needed for the game info search
157and if you want to play through games with the SGF viewer.
158<p>
159
160<b><a name="oldTknote">Note:</a></b> (As far as I can tell, this is not an
161issue anymore with recent Python versions; in particular if you used the
162Windows installer, you should be fine.) In some Python versions the widget
163for selecting a directory is not available. (Technically speaking, they
164come with an old Tk version; Tk is the programming language underlying
165the GUI toolkit.) As a
166consequence, the program will crash once you press the 'Add DB' button
167in the 'Edit DB list' window. I think that this is mainly a problem on
168Windows95/98 systems, but it may happen on other systems, too. <BR>
169There is the following work-around: Check the 'Old Tk version'-option
170in the 'Advanced' submenu of the options menu. Now the 'Add DB' button
171will bring up a widget to select a file; this widget is always available.
172In order to select a certain directory which should be added as a
173database, you have to select any file in it. <BR>
174It is still possible to add all subdirectories of some directory
175at the same time, by the 'Add subdir's recursively' option. To do so,
176you have to select a file in the main directory. (If it doesn't
177contain any files, but only the subdirectories you want to add,
178you have to copy any file to that directory first. Don't take
179an sgf file because (probably) you don't want that sgf file to
180show up in the database.)<p>
181
182<div style="border:none; padding:3px; width:600px;
183background-color:#99CCCC; z-index:1"> 
184<a name="firstsearch"><font size="4"><b>The first search</b></font></a>
185</div><p>
186
187<table border="0" width="100" cellpadding="6" align=RIGHT>
188<tr><td><IMG SRC="expl_basic.jpg"></td></tr>
189<tr><td><i>Place stones on the board by clicking. Ctrl-click to remove
190stones, and Shift-click to place wildcards. Mark the search-relevant
191region by right-click and drag</i></td></tr>
192</table>
193Now the game list should contain some files, and you can start the first search.
194<br>
195
196With the right mouse key (click and drag) you can select the
197search-relevant region; the rest of the board will be grayed out.
198(If you prefer to have the relevant region itself to be darker, as was the
199case in previous Kombilo versions, select the "Invert selection" option in
200the options menu.)
201<img src="expl_select.jpg" align="left" vspace="10" hspace="20">
202Everything outside that
203region is ignored: on the one hand it does not matter if there are additional
204stones on the main board, on the other hand all games will be found which feature
205the given pattern in the relevant region, no matter what else is on the board.
206Of course, mirroring and rotating the board is automatically taken into account.<p>
207<img src="onepixel.gif" width="600" height="20">
208
209<table border="0" width="100" cellpadding="6" align=RIGHT>
210<tr><td><IMG SRC="expl_color.jpg"></td></tr>
211<tr><td><i>You can either place black and white stones alternatingly,
212or stones of one color only.</i></td></tr>
213</table>
214
215When no region is selected, the whole board is relevant.<br>
216
217After defining the pattern and the relevant region, just press the search button
218(in the lower left corner of the game list window).
219Then the game list will be erased, and afterwards all games in which the
220given pattern occurs will be inserted again. In order to go back to the
221complete game list, use the "reset game list" button in the first row of
222the "Pattern search" window.<p>
223
224If you click on a game in the game list, the game info (players, result, komi,
225event, date etc.) is displayed below the game list.<p>
226<IMG SRC="results.jpg"><p>
227By double-clicking on a game in the game list, you load the game to the
228SGF editor and you can look at that game. You can also start the viewer by
229selecting a game (by a single click) and pressing the return key.
230If you prefer to open the game in a new window, use Shift-Click instead of
231double-clicking; cf. the <a href="#externalviewer">Open game in external viewer</a>
232option.
233(If you like, you can use your customary SGF editor instead of the simple SGF viewer coming with Kombilo;
234use the 'Alternative SGF viewer' command in the Options menu.
235(Linux/Windows only,I think)) <p>
236By clicking on a game with the right mouse key, a window will pop up
237where the complete game info is displayed, and can be edited.<p>
238
239Furthermore, below the game list some statistics will be shown about the
240continuations in the given position.
241
242In the first line you find the number of hits (which, obviously,
243can be bigger than the number of games in the list); after this number,
244in parentheses, is the number of matches with colors as on the board
245respectively reversed colors. Finally, you get the B/W winning
246percentages corresponding to the hits (i.e. a game where the pattern
247occurs several times, is counted that often). <br>
248Below some information on the continuations in the search position
249is given. For the ten most frequent continuations, you get<br>
250- the number of hits in which this continuation is played<br>
251- graphically, it is shown, how often white played at this point
252  after a tenuki (light gray), how often white played there directly
253<table border="0" width="120" cellpadding="5">
254<tr><td><img src="statistics.jpg" align="left"></td></tr></table>
255  after the pattern was finished (white), how often black
256  played there directly after the pattern was finished (black),
257  and finally how often black played after tenuki at the given point.<br>
258- finally, below the letter labelling the corresponding point on the board
259  (use the ABC button to display the labels on the board), you get
260  the black winning percentage for white playing at this point,
261  and then the black winning percentage for black playing there.
262  (Because there is not enough space, the winning percentage for white is
263  not given, but of course (neglecting jigos etc.) it will be
264  100% - black winning percentage.<br>
265
266You can disable the 'show tenuki' feature by setting the colors
267used for it to white resp. black in the Options menu (Advanced -
268Customize appearance).<br>
269
270Click on the 'ABC' button above the board in order to display the
271corresponding labels on the board. The labels are ordered by the number of
272occurrences of the corresponding continuation. (Unless there were already
273labels present in the search pattern: in that case Kombilo will use those
274labels to refer to the same intersections, and thus will not sort by
275frequency.)<p>
276
277<IMG SRC="joseki_dict.jpg" align="right"><p>
278If you have a sufficient number of games in your databases,
279this lets you create fuseki and joseki
280dictionaries very easily:
281
282The color of the label indicates whether black or white (or both,
283depending on the game, in case of the gray labels) played on this point.
284<p>
285
286
287After a search, you can clear the board with the 'start' button above the board.
288You can reset the game list (such that it contains all the games again) with the
289"reset game list" button in the pattern search window (left of the statistics
290display). In the file menu, you can also choose to do a "complete reset" - that will
291reset Kombilo to the state right after it started up.
292
293
294<div style="border:none; padding:3px; width:600px;
295background-color:#99CCCC; z-index:1"><a name="moresearchpatterns">
296<font size="4"><b>More complicated search patterns</b>
297</font></a></div><p>
298
299There are several buttons to customize the search in the game list
300window:
301<img src="searchoptions.jpg" align="left" vspace=10 hspace=10>
302Usually the pattern obtained by reversing the colors is
303searched for too, but you can disable that with the 'fixed color'
304option. <br>
305As a default, Kombilo uses the 'smart fixed color' option,
306which automatically enables 'fixed color' for whole board
307searches, and disables it for all other searches. You can change
308that in the options menu; see also <a href="#configure">below</a>.
309
310Furthermore, for a pattern on the edge or in the middle of the board,
311the program also looks for translations; this can be disabled
312by the 'fixed anchor' option.<p>
313
314With the "black/white", "black" and "white" buttons in the line below
315you can limit the search to patterns where black plays next or
316white plays next. This is sometimes useful, in particular for joseki
317searches with very few stones on the board. The default is to allow either
318a black or a white continuation (or no continuation at all).
319
320Finally, you can impose a move limit, such that only games
321are found where the pattern occurs before the given limit.<p>
322
323You can also add wildcards to the search pattern, by shift-clicking on
324some point. These will be marked by small green circles, and mean that
325in the search these points may be either empty or contain a stone of
326either color.<p>
327
328For example, the following pattern finds all kos (that are not on the edge):<p>
329
330<IMG SRC="search_patt_ko.jpg"><p>
331
332<div style="border:none; padding:3px; width:600px;
333background-color:#99CCCC; z-index:1"> 
334<a name="sgfeditor"><font size="4"><b>The SGF editor</b></font>
335</a></div><p>
336
337You place stones by clicking (with the left mouse key) on an
338intersection. The four left-most buttons above the board control if you
339play black/white (resp. white/black) stones alternatingly, or if you place
340black (resp. white) stones, in order to set up a position.<p>
341
342In order to delete stones or to place labels, you have to select the
343appropriate tool among the 'edit tools' in the data window. Then you can
344perform the corresponding operation by holding down the Control key and
345clicking on an intersection.<p>
346
347With Shift + right-click you can go to the node where some move was/will
348be played.<p>
349
350Kombilo's main board has two more features which are related to the pattern
351search: You can place wildcards on the board (resp. delete them) by
352shift+click, and you can select the relevant area for the pattern search by
353clicking the right mouse key, and dragging.<p>
354
355The navigation keys above the board let you move around in the current game
356record: one move back, one move forward, 10 moves back, 10 moves forward,
357to the beginning resp. to the end of the current game. All these can also
358be done by <b>using keys</b>: left, right, up, down, home, end.<p>
359
360In order to <b>clear the board</b>, use the "start" button.<p>
361
362If the current SGF file contains variations, you can switch between the
363alternatives for the current move with the PageUp and PageDown keys.<p>
364
365<IMG SRC="boardbuttons.jpg" ALIGN=RIGHT>
366
367Pass: Insert a pass move.<p>
368
369Game info: View/edit the game information which is stored in the root node
370of the current game (black/white players, ranks, result, komi, date, rules,
371etc.)<p>
372
373DATA: Open/withdraw the data window.<p>
374
375
376<h3><a name="datawindow">The data window</a></h3>
377
378In the toolbar at the top you can choose which of the following frames you
379actually want to see. For example, if your SGF files all contain only one
380game each, you will not need the game list. Thus you can save some space on
381your screen by hiding some of the components of the data window.<p>
382
383<b>File list</b><p>
384
385<IMG SRC="filelist.jpg" ALIGN=RIGHT>
386This is a list of all SGF files that have been loaded during the current
387session. The currently active file is highlighted; you can change that by
388clicking on another item in the list. The buttons on the right let you
389create a new file, open a file from disk, delete a file, or split a
390collection. Deleting a file just means deleting it from this file list. The
391file on your disk will not be deleted. Splitting a collection serves to
392split an SGF file which contains several games into many files with one
393game each. You will be asked for a filename, and the files will then be
394saved under the names filename0.sgf, filename1.sgf, filename2.sgf, etc.<p>
395
396If changes have been made to a file after it has been saved, the file name
397is preceded by a *. Kombilo will never ask you if you want to save the
398changes, so you have to pay attention to the *, and save the files
399yourself, if you want to keep the changes!<p>
400
401<b>Game list</b><p>
402
403<IMG SRC="gamelist.jpg" align=RIGHT>
404This is a list of game records in the current SGF file. You can select
405games by clicking on them, and change the order by drag and drop.
406The buttons on the right let you create new games and delete games from the
407list.<p>
408
409<b>Game info</b><p>
410
411This shows part of the game information (names of players, result, date,
412etc.) of the current game. In order to see the full game information, or to
413edit it, use the "i" button above the go board.<p>
414
415<b>Game tree</b><p>
416<IMG SRC="gametree.jpg" ALIGN=RIGHT>
417Here the tree structure of the current game is shown. Nodes with a
418black/white move are shown black resp. white; others are red. Nodes with a
419comment or a label on the board have a small blue dot in the center.<br>
420
421The green mark shows the current move (i.e. it corresponds to the position
422currently shown on the main board).<br>
423
424By clicking on a node, you can go to the corresponding move.<p>
425
426<b>Edit tools:</b><p>
427
428The first few buttons in this frame control the behavior of Ctrl-click on
429<IMG SRC="edittools.jpg" ALIGN=RIGHT>
430the board: you can either delete a stone or place/remove one of several types
431of labels. Furthermore, there is a button to delete a node in the SGF tree and all
432nodes following it, and there are three buttons to mirror/rotate the current
433SGF file. Finally there is the button to enter/leave the
434<a href="#guessmode">guess mode</a>.
435<p>
436
437<b>Comments</b><p>
438In this window the comments which the SGF file contains for the current node are
439displayed.<p>
440
441<b>Kombilo: Search history</b><p>
442
443This frame contains a list of previous search patterns.
444Click on one of the small boards to go back to the corresponding pattern
445search (i.e. the pattern and the game list are restored to what they have
446been right after the search).<p>
447
448<IMG SRC="searchhistory.jpg" ALIGN=LEFT>
449A right-click on one of the board brings up a small menu, which lets you
450delete that entry, put the entry on hold resp. release it. Since storing
451these patterns and the lists of results consumes quite some memory
452(though less than it used to in previous versions),
453on machines with little memory it is useful to set a
454<a href="#maxnumsearches">maximum number of searches which are remembered</a>.
455Entries on hold will not be affected by this automatical deletion. These
456entries are marked by a blue frame.<p>
457
458<div style="border:none; padding:3px; width:600px;
459background-color:#99CCCC; z-index:1"> 
460<a name="exportresults"><font size="4"><b>Export search results/current position/SGF</b></font>
461</a></div><p>
462
463If you want to save some information on a pattern search, you
464can use the 'Export search results' function in the File menu.
465This will open a new window with a very simple text editor.
466It will contain the search pattern, the search pattern with
467the continuations, some statistical information on the search,
468and the number of hits in each database.<br>
469
470You can edit the information and in the end save the text to a
471file. I would be interested in hearing your opinion if other
472or additional information should be given, or if the information
473should be presented in another format.<br>
474
475Before the text editor opens, you will be asked if you want "ASCII" or
476"Wiki" style output.
477Usually you will choose 'ASCII', which produces plain text.
478If you want to use the output for Sensei's Library, choose
479'Wiki' instead.
480You can also choose if all continuations,
481or if only ten of them should be displayed. <p>
482
483The text editor has a button which lets you include the complete
484current game list (names of players, etc.).
485
486Similarly, you can "Export current position": this will open a text editor
487with the current position. Again, you can choose "ASCII" or "Wiki" type. In
488addition, Kombilo can put the next moves (up to 9 moves) on the board,
489marked by the numbers 1 to 9.
490
491Finally, you can also export the SGF source of the current game, in a text
492editor.
493
494<div style="border:none; padding:3px; width:600px;
495background-color:#99CCCC; z-index:1"> 
496<a name="gamelistwindow"><font size="4"><b>The game list
497  window</b></font></a>
498</div><p>
499
500At the top, the game list window shows the number of games currently in the
501list, and the B/W winning percentages (the two numbers will often not
502add up to 100% since there might be Jigo's, unfinished games etc.)
503
504Right below the list, there is a frame where (part of) the game information
505for the currently selected game in the list is shown (just click on a game
506to select it).
507
508Below that, there is a "notebook" with one sheet each for the pattern
509search and the game info search.
510
511In the pattern search window, there are several buttons and switches. <br>
512<table border="0" width="100" cellpadding="6" align=RIGHT>
513<tr><td><IMG SRC="backreset.jpg"></td></tr>
514<tr><td><i>The 'back' and the 'reset' button.</i></td></tr>
515</table>
516The 'back' button jumps back to the previous search: the position on
517the board is restored as well as the game list. (Previous search patterns
518are also shown on small boards in the "History" frame of the data window.)<br>
519
520The 'reset' button serves to reset the game list, i.e. to put all
521the games from the currently active databases in it, again.<p>
522
523With the ABC button, you can display the labels showing the continuations
524in the current search pattern (resp. remove them again).
525
526The "1-cl." button toggles the <a name="oneclickmode">1-click mode</a>.
527If this mode is active, every click on the board triggers a search. That
528can be quite practical in order to play through joseki sequences, say.
529
530If this mode is inactive, single clicks will just place a stone on the
531board. In this case, you can place a stone and start a search at the same
532time by double-clicking.
533
534Below these buttons there are several buttons to control the behavior
535of the pattern search engine.
536
537Last but not least, in the game list window there is the
538button to start a pattern search.
539
540In the game info search window, you see entry fields for the search
541criteria: white/black player, player, event, etc.
542
543If you select the 'Referenced' option, only games with a reference to a
544commentary will be shown.
545
546You can make the game info search case insensitive by checking the
547corresponding box.
548
549The "clear" button clears all entries; the back and forward buttons restore
550the entries from previous searches. Unlike the back button for pattern
551searches, they do not change the game list. Last but not least, there is
552the button to start a search; you can also start the search by pressing
553Enter in one of the entry fields.
554
555The <a name="gotofield">"Go to:" field</a>
556<IMG SRC="gotogame.jpg" ALIGN=RIGHT>
557makes it easy to find specific games in the game list quickly. In
558order to use this feature you should ensure that the complete database is
559ordered (you can always do that by unchecking the 'sort by database'
560option; if the order of the databases is consistent with the sort
561criterion, that might not be necessary, though). The 'Go to' entry always
562works with respect to the current sort criterion.  Let's assume that you
563sorted the database by filename. Then entering something in the 'Go to'
564field will jump to the closest game in the game list the filename of which
565starts with what you entered.
566
567Finally there is the button to start a <a href="#sigsearch">signature
568search</a>.<p>
569
570<b><a name="references">References to commentaries</a></b><p>
571
572Kombilo has built in a list of references to game commentaries in the
573english go literature. The games are referenced by the Dyer signature (a
574signature assigned to the game which encodes the positions of move 20, 40,
57560, 31, 51, 71, and which in practice characterizes a game uniquely); in
576particular Kombilo does not contain the game records. If Kombilo recognizes
577a game for which it has a reference, hte corresponding line in the game
578list is preceded by a star, and a line which gives the actual reference is
579appended to the game info which is shown when that line in the game list is
580selected. (This is printed in blue, to show that it is not part of the game
581info proper, but was added by Kombilo.)
582<IMG SRC="references.jpg" ALIGN=LEFT vspace=10 hspace=10>
583Currently, the list contains around 1200 references; in particular all but
58410 issues of Go World, and most English books with game commentaries that I
585know of.<p>
586
587The references are stored in the file "references" in the main Kombilo
588directory. This file consists of two parts: first, a list of journals and
589books for which references should be shown. The second list contains the
590actual references, in the form 'signature journal/book issue'.<p>
591
592If you want only references to sources which you own to be shown, you can
593delete those books/journals which you don't own from the
594first list, without changing the second list, and then the corresponding
595references will be ignored by Kombilo. Differentiating between
596different issues of a journal is more complicated: in that case you have to
597edit the second list, and delete all references to those issues which you
598don't have.<p>
599
600Of course, additions to the list of references are very welcome. For one
601thing, there are a few issues of Go World which I don't own myself (no. 25,
602and 33-41), and which are therefore missing; furthermore, I think it would
603in principle be sensible to add references to other journals, like the
604American Go Journal, the British Go Journal, the Deutsche Go-Zeitung,
605the Revue Francaise de Go, etc. I will probably start adding more
606references to Go Review, myself. Your help to make the list more complete
607would be appreciated. If you are interested, please contact me, so that we
608can agree in which format you could send me the references, and to avoid
609that any references are collected twice.<p>
610
611<div style="border:none; padding:3px; width:600px;
612background-color:#99CCCC; z-index:1"> 
613<a name="analyzing"><font size="4"><b>Analyzing a game</b></font></a>
614</div><p>
615
616If you want to analyze a game of your own, just load it into the main board with
617the 'Open' command in the file menu (or use the 'Open' button next to
618the file list in the data window). Use the navigation buttons to
619navigate through the file, and search for patterns appearing in your game:
620for the first few moves you may want to do a whole board search, in order
621to see up to which point the fuseki
622you played also occurs in professional games, and afterwards you have
623to select an appropriate relevant region.<p>
624
625You can also load a fuseki or joseki dictionary
626For example, Kombilo works quite well with Kogo's joseki dictionary.
627To navigate all the variations, you should enable the 'Show next move'
628option.<p>
629
630<div style="border:none; padding:3px; width:600px;
631background-color:#99CCCC; z-index:1"> 
632<a name="gameinfosearch"><font size="4"><b>Game Info search</b></font></a>
633</div><p>
634
635If you are looking for games by a particular player, from a particular
636event or from a certain time period, you can use the
637game info search. This is basically a text search in the SGF game records.<p>
638
639<img src="isearch.jpg" align=RIGHT>
640The games have to match all the requirements (Black Player, Event, ...)
641simultaneously. The corresponding string does not have to occur at the
642beginning of the data (i.e. if you enter 'Chikun' as player,
643games where Cho Chikun plays will be found).<br>
644
645The 'Anywhere' entry is simply a text search in the SGF file. This allows
646you to search for the result (use 'RE[W' or 'RE[B'), for games which
647have a game comment (use 'GC['), etc.<br>
648
649<p>
650
651<div style="border:none; padding:3px; width:600px;
652background-color:#99CCCC; z-index:1"> 
653<a name="signaturesearch"><font size="4"><b>Signature search</b></font></a>
654</div><p>
655
656<img src="ssearch.jpg" align=RIGHT>
657In order to check for duplicates in the database, Kombilo
658computes a modified
659<a href="http://www.andromeda.com/people/ddyer/go/signature-spec.html">Dyer signature</a>
660 of every game in the database. The signature of a game is
661given by the coordinates (in SGF format) of the moves 20, 40, 60,
66231, 51, 71. This almost always characterizes a game uniquely.<br>
663
664In order to detect games which differ only by a symmetry of the board,
665Kombilo uses a symmetrized Dyer signature: the Dyer signatures
666for the game and for all rotations/reflections of the game
667are computed, and then the smallest of these (with respect to
668the lexicographic order) is stored.<br>
669
670You can also search for the signature. This might be useful
671to see if a certain game is in the database if you have
672the game record in some (foreign-language) book, say, and cannot read the
673player's names.<br>
674
675Press the 'signature search' button, and a window will
676pop up, where you can enter the coordinates of the corresponding
677moves. If you click on an intersection on the board,
678the corresponding coordinates will be entered in the
679currently active text entry below, and the next entry will be made
680active. So you can enter the signature simply by clicking on
681the places where moves 20, 40, ... were played. You can also omit
682some of them (in most cases, two or three of the moves will
683be enough to characterize a game uniquely).<p>
684
685<div style="border:none; padding:3px; width:600px;
686background-color:#99CCCC; z-index:1"> 
687<a name="editDBlist"><font size="4"><b>The database list</b></font></a>
688</div><p>
689
690For Kombilo, a database is just a directory with SGF files in it.
691The database list is thus a list of directories. These contain
692the SGF files in which Kombilo will search for a given pattern.<br>
693
694Before you start working with Kombilo, you have to choose
695the databases (i.e. you have to tell Kombilo where your SGF
696files are). This is done in the 'Edit DB list' window
697(available via the File menu). In this window, the list of
698databases is shown, and you can<p>
699
700<b>Add databases</b> This lets you choose a directory of SGF files
701which is then added to Kombilo's database list. Because the SGF files
702have to be translated into a format which is more suitable for
703the pattern search, this takes some time.<br>
704If you check the 'add subdir's recursively' option, then all
705subdirectories (and their subdirectories ...) of the directory you
706choose will be added, too.<br>
707
708The optimal size (i.e. number of SGF files) of the databases
709depends mostly on the amount of memory in your computer.
710I recommend a size of  1000-2000 SGF files per
711database; that should be fine on almost every system.
712If you have a lot of memory, you can experiment with larger databases,
713but the performance gains are usually not that big.
714<p>
715
716<b>Toggle normal/disabled</b>
717If you want to temporarily exclude a database from some searches,
718select it and use this button to set its status to 'disabled'.
719It will then be marked as 'DISABLED' in the database list.
720Its games will not show up anymore in the game list, and
721will not be found by any search. Nevertheless, Kombilo's
722database files written during the processing are still
723available, and if you toggle the status back to 'normal',
724you can use that database again without processing it again.
725<p>
726
727<b>Remove a database</b>
728If you want to remove a database from Kombilo's list completely,
729select it and press this button. The database files Kombilo
730has written will
731then be deleted. Of yourse, the SGF files themselves will not
732be deleted (Kombilo will actually never change them.)
733If you want to add this database again later, it will
734have to be processed again.
735<p>
736
737<b>Reprocess a database</b>
738If you made any changes to the SGF files in one of the
739database directories (or added/deleted SGF files in there),
740you should reprocess the database, so that the pattern search
741really uses the information corresponding to the current
742version of the SGF files.
743<p>
744
745<b>Stop processing</b>
746If you chose to add a lot of subdirectories of some directory
747at the same time (with the 'add subdir's recursively' option),
748and see that the processing takes too long, you can interrupt
749it with this button. The currently processed database will
750be finished, and then the processing will stop.<p>
751
752<b>Save messages</b> 
753If there are errors in the SGF files, or if Kombilo
754finds duplicates, a message is issued. The 'save messages'
755button allows you to save these messages into a file,
756such that you can look at them later again in order to
757correct the errors. (After correcting any errors,
758you should reprocess the corresponding databases.)<p>
759
760With Ctrl-click and Shift-click you <b>can select several databases</b> in the
761list simultaneously. The "Toggle normal/disabled", "Remove" and "Reprocess"
762buttons will then apply to all the selected databases.<p>
763
764<b>Changing the order of the databases:</b>
765You can use "drag and drop" for the items in the database list and thus
766change the order of the databases. If you sort the game list per database,
767the order of the databases will be reflected in the game list.<p>
768
769
770<b>Processing options</b> 
771You can choose to add all files with file names anding in .sgf, or files with
772filenames ending in .mgt or .sgf, or to add all files in the concerning
773directories.
774Furthermore you can have all subdirectories of the chosen directory added, too.
775Finally, you can specify a place where the Kombilo database files should be written.
776The default is to write them to the same directory as the SGF files they
777are associated to. (This choice has to be made before adding the database; it's not
778possible to change it, later.)
779
780<div style="border:none; padding:3px; width:600px;
781background-color:#99CCCC; z-index:1"> 
782<a name="custommenus"><font size="4"><b>The custom menus</b></font></a>
783</div><p>
784
785The custom menus can be used to add your own menu entries.
786Upon selecting a menu entry, Kombilo can do a pattern search for some
787pre-defined pattern and/or a game info search and/or open a html file in
788your web browser. For example, you could create entries for fuseki or
789joseki patterns, for players, or for titles.<p>
790<img src="custommenus.jpg" align=RIGHT>
791
792To edit the custom menus, select the corresponding entry in the Options
793menu. You see a list of the currently existing menus, submenus and
794entries. The first line with a * represents the Kombilo main menu. You can
795add submenus or entries to the menus, or delete them.<p>
796
797When an entry is selected, you can 
798
799<ul>
800<li> Add pattern information by pressing the corresponding button. The pattern
801  (and search-relevant region, and the search options) will then be
802  associated with this menu entry).
803
804<li> Add game info information by clicking the corresponding button.
805  The current entries in the game info search window will then be
806  associated with the current menu entry.
807
808<li> Add a HTML file by entering the file name in the corresponding field, or
809  by browsing for a file.
810</ul><p>
811
812
813<div style="border:none; padding:3px; width:600px;
814background-color:#99CCCC; z-index:1"> 
815<a name="guessmode"><font size="4"><b>Guess next move mode</b></font></a>
816</div><p>
817
818<IMG SRC="guesswrong.jpg" hspace=10 vspace=10 align=LEFT>
819One fun way to study go is to replay professional games by guessing the
820next move. If you click on the corresponding button in the SGF edit toolbar
821in the data window, you enter Kombilo's guess mode. That means that clicks
822on the board will be interpreted as guesses - if it coincides with the next
823move in the current SGF file, that move is played; otherwise no stone is
824placed on the board.<p>
825
826When you switch to the 'guess next move' mode, a small frame appears next
827to the game tree, which gives you some feedback on your guesses. If your
828guess is right, it displays a green square (and the move is played on the
829board).<br>
830<IMG SRC="guessright.jpg" hspace=10 vspace=10 align=RIGHT>
831If the guess is wrong, it displays a red rectangle; the rectangle is
832roughly centered at the position of the next move, and the closer your
833guess was, the smaller is that rectangle. Furthermore the number of correct
834guesses and the number of all guesses, as well as the success percentage
835are given.<p>
836
837Of course, if you just can't find the next move, you can always use the
838'Next move' button above the board.<p>
839
840<div style="border:none; padding:3px; width:600px;
841background-color:#99CCCC; z-index:1"> 
842<a name="configure"><font size="4"><b>Configuring Kombilo</b></font></a>
843</div><p>
844
845You can configure Kombilo by changing the options in the
846options menu.<p>
847
848<b>Edit custom menus</b>
849See <a href="#custommenus">above</a>.<p>
850
851
852<b>Fuzzy stone placement</b>
853Place the stones on the main board slightly off the exact
854point, in a random direction, to make the position
855look more natural. (Well, some people might think that it
856is just ugly, so you can switch it off here).
857<p>
858
859<b>Shaded stone mouse pointer</b>
860(Don't) Show the current position of the mouse pointer on
861the board and the color of the next stone to be played
862by a shaded stone.
863<p>
864
865<b>Use 3d stones</b>
866By default, Kombilo uses the realistic looking stone pictures provided by
867Patrice Fontaine (thanks!). You can switch this off; then Kombilo will use
868"flat" stones, i.e. just black and white circles.
869<p>
870
871<b>Show next move</b>
872In case a SGF file has been loaded, show the position of the
873next move with a circle.<p>
874
875<b>Show Coordinates</b>
876Show coordinates around the board.<p>
877
878<b>The 'Game list' submenu:</b><p>
879
880---Sorting the game list<p>
881
882First of all, in the 'Game list' submenu of the Options menu,
883you can choose how to sort the game list. For one thing, you can either
884sort the list per database, or sort the complete list. Second, you can
885choose the sort criterion: name of white or black player, date or filename.<br>
886
887Having the game list sorted per database and by filename is the fastest,
888since that is the order in which the data is actually stored on your hard
889disk. With all other choices, the process of resetting the game list after
890a search will slow down a bit. Of course that depends on the number of
891games as well as on your machine, so you have to see yourself which choice
892is best for you. <br>
893
894Finally, you can reverse the whole game list by selecting the "Revert
895order" option. So if you would like to sort the whole list by date, with
896the most current games at the top, you could disable 'Sort per database',
897choose 'Sort by date', and select 'Revert order'. (Of course, if the file
898names of your SGF files and the databases reflect the date, as is the case
899with GoGoD, for example, you should 'sort per database' and 'sort by
900filename' and 'reverte order', since that's faster).<p>
901
902---Show date/show filename<p>
903
904Depending on where your SGF files come from, it might be interesting to
905include the filename in the game list (as was done automatically in
906previous Kombilo versions), or to omit it. Similarly, it might be
907interesting to include the date (if it cannot be read off from the file
908name, say, or to omit it). These two options allow you to control this.
909Changing one of these options will reset the game list.<p>
910
911<b>Invert selection</b>
912By default, when the relevant region for a pattern search is selected, the rest
913of the board is grayed out. If you prefer to have the relevant region itself
914grayed out (as was the case in previous versions), you can use this option.<p>
915
916<b>Uppercase labels</b>
917If you want to use the 'Export search results' function to
918produce output for Sensei's Library, it is useful to use
919lowercase labels for the continuations, since only lowercase
920letters are automatically understood by Sensei's Library.
921If you do not want to do that, and find that uppercase
922labels look better, you can use this option.<p>
923
924<b>Jump to match</b>
925This controls the behaviour of the SGF viewer when you open
926a game from the game lis tafter a pattern search.
927If this option is checked, the viewer will jump directly to the position
928where the pattern you searched for was found in that game.
929<p>
930
931<b>Smart fixed color</b>
932If this option is enabled, the 'fixed color' option will be automatically
933enabled when you select the whole board as search-relevant region,
934and disabled when you select a smaller region. (You can nevertheless
935change that after selecting the region and before starting the search.)
936This is useful because if 'fixed color' is not used, Kombilo regards
937a position and the same position with swapped colors as equivalent;
938in the case of whole board searches that can lead to counter-intuitive
939results when you look at the continuations (e.g. place a black resp.
940white stone on the upper left resp. upper right hoshi, do
941a whole board search without 'fixed color', and look at the
942continuations).<p>
943
944
945
946<b>Show color swap</b>
947If this is active, in the list of results for a pattern search
948hits for the pattern with reversed colors will have a minus sign.
949<p>
950
951<b>Advanced:</b> This is a submenu with options that
952are seldom changed.<p>
953
954<b><a name="maxnumsearches">Number of previous searches remembered</a></b>
955As we have seen, with the 'back' button you can jump back to the previous
956search. This option controls the number of previous searches that are remembered.
957The default is 10, and if your machine has only a small amount of memory
958(less them 64MB, say), you probably should not set it much higher, or
959Kombilo might run out of memory and crash.<br>
960On the other hand, if you have lots of memory, it might be convenient
961to set it to a higher number, or even to 0, which means 'no limit': all
962searches are remembered, as long as there is enough memory.
963<p>
964
965<b><a name="externalviewer">Open game in external SGF viewer</a></b>:
966By default, by double-clicking on a game in
967a game list, the game is opened in Kombilo's main window. (You can open the game in
968an external viewer, by shift-clicking, though). If this option is active, double-clicking
969opens the game in an external viewer (v.py or an alternative SGF viewer). In that case,
970shift-clicking opens the game