blob: be6e6c2f0d5e5892edcf13a355063ba7dfc58aa5 [file] [log] [blame]
Martin Arver8e8207f2006-02-11 00:57:17 +00001\chapter{Advanced Topics}
Martin Arver35dcf902006-03-08 17:58:11 +00002
Martin Arver8e8207f2006-02-11 00:57:17 +00003\section{\label{ref:CustomisingUI}Customising the userinterface}
Martin Arver7bdd03a2006-08-27 15:00:50 +00004\subsection{\label{ref:GettingExtras}Getting Extras}
5\opt{HAVE_LCD_BITMAP}{
6Rockbox supports custom fonts. A collection of fonts is available for download
7in the font package at \url{http://www.rockbox.org/daily.shtml}}. Support for a
8number of languages is included with Rockbox, and the latest \fname{.lng} files
9are always included in the different Rockbox builds.
Martin Arver8e8207f2006-02-11 00:57:17 +000010
Dominik Riebelingebb8a222006-04-04 17:48:10 +000011\opt{HAVE_LCD_BITMAP}{
12 \subsection{\label{ref:Loadingfonts}Loading Fonts}
Martin Arver47ea9062006-06-07 12:15:46 +000013 Rockbox can load fonts dynamically. Simply copy the \fname{.fnt} file to the
14 \dap\ and ``play'' them in the directory browser or select
15 \setting{General Settings $\rightarrow$ Fonts} from the Main Menu.
Dominik Riebelingebb8a222006-04-04 17:48:10 +000016 If you want a font to be loaded automatically every time you start up,
Martin Arver47ea9062006-06-07 12:15:46 +000017 it must be located in the \fname{/.rockbox } folder and the filename
Dominik Riebelingebb8a222006-04-04 17:48:10 +000018 must be at most 24 characters long.
Dominik Riebelingb7eef892006-04-10 21:47:09 +000019 \warn{Advanced Users Only: Any BDF font file up to 16 pixels high should
Martin Arver68e40172006-06-07 16:37:04 +000020 be usable with Rockbox. To convert from \fname{.bdf} to \fname{.fnt}, use
21 the \fname{convbdf} tool. This tool can be found in the \fname{tools}
22 directory of the Rockbox source code.}
Dominik Riebelingebb8a222006-04-04 17:48:10 +000023}
Martin Arver8e8207f2006-02-11 00:57:17 +000024
25\subsection{\label{ref:Loadinglanguages}Loading Languages}
Martin Arver47ea9062006-06-07 12:15:46 +000026Rockbox can load language files at runtime. Simply copy the \fname{.lng} file
Dominik Riebelingb7eef892006-04-10 21:47:09 +000027\emph{(do not use the .lang file)} to the \dap\ and ``play'' it in the
Martin Arver47ea9062006-06-07 12:15:46 +000028Rockbox directory browser or select \setting{General Settings $\rightarrow$
Dominik Riebelingb7eef892006-04-10 21:47:09 +000029Languages }from the Main Menu.
Martin Arver8e8207f2006-02-11 00:57:17 +000030
Dominik Riebelingb7eef892006-04-10 21:47:09 +000031\note{If you want a language to be loaded automatically every time you start
Martin Arver47ea9062006-06-07 12:15:46 +000032up, it must be located in the \fname{/.rockbox }folder and the filename must
Dominik Riebelingb7eef892006-04-10 21:47:09 +000033be a maximum of 24 characters long.}
Martin Arver8e8207f2006-02-11 00:57:17 +000034
Dominik Riebelingebb8a222006-04-04 17:48:10 +000035If your language is not yet supported and you want to write your own language
36file find the instructions on the Rockbox website:
Martin Arver18239c02006-06-06 14:05:41 +000037\wikilink{HowtoUpdateLangfile}
Martin Arver8e8207f2006-02-11 00:57:17 +000038
39\section{\label{ref:ConfiguringtheWPS}Configuring the WPS}
40
Dominik Riebelingb7eef892006-04-10 21:47:09 +000041\subsection{WPS -- General Info}
Martin Arver8e8207f2006-02-11 00:57:17 +000042
Dominik Riebelingb7eef892006-04-10 21:47:09 +000043\begin{description}
Martin Arver09c39612006-08-18 16:57:56 +000044\item[Description: ] The WPS or While Playing Screen is the name used to
45 describe the information displayed on the \daps\ screen whilst an audio track
46 is being played. The default WPS is a relatively simple screen displaying
47 Track name, Artist, Album etc. in the default font as a purely text based
48 layout. There are a number of WPS files included in Rockbox, and you can
49 load one of these at anytime by selecting it in
50 \setting{General Settings $\rightarrow$ Display $\rightarrow$ Browse .wps files}.
Martin Arver6fc30d62006-08-28 17:44:49 +000051 \opt{HAVE_REMOTE_LCD}{There is a related option to browse \fname{.rwps}
52 files for \daps{} with LCD remote controls installed. This will load a
53 similar WPS screen for the remote but with usually a simpler and more
54 concise layout.}
Martin Arver8e8207f2006-02-11 00:57:17 +000055
Martin Arver47ea9062006-06-07 12:15:46 +000056\note{``Playing'' a \fname{.wps} from the file browser has the same effect.}
Dominik Riebelingb7eef892006-04-10 21:47:09 +000057
58\item [File Location: ]Custom WPS files may be located anywhere on the drive.
Martin Arver09c39612006-08-18 16:57:56 +000059 The only restriction is that they must end in \fname{.wps}. When you ``play''
60 a \fname{.wps} file, it will be used for future WPS screens, and if the
61 ``played'' \fname{.wps} file is located in the \fname{/.rockbox} folder, it
62 will be remembered and used after reboot. The \fname{.wps} filename must be
63 no more than 24 characters long for it to be remembered.
Dominik Riebelingb7eef892006-04-10 21:47:09 +000064\end{description}
Martin Arvera245e882006-03-08 15:04:36 +000065
Dominik Riebelingb7eef892006-04-10 21:47:09 +000066\subsection{\label{ref:CreateYourOwnWPS}WPS -- Build Your Own}
Dominik Riebelingebb8a222006-04-04 17:48:10 +000067Quite simply, enter the WPS code in your favourite text editor, Notepad on
Martin Arver47ea9062006-06-07 12:15:46 +000068Windows works fine. When you save it, instead of saving it as a \fname{.txt}
69file, save it as a \fname{.wps} file. Example: Instead of \fname{Rockbox.txt},
70save the file as \fname{Rockbox.wps}. To make sure non english characters
71display correctly in your WPS you must save the .wps file with UTF-8 character
72encoding. This can be done in most editors, for example Notepad in Windows 2000
Martin Arver09c39612006-08-18 16:57:56 +000073or XP (but not in 9x/ME) can do this. See appendix \reference{ref:wps_tags} for
74all the tags that are available.
Martin Arver8e8207f2006-02-11 00:57:17 +000075
Dominik Riebelingf949c8e2006-06-07 17:09:06 +000076\begin{itemize}
Martin Arver09c39612006-08-18 16:57:56 +000077\item All characters not preceded by \% are displayed as typed.
78\item Lines beginning with \# are comments and will be ignored.
79\item Maximum file size used is
Martin Arver56b339e2006-08-27 20:44:23 +000080 \opt{HAVE_LCD_BITMAP}{1600}
Martin Arver09c39612006-08-18 16:57:56 +000081 \opt{player}{400} bytes.
82 If you have a bigger WPS file, only the first part of it will be
83 loaded and used.
Dominik Riebelingf949c8e2006-06-07 17:09:06 +000084\end{itemize}
Dominik Riebelingb7eef892006-04-10 21:47:09 +000085
Dominik Riebeling5ec38052006-08-28 18:09:17 +000086\note{Keep in mind that your \dap{} resolution is \genericimg{} (with
87 the last number giving the colour depth in bits) when
88 designing your own WPS, or if you use a WPS designed for another target.
89 \opt{HAVE_REMOTE_LCD}{The resolution of the remote is
90 \opt{h1xx,h300}{128x64x1}\opt{x5}{128x96x2} pixels.}}
Martin Arver6fc30d62006-08-28 17:44:49 +000091
Martin Arvera245e882006-03-08 15:04:36 +000092\subsubsection{Conditional Tags}
Martin Arverd3d3e342006-03-15 10:56:14 +000093
Martin Arver47ea9062006-06-07 12:15:46 +000094\begin{description}
95\item[If/else: ]
Dominik Riebelingf949c8e2006-06-07 17:09:06 +000096Syntax: \config{\%?xx{\textless}true{\textbar}false{\textgreater}}
Martin Arver8e8207f2006-02-11 00:57:17 +000097
Martin Arver68e40172006-06-07 16:37:04 +000098If the tag specified by ``\config{xx}'' has a value, the text between the
99``\config{{\textless}}'' and the ``\config{{\textbar}}'' is displayed (the true
100part), else the text between the ``\config{{\textbar}}'' and the
101``\config{{\textgreater}}'' is displayed (the false part).
102The else part is optional, so the ``\config{{\textbar}}'' does not have to be
103specified if no else part is desired. The conditionals nest, so the text in the
104if and else part can contain all \config{\%} commands, including conditionals.
Martin Arverd3d3e342006-03-15 10:56:14 +0000105
Martin Arver47ea9062006-06-07 12:15:46 +0000106\item[Enumerations: ]
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000107Syntax: \config{\%?xx{\textless}alt1{\textbar}alt2{\textbar}alt3{\textbar}\dots{\textbar}else{\textgreater}}
Martin Arver8e8207f2006-02-11 00:57:17 +0000108
Martin Arver68e40172006-06-07 16:37:04 +0000109For tags with multiple values, like Play status, the conditional can hold a
110list of alternatives, one for each value the tag can have.
Martin Arver68e40172006-06-07 16:37:04 +0000111Example enumeration:
112\begin{example}
Martin Arver09c39612006-08-18 16:57:56 +0000113 \%?mp{\textless}Stop{\textbar}Play{\textbar}Pause{\textbar}Ffwd{\textbar}Rew{\textgreater}
Martin Arver68e40172006-06-07 16:37:04 +0000114\end{example}
Martin Arver8e8207f2006-02-11 00:57:17 +0000115
Martin Arver68e40172006-06-07 16:37:04 +0000116The last else part is optional, and will be displayed if the tag has no value.
117The WPS parser will always display the last part if the tag has no value, or if
118the list of alternatives is too short.
Martin Arver47ea9062006-06-07 12:15:46 +0000119\end{description}
Martin Arver8e8207f2006-02-11 00:57:17 +0000120
Martin Arvera245e882006-03-08 15:04:36 +0000121\subsubsection{Next Song info}
Dominik Riebelingb7eef892006-04-10 21:47:09 +0000122You can display information about the next song -- the song that is
Martin Arver8e8207f2006-02-11 00:57:17 +0000123about to play after the one currently playing (unless you change the
Martin Arvera245e882006-03-08 15:04:36 +0000124plan).
Martin Arver8e8207f2006-02-11 00:57:17 +0000125
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000126If you use the upper-case versions of the
Martin Arver68e40172006-06-07 16:37:04 +0000127three tags: \config{F}, \config{I} and \config{D}, they will instead refer to
128the next song instead of the current one. Example: \config{\%Ig} is the genre
129name used in the next song and \config{\%Ff} is the mp3 frequency.
Martin Arver8e8207f2006-02-11 00:57:17 +0000130
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000131\note{The next song information \emph{will not} be available at all
Martin Arver09c39612006-08-18 16:57:56 +0000132 times, but will most likely be available at the end of a song. We
133 suggest you use the conditional display tag a lot when displaying
134 information about the next song!}
Martin Arvera245e882006-03-08 15:04:36 +0000135
136\subsubsection{Alternating sublines}
Martin Arver8e8207f2006-02-11 00:57:17 +0000137
Martin Arver68e40172006-06-07 16:37:04 +0000138It is possible to group items on each line into 2 or more groups or
139``sublines''. Each subline will be displayed in succession on the line for a
140specified time, alternating continuously through each defined subline.
Martin Arver8e8207f2006-02-11 00:57:17 +0000141
142Items on a line are broken into sublines with the semicolon
Martin Arver68e40172006-06-07 16:37:04 +0000143'\config{;}' character. The display time for
Martin Arver8e8207f2006-02-11 00:57:17 +0000144each subline defaults to 2 seconds unless modified by using the
Martin Arver68e40172006-06-07 16:37:04 +0000145'\config{\%t}' tag to specify an alternate
Martin Arver8e8207f2006-02-11 00:57:17 +0000146time (in seconds and optional tenths of a second) for the subline to be
147displayed.
148
149Subline related special characters and tags:
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000150\begin{description}
151\item[;] Split items on a line into separate sublines
152\item[\%t] Set the subline display time. The
Martin Arver68e40172006-06-07 16:37:04 +0000153'\config{\%t}' is followed by either integer
154seconds (\config{\%t5}), or seconds and tenths of a second (\config{\%t3.5}).
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000155\end{description}
Martin Arver8e8207f2006-02-11 00:57:17 +0000156
157Each alternating subline can still be optionally scrolled while it is
158being displayed, and scrollable formats can be displayed on the same
159line with non{}-scrollable formats (such as track elapsed time) as long
Martin Arvera245e882006-03-08 15:04:36 +0000160as they are separated into different sublines.
Martin Arvera245e882006-03-08 15:04:36 +0000161Example subline definition:
Martin Arver47ea9062006-06-07 12:15:46 +0000162\begin{example}
Martin Arver49cdd5e2006-06-07 13:29:52 +0000163 %s%t4%ia;%s%it;%t3%pc %pr : Display id3 artist for 4 seconds,
164 Display id3 title for 2 seconds,
165 Display current and remaining track time
166 for 3 seconds,
167 repeat...
Martin Arver47ea9062006-06-07 12:15:46 +0000168\end{example}
Martin Arver8e8207f2006-02-11 00:57:17 +0000169
Martin Arver68e40172006-06-07 16:37:04 +0000170Conditionals can be used with sublines to display a different set and/or number
171of sublines on the line depending on the evaluation of the conditional.
Martin Arvera245e882006-03-08 15:04:36 +0000172Example subline with conditionals:
Martin Arver47ea9062006-06-07 12:15:46 +0000173\begin{example}
Martin Arver49cdd5e2006-06-07 13:29:52 +0000174 %?it{\textless}%t8%s%it{\textbar}%s%fn{\textgreater};%?ia{\textless}%t3%s%ia{\textbar}%t0{\textgreater}\\
Martin Arver47ea9062006-06-07 12:15:46 +0000175\end{example}
Martin Arver8e8207f2006-02-11 00:57:17 +0000176
Martin Arver68e40172006-06-07 16:37:04 +0000177The format above will do two different things depending if ID3 tags are
178present. If the ID3 artist and title are present:
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000179\begin{itemize}
180\item Display id3 title for 8 seconds,
181\item Display id3 artist for 3 seconds,
182\item repeat\dots
183\end{itemize}
184If the ID3 artist and title are not present:
185\begin{itemize}
186\item Display the filename continuously.
187\end{itemize}
Dominik Riebelingebb8a222006-04-04 17:48:10 +0000188Note that by using a subline display time of 0 in one branch of a conditional,
189a subline can be skipped (not displayed) when that condition is met.
Martin Arvera245e882006-03-08 15:04:36 +0000190
Martin Arvera245e882006-03-08 15:04:36 +0000191\subsubsection{Using Images}
Dominik Riebelingb7eef892006-04-10 21:47:09 +0000192You can have as many as 52 images in your WPS. There are various ways of
Dominik Riebelingebb8a222006-04-04 17:48:10 +0000193displaying images:
Martin Arvera245e882006-03-08 15:04:36 +0000194\begin{enumerate}
Martin Arver68e40172006-06-07 16:37:04 +0000195 \item Load and always show the image, using the \config{\%x} tag
196 \item Preload the image with \config{\%xl} and show it with \config{\%xd}.
197 This way you can have your images displayed conditionally.
Martin Arver09c39612006-08-18 16:57:56 +0000198 \opt{HAVE_LCD_COLOR}{
199 \item Load an image and show as backdrop using the \config{\%X} tag. The
200 image must be of the same exact dimensions as your display.
201 }
Martin Arvera245e882006-03-08 15:04:36 +0000202\end{enumerate}
Martin Arver959d23e2006-06-04 15:03:39 +0000203
Martin Arver47ea9062006-06-07 12:15:46 +0000204\optv{HAVE_LCD_COLOR}{
205 Example on background image use:
206 \begin{example}
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000207 %X|background.bmp|
Martin Arver47ea9062006-06-07 12:15:46 +0000208 \end{example}
209 The image with filename \fname{background.bmp} is loaded and used in the WPS.
Martin Arver959d23e2006-06-04 15:03:39 +0000210}
Martin Arver47ea9062006-06-07 12:15:46 +0000211
212Example on bitmap preloading and use:
213\begin{example}
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000214 %x|a|static_icon.bmp|50|50|
215 %xl|b|rep\_off.bmp|16|64|
216 %xl|c|rep\_all.bmp|16|64|
217 %xl|d|rep\_one.bmp|16|64|
218 %xl|e|rep\_shuffle.bmp|16|64|
219 %?mm<%xdb|%xdc|%xdd|%xde>
Martin Arver47ea9062006-06-07 12:15:46 +0000220\end{example}
221Four images at the same x and y position are preloaded in the example. Which
Martin Arver68e40172006-06-07 16:37:04 +0000222image to display is determined by the \config{\%mm} tag (the repeat mode).
Martin Arvera245e882006-03-08 15:04:36 +0000223
224\subsubsection{Example File}
Martin Arver47ea9062006-06-07 12:15:46 +0000225\begin{example}
Dominik Riebelingf949c8e2006-06-07 17:09:06 +0000226 %s%?in<%in - >%?it<%it|%fn> %?ia<[%ia%?id<, %id>]>
227 %pb%pc/%pt
Martin Arver47ea9062006-06-07 12:15:46 +0000228\end{example}
Dominik Riebelingebb8a222006-04-04 17:48:10 +0000229That is, ``tracknum -- title [artist, album]'', where most fields are only
230displayed if available. Could also be rendered as ``filename'' or ``tracknum --
231title [artist]''.
Martin Arvera245e882006-03-08 15:04:36 +0000232
Martin Arver47ea9062006-06-07 12:15:46 +0000233%\opt{HAVE_LCD_BITMAP}{
Martin Arvera245e882006-03-08 15:04:36 +0000234% \begin{verbatim}
Martin Arver47ea9062006-06-07 12:15:46 +0000235% %s%?it<%?in<%in. |>%it|%fn>
236% %s%?ia<%ia|%?d2<%d2|(root)>>
237% %s%?id<%id|%?d1<%d1|(root)>> %?iy<(%iy)|>
238%
239% %al%pc/%pt%ar[%pp:%pe]
240% %fbkBit %?fv<avg|> %?iv<(id3v%iv)|(no id3)>
241% %pb
242% %pm
243% % \end{verbatim}
244%}
Martin Arver8e8207f2006-02-11 00:57:17 +0000245
Michael DiFebbo06238412006-08-12 15:56:33 +0000246\section{\label{ref:manage_settings}Managing Rockbox settings}
Martin Arver8e8207f2006-02-11 00:57:17 +0000247
Martin Arver09c39612006-08-18 16:57:56 +0000248\subsection{Introduction to \fname{.cfg} files.}
249Rockbox allows users to store and load multiple settings through the use of
250configuration files. A configuration file is simply a text file with the
251extension \fname{.cfg}.
Martin Arver8e8207f2006-02-11 00:57:17 +0000252
Martin Arver09c39612006-08-18 16:57:56 +0000253A configuration file may reside anywhere on the hard disk. Multiple
254configuration files are permitted. So, for example, you could have
255a \fname{car.cfg} file for the settings that you use while playing your
256jukebox in your car, and a \fname{headphones.cfg} file to store the
257settings that you use while listening to your \dap\ through headphones.
Martin Arver8e8207f2006-02-11 00:57:17 +0000258
Martin Arver09c39612006-08-18 16:57:56 +0000259See \reference{ref:cfg_specs} below for an explanation of the format
260for configuration files. See \reference{ref:manage_settings_menu} for an
261explanation of how to create, edit and load configuration files.
Martin Arver8e8207f2006-02-11 00:57:17 +0000262
Martin Arver09c39612006-08-18 16:57:56 +0000263\subsection{\label{ref:cfg_specs}Specifications for \fname{.cfg}
264 files.}
Michael DiFebbo06238412006-08-12 15:56:33 +0000265
Martin Arver09c39612006-08-18 16:57:56 +0000266The Rockbox configuration file is a plain text file, so once you use the
267\setting{Write .cfg file} option to create the file, you can edit the file on
268your computer using any text editor program. See
269Appendix \reference{ref:config_file_options} for available settings. Configuration
270files use the following formatting rules: %
271
272\begin{enumerate}
273\item Each setting must be on a separate line.
274\item Each line has the format ``setting: value''.
275\item Values must be within the ranges specified in this manual for each
276 setting.
277\item Lines starting with \# are ignored. This lets you write comments into
278 your configuration files.
279\end{enumerate}
280
281Example of a configuration file:
282\begin{example}
283 # Example configuration file
284 # volume: 70
285 # bass: 11
286 # treble: 12
287 # balance: 0
288 # time format: 12hour
289 # volume display: numeric
290 # show files: supported
291 # wps: /.rockbox/car.wps
292 # lang: /.rockbox/afrikaans.lng
293\end{example}
294
295\note{As you can see from the example, configuration files do not need to
296 contain all of the Rockbox options. You can create configuration files
297 that change only certain settings. So, for example, supppose you
Martin Arver56b339e2006-08-27 20:44:23 +0000298 typically use the \dap{} at one volume in the car, and another when using
Martin Arver09c39612006-08-18 16:57:56 +0000299 headphones. Further, suppose you like to use an inverse LCD when you are
300 in the car, and a regular LCD setting when you are using headphones. You
301 could create configuration files that control only the volume and LCD
302 settings. Create a few different files with different settings, give
303 each file a different name (such as \fname{car.cfg},
304 \fname{headphones.cfg}, etc.), and you can then use the \setting{Browse .cfg
Michael DiFebbo06238412006-08-12 15:56:33 +0000305 files} option to quickly change settings.}
Martin Arver09c39612006-08-18 16:57:56 +0000306
307\subsection{\label{ref:manage_settings_menu}The \setting{Manage Settings}
308 menu} The \setting{Manage Settings} menu can be found in the \setting{Main
Martin Arver56b339e2006-08-27 20:44:23 +0000309 Menu}. The \setting{Manage Settings} menu allows you to save and load
310\fname{.cfg} files. \opt{MASCODEC}{The \setting{Manage Settings} menu also
Martin Arver09c39612006-08-18 16:57:56 +0000311 allows you to load or save different firmware versions.}
312
313\begin{description}
Michael DiFebbo06238412006-08-12 15:56:33 +0000314
Martin Arver56b339e2006-08-27 20:44:23 +0000315\item [Browse .cfg Files.]Opens the file browser in the \fname{/.rockbox}
316 directory and displays all \fname{.cfg} (configuration) files. Selecting a
317 \fname{.cfg} file will cause Rockbox to load the settings contained in that
318 file. Pressing \ButtonLeft\ will exit back to the \setting{Manage Settings}
319 menu. See the \setting{Write .cfg files} option on the
320 \setting{Manage Settings} menu for details of how to save and edit a
321 configuration file.
Martin Arver09c39612006-08-18 16:57:56 +0000322
323\item [Browse Firmwares.]
324 %
Martin Arver56b339e2006-08-27 20:44:23 +0000325 \opt{SWCODEC}{\fixme{This is a legacy item, and is deprecated.}}
Martin Arver09c39612006-08-18 16:57:56 +0000326 %
327 \opt{MASCODEC}{
328 This displays a list of firmware files in the \fname{/.rockbox}
329 system directory.
330 %
Martin Arverdcf83af2006-08-27 17:05:57 +0000331 \opt{recorder,recorderv2fm,ondio}{Firmware files have an extension of
Martin Arver09c39612006-08-18 16:57:56 +0000332 \fname{.ajz}. }
333 %
Martin Arver56b339e2006-08-27 20:44:23 +0000334 \opt{player}{Firmware files have an extension of \fname{.mod}. }
Martin Arver09c39612006-08-18 16:57:56 +0000335 %
336 Playing a firmware file loads it into memory. Thus, it is possible
337 to run the original Archos firmware or a different version of Rockbox
338 from here (assuming that you have the right files installed on your
339 disk. There is no need for any other file or directory to be
340 installed to use this option; the firmware is resident in that one
341 file.
342 }
343
344\item [Reset Settings.]This wipes the saved settings in the \dap\ and
345 resets all settings to their default values.
346
347 \opt{h100,h300}{\note{You can also reset all settings to their default
348 values by turning off the \dap, turning it back on, and pressing the
349 \ButtonRec button immediately after the \dap\ turns on.}
350 }
351 \opt{ipod}{\note{You can also reset all settings to their default values
352 by turning off the \dap, and turning it back on with the hold button
353 on.}
354 }
Michael DiFebbo06238412006-08-12 15:56:33 +0000355
Martin Arver09c39612006-08-18 16:57:56 +0000356\item [Write .cfg file.]This option writes a \fname{.cfg} file to
357 your \daps\ hard disk. The configuration file has the \fname{.cfg}
358 extension and is used to store all of the user settings that are described
359 throughout this manual.
Michael DiFebbo06238412006-08-12 15:56:33 +0000360
Martin Arver09c39612006-08-18 16:57:56 +0000361 Hint: Use the \setting{Write .cfg file} feature (\setting{Main Menu
362 $\rightarrow$ General Settings}) to save the current settings, then
363 use a text editor to customize the settings file. See Appendix
364 \reference{ref:config_file_options} for the full reference of available
365 options.
Michael DiFebbo06238412006-08-12 15:56:33 +0000366
Martin Arver09c39612006-08-18 16:57:56 +0000367\end{description}
Martin Arver8e8207f2006-02-11 00:57:17 +0000368
Martin Arver8e8207f2006-02-11 00:57:17 +0000369\section{\label{ref:FirmwareLoading}Firmware Loading}
Martin Arver96f898e2006-03-25 09:22:43 +0000370\opt{player,recorder,recorderv2fm,ondio}{
Martin Arver7bdd03a2006-08-27 15:00:50 +0000371 When your \dap{} powers on, it loads the Archos firmware in ROM, which
372 automatically checks your \daps{} root folder for a file named
Martin Arver47ea9062006-06-07 12:15:46 +0000373 \firmwarefilename. Note that Archos firmware can only read the first
374 ten characters of each filename in this process, so don't rename your old
375 firmware files with names like \firmwarefilename.\fname{old} and so on,
Martin Arver7bdd03a2006-08-27 15:00:50 +0000376 because it's possible that the \dap{} will load a file other than the one
377 you intended.
Martin Arverd3d3e342006-03-15 10:56:14 +0000378}
Martin Arver8e8207f2006-02-11 00:57:17 +0000379
Dominik Riebeling27948882006-07-24 20:53:27 +0000380\subsection{\label{ref:using_rolo}Using ROLO (Rockbox loader)}
Dominik Riebelingebb8a222006-04-04 17:48:10 +0000381Rockbox is able to load and start another firmware file without rebooting.
Dominik Riebeling27948882006-07-24 20:53:27 +0000382You just ``play'' a file with the extension %
383\opt{recorder,recorderv2fm,ondio}{\fname{.ajz}.} %
384\opt{player}{\fname{.mod}.} %
385\opt{iriver}{\fname{.iriver}.} %
386\opt{ipod}{\fname{.ipod}.} %
387\opt{iaudio}{\fname{.iaudio}.} %
388This can be used to test new firmware versions without deleting your
Dominik Riebelingebb8a222006-04-04 17:48:10 +0000389current version.
Martin Arver8e8207f2006-02-11 00:57:17 +0000390
Martin Arver30b0e662006-06-15 11:56:50 +0000391\opt{archos}{\input{advanced_topics/archos-flashing.tex}}