2 \screenshot{plugins/images/ss-goban
}{Goban
}{The Rockbox Goban plugin
}
3 Goban is a a plugin for playing, viewing and recording games of Go (also known
4 as Weiqi, Baduk, Igo and Goe). It uses standard Smart Game Format (SGF) files
5 for saving and loading games. You can find a short introduction to Go at
6 \url{http://senseis.xmp.net/?WhatIsGo
} and more information about SGF files
7 can be read at
\url{http://senseis.xmp.net/?SmartGameFormat
} or the SGF
8 specification at
\url{http://www.red-bean.com/sgf/
}.\\
10 This plugin can load all modern SGF files (file format
3 or
4) with few problems.
11 It attempts to preserve SGF properties which it doesn't understand, and most common
12 SGF properties are handled fully. It is possible to view (and edit if you like)
13 Kogo's Joseki Dictionary (
\url{http://waterfire.us/joseki.htm
}) with this plugin,
14 although the load and save times can be on the order of a minute or two on
15 particularly slow devices. Large SGF files may stop audio playback for the duration
16 of the plugin's run in order to free up more memory and some very large SGF files will
17 not even load on devices with little available memory.\\
19 \note{The plugin does
\emph{NOT
} support SGF files with multiple games in
20 one file. These are rare, but if you have one don't even try it (the file will most
21 likely be corrupted if you save over it). You have been warned.\\
}
23 The file
\fname {/sgf/gbn
\_def.sgf
} is used by the plugin to store any unsaved
24 changes in the most recently loaded game. This means that if you forget to save your
25 changes, you should load
\fname {/sgf/gbn
\_def.sgf
} immediately to offload the changes
26 to another file. If you load another file first then your changes will be lost
27 permanently. The
\fname {/sgf/gbn
\_def.sgf
} file is also the file loaded if another
30 The information panel which displays the current move number may also contain
34 \begin{rbtabular
}{\textwidth}{lX
}%
35 {\textbf{Mark
} &
\textbf{Meaning
}}{}{}
36 \emph{+
} & There are nodes after the current node in the SGF tree. \\
37 \emph{*
} & There are sibling variations which can be navigated to using the
%
38 \emph{Next Variation
} menu option of the
\emph{Context Menu
}%
39 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD,SANSA_CLIP_PAD,
%
40 RECORDER_PAD,MROBE100_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,IRIVER_H100_PAD,
%
41 IRIVER_H300_PAD,PBELL_VIBE500_PAD
}{ or the
%
42 \opt{SANSA_E200_PAD,SANSA_C200_PAD
}{\ButtonRec}%
43 \opt{SANSA_FUZE_PAD,SANSA_CLIP_PAD
}{\ButtonHome}%
44 \opt{RECORDER_PAD
}{\ButtonOn}%
45 \opt{MROBE100_PAD
}{\ButtonPower}%
46 \opt{GIGABEAT_PAD
}{\ButtonA}%
47 \opt{GIGABEAT_S_PAD
}{\ButtonPlay}%
48 \opt{PBELL_VIBE500_PAD
}{\ButtonCancel}%
49 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonRec} button
}. \\
50 \emph{C
} & There is a comment at the current node. It can be viewed/edited using
51 the
\emph{Add/Edit Comment
} menu option of the
\emph{Context Menu
}. \\
55 \subsubsection{Controls
}
57 \nopt{IPOD_1G2G_PAD,IPOD_3G_PAD,IPOD_4G_PAD,IRIVER_H10_PAD,COWON_D2_PAD
}
59 \opt{IPOD_1G2G_PAD,IPOD_3G_PAD,IPOD_4G_PAD
}{\ButtonMenu}%
60 \opt{IRIVER_H10_PAD
}{\ButtonScrollUp}
61 \opt{COWON_D2_PAD
}{\TouchTopMiddle}
63 \opt{HAVEREMOTEKEYMAP
}{
68 \nopt{IPOD_1G2G_PAD,IPOD_3G_PAD,IPOD_4G_PAD,IRIVER_H10_PAD,COWON_D2_PAD
}
70 \opt{IPOD_1G2G_PAD,IPOD_3G_PAD,IPOD_4G_PAD
}{\ButtonPlay}%
71 \opt{IRIVER_H10_PAD
}{\ButtonScrollDown}
72 \opt{COWON_D2_PAD
}{\TouchBottomMiddle}
74 \opt{HAVEREMOTEKEYMAP
}{
79 \nopt{COWON_D2_PAD
}{\ButtonLeft}
80 \opt{COWON_D2_PAD
}{\TouchMidLeft}
82 \opt{HAVEREMOTEKEYMAP
}{
85 \opt{ONDIO_PAD
}{if in
\emph{board
} navigation mode, or retreat one
86 node in the game tree if in
\emph{tree
} navigation mode
}
89 \nopt{COWON_D2_PAD
}{\ButtonRight}
90 \opt{COWON_D2_PAD
}{\TouchMidRight}
92 \opt{HAVEREMOTEKEYMAP
}{
95 \opt{ONDIO_PAD
}{if in
\emph{board
} navigation mode, or advance one
96 node in the game tree if in
\emph{tree
} navigation mode
}
102 Toggle between
\emph{board
} and
\emph{tree
} navigation modes
106 \nopt{IRIVER_H10_PAD,COWON_D2_PAD,ONDIO_PAD,RECORDER_PAD,IAUDIO_M3_PAD
%
107 ,PBELL_VIBE500_PAD
}{%
109 \opt{IRIVER_H10_PAD,RECORDER_PAD,PBELL_VIBE500_PAD
}{\ButtonPlay}%
110 \opt{ONDIO_PAD
}{\ButtonMenu}
111 \opt{COWON_D2_PAD
}{\TouchCenter}
113 \opt{HAVEREMOTEKEYMAP
}{
115 Play a move (or use a tool if play-mode has been changed).
119 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD,IPOD_1G2G_PAD,IPOD_3G_PAD
%
120 ,IPOD_4G_PAD
}{\ButtonScrollBack}%
121 \opt{SANSA_CLIP_PAD,SANSA_M200_PAD,SANSA_C200_PAD,GIGABEAT_PAD
%
122 ,GIGABEAT_S_PAD
}{\ButtonVolDown}%
123 \opt{IRIVER_H10_PAD
}{\ButtonFF}%
124 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOff}%
125 \opt{MROBE100_PAD
}{\ButtonMenu}%
126 \opt{IAUDIO_X5_PAD
}{\ButtonPlay}%
127 \opt{RECORDER_PAD
}{\ButtonFOne}
128 \opt{COWON_D2_PAD
}{\TouchBottomLeft}
129 \opt{PBELL_VIBE500_PAD
}{\ButtonOK{} +
\ButtonLeft}
131 \opt{HAVEREMOTEKEYMAP
}{
133 Retreat one node in the game tree
136 \opt{scrollwheel
}{\ButtonScrollFwd}%
137 \opt{SANSA_CLIP_PAD,SANSA_M200_PAD,SANSA_C200_PAD,GIGABEAT_PAD
%
138 ,GIGABEAT_S_PAD
}{\ButtonVolUp}%
139 \opt{IRIVER_H10_PAD
}{\ButtonRew}%
140 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonOn}%
141 \opt{MROBE100_PAD
}{\ButtonPlay}%
142 \opt{IAUDIO_X5_PAD
}{\ButtonRec}%
143 \opt{RECORDER_PAD
}{\ButtonFThree}
144 \opt{COWON_D2_PAD
}{\TouchBottomRight}
145 \opt{PBELL_VIBE500_PAD
}{\ButtonOK{} +
\ButtonRight}
147 \opt{HAVEREMOTEKEYMAP
}{
149 Advance one node in the game tree
153 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_CLIP_PAD,SANSA_M200_PAD
%
154 ,SANSA_C200_PAD,IRIVER_H10_PAD,IAUDIO_X5_PAD
}{\ButtonPower}%
155 \opt{MROBE100_PAD
}{\ButtonDisplay}%
156 \opt{IPOD_1G2G_PAD,IPOD_3G_PAD,IPOD_4G_PAD
}{Long
\ButtonSelect}%
157 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,PBELL_VIBE500_PAD
}{\ButtonMenu}%
158 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD
}{\ButtonMode}%
159 \opt{RECORDER_PAD
}{\ButtonFTwo}%
160 \opt{ONDIO_PAD
}{Long
\ButtonMenu}
161 \opt{COWON_D2_PAD
}{\TouchTopLeft}
163 \opt{HAVEREMOTEKEYMAP
}{
168 % \nopt{IPOD_1G2G_PAD,IPOD_3G_PAD,IPOD_4G_PAD,ONDIO_PAD,RECORDER_PAD}{%
169 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD
%
170 ,IRIVER_H100_PAD,IRIVER_H300_PAD,MROBE100_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD
%
171 ,PBELL_VIBE500_PAD
}{%
172 \nopt{IRIVER_H10_PAD,COWON_D2_PAD,PBELL_VIBE500_PAD
}{Long
\ButtonSelect}%
173 \opt{IRIVER_H10_PAD
}{Long
\ButtonPlay}
174 \opt{COWON_D2_PAD
}{Long
\TouchCenter}
175 \opt{PBELL_VIBE500_PAD
}{\ButtonOK}
177 \opt{HAVEREMOTEKEYMAP
}{
183 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD,RECORDER_PAD,MROBE100_PAD
%
184 ,GIGABEAT_PAD,GIGABEAT_S_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_CLIP_PAD
%
185 ,PBELL_VIBE500_PAD
}{%
186 \opt{SANSA_E200_PAD,SANSA_C200_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD
}{%
188 \opt{SANSA_FUZE_PAD,SANSA_CLIP_PAD
}{\ButtonHome}%
189 \opt{RECORDER_PAD
}{\ButtonOn}%
190 \opt{MROBE100_PAD
}{\ButtonPower}%
191 \opt{GIGABEAT_PAD
}{\ButtonA}%
192 \opt{GIGABEAT_S_PAD
}{\ButtonPlay}%
193 \opt{COWON_D2_PAD
}{\TouchTopRight}
194 \opt{PBELL_VIBE500_PAD
}{\ButtonCancel}
196 \opt{HAVEREMOTEKEYMAP
}{
198 Go to the next variation when at the first node in a branch
203 \subsubsection{Menus
}
206 The main menu for game setup and access to other menus.
208 \item[New.
] Create a new game with your choice of board size and handicaps.
209 \item[Save.
] Save the current state of the game. It will be saved to
210 \fname {/sgf/gbn
\_def.sgf
} unless otherwise set.
211 \item[Save As.
] Save to a specified file.
212 \item[Game Info.
] View and modify the metadata of the current game.
213 \item[Playback Control.
] Control the playback of the current playlist
214 and modify the volume of your player.
215 \item[Zoom Level.
] Zoom in or out on the board. If you set the zoom level,
216 it will be saved and used again the next time you open this plugin.
217 \item[Options.
] Open the Options Menu.
218 \item[Context Menu.
] Open the Context Menu which allows you to set play
219 modes and other tools.
220 \item[Quit.
] Leave the plugin. Any unsaved changes are saved to
221 \fname {/sgf/gbn
\_def.sgf
}.
224 The menu for modifying game info (metadata) of the current game. This
225 information will be saved to the SGF file and can be viewed in almost all
228 \item[Basic Info.
] Shows a quick view of the basic game metadata, if any
229 has been set (otherwise does nothing). This option does not allow
231 \item[Time Limit.
] The time limit of the current game.
232 \item[Overtime.
] The overtime settings of the current game.
233 \item[Result.
] The result of the current game. This text must follow the
234 format specified at
\url{http://www.red-bean.com/sgf/properties.html#RE
}
235 to be read by other SGF readers. Some examples are
236 \emph {B+R
} (Black wins by resignation),
237 \emph {B+
5.5} (Black wins by
5.5 points),
238 \emph {W+T
} (White wins on Time).
239 \item[Handicap.
] The handicap of the current game.
240 \item[Komi.
] The komi of the current game (compensation to the white
241 player for black having the first move).
242 \item[Ruleset.
] The name of the ruleset in use for this game.
243 The
\emph{NZ
} and
\emph{GOE
} rulesets include suicide as a legal
244 move (for multi-stone suicide only); the rest do not.
245 \item[Black Player.
] The name of the black player.
246 \item[Black Rank.
] Black's rank, in dan or kyu.
247 \item[Black Team.
] The name of black's team, if any.
248 \item[White Player.
] The name of the white player.
249 \item[White Rank.
] White's rank, in dan or kyu.
250 \item[White Team.
] The name of white's team, if any.
251 \item[Date.
] The date that this game took place. This text must follow
252 the format specified at
\url{http://www.red-bean.com/sgf/properties.html#DT
}
253 to be read by other SGF readers.
254 \item[Event.
] The name of the event which this game was a part of, if any.
255 \item[Place.
] The place that this game took place.
256 \item[Round.
] If part of a tournament, the round number for this game.
257 \item[Done.
] Return to the previous menu.
261 Customize the behavior of the plugin in certain ways.
263 \item[Show Child Variations?
] Enable this to mark child variations on
264 he board if there are more than one. Note: variations which don't
265 start with a move are not visible in this way.
266 \item[Disable Idle Poweroff?
] Enable this if you do not want the
\dap{}
267 to turn off after a certain period of inactivity (depends on your
268 global Rockbox settings).
269 \item[Idle Autosave Time.
] Set the amount of idle time to wait before
270 automatically saving any unsaved changes. These autosaves go to
271 the file
\fname {/sgf/gbn
\_def.sgf
} regardless of if you have
272 loaded a game or used
\setting{Save As
} to save the game before or
273 not. Set to
\setting{Off
} to disable this functionality completely.
274 \item[Automatically Show Comments?
] If this is enabled and you navigate
275 to a node containing game comments, they will automatically be
279 \item [Context Menu.
]
280 The menu for choosing different play modes and tools, adding or editing
281 comments, adding pass moves, or switching between sibling variations.
283 \item[Play Mode.
] Play moves normally on the board. If there are child
284 moves from the current node, this mode will let you follow
285 variations by simply playing the first move in the sequence.
286 Unless it is following a variation, this mode will not allow you to
287 play illegal moves. This is the default mode before another is set
288 after loading a game or creating a new one.
289 \item[Add Black Mode.
] Add black stones to the board as desired. These
290 stones are not moves and do not perform captures or count as ko threats.
291 \item[Add White Mode.
] Add white stones to the board as desired. These
292 stones are not moves and do not perform captures or count as ko threats.
293 \item[Erase Stone Mode.
] Remove stones from the board as desired. These
294 removed stones are not counted as captured, they are simply removed.
295 \item[Pass.
] Play a single pass move. This does not change the mode of
297 \item[Next Variation.
] If the game is at the first move in a variation,
298 this will navigate to the next variation after the current one. This
299 is the only way to reach variations which start with adding or
300 removing stones, as you cannot follow them by ``playing'' the same move.
301 \item[Force Play Mode.
] The same as Play Mode except that this mode will
302 allow you to play illegal moves such as retaking a ko immediately
303 without a ko threat, suicide on rulesets which don't allow it
304 (including single stone suicide), and playing a move where there
306 \item[Mark Mode.
] Add generic marks to the board, or remove them.
307 \item[Circle Mode.
] Add circle marks to the board, or remove them.
308 \item[Square Mode.
] Add square marks to the board, or remove them.
309 \item[Triangle Mode.
] Add triangle marks to the board, or remove them.
310 \item[Label Mode.
] Add one character labels to the board. Each label
311 starts at the letter `a' and each subsequent application of a label
312 will increment the letter. To remove a label, click on it until it
313 cycles through the allowed letters and disappears.
314 \item[Add/Edit Comment.
] Add or edit a comment at the current node.
315 \item[Done.
] Go back to the previous screen.