2006-09-10 10:17:47 +00:00
|
|
|
% $Id$ %
|
2006-02-11 00:57:17 +00:00
|
|
|
\chapter{Advanced Topics}
|
2006-03-08 17:58:11 +00:00
|
|
|
|
2006-02-11 00:57:17 +00:00
|
|
|
\section{\label{ref:CustomisingUI}Customising the userinterface}
|
2006-08-27 15:00:50 +00:00
|
|
|
\subsection{\label{ref:GettingExtras}Getting Extras}
|
|
|
|
\opt{HAVE_LCD_BITMAP}{
|
|
|
|
Rockbox supports custom fonts. A collection of fonts is available for download
|
2007-03-15 02:09:15 +00:00
|
|
|
in the font package at \url{http://www.rockbox.org/daily.shtml}}.
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-04-04 17:48:10 +00:00
|
|
|
\opt{HAVE_LCD_BITMAP}{
|
2006-11-20 19:56:55 +00:00
|
|
|
\subsection{\label{ref:Loadingfonts}Loading Fonts}\index{Fonts}
|
2006-09-10 10:17:47 +00:00
|
|
|
Rockbox can load fonts dynamically. Simply copy the \fname{.fnt} file to the
|
|
|
|
\dap{} and ``play'' it in the \setting{File Browser}. If you want a font to
|
|
|
|
be loaded automatically every time you start up, it must be located in the
|
2007-12-14 02:03:58 +00:00
|
|
|
\fname{/.rockbox/fonts} directory and the filename must be at most 24 characters
|
2006-09-10 10:17:47 +00:00
|
|
|
long. You can browse the fonts in \fname{/.rockbox/fonts} under
|
2007-03-15 02:09:15 +00:00
|
|
|
\setting{Settings $\rightarrow$ General Settings $\rightarrow$ Display
|
|
|
|
$\rightarrow$ Browse Fonts} in the \setting{Main Menu}.
|
2006-09-10 10:17:47 +00:00
|
|
|
\warn{Advanced Users Only: Any BDF font file up to 16 pixels high should
|
|
|
|
be usable with Rockbox. To convert from \fname{.bdf} to \fname{.fnt}, use
|
|
|
|
the \fname{convbdf} tool. This tool can be found in the \fname{tools}
|
2006-06-07 16:37:04 +00:00
|
|
|
directory of the Rockbox source code.}
|
2006-04-04 17:48:10 +00:00
|
|
|
}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
|
|
|
\subsection{\label{ref:Loadinglanguages}Loading Languages}
|
2006-11-20 19:56:55 +00:00
|
|
|
\index{Language files}%
|
2006-06-07 12:15:46 +00:00
|
|
|
Rockbox can load language files at runtime. Simply copy the \fname{.lng} file
|
2006-04-10 21:47:09 +00:00
|
|
|
\emph{(do not use the .lang file)} to the \dap\ and ``play'' it in the
|
2007-03-15 02:09:15 +00:00
|
|
|
Rockbox directory browser or select \setting{Settings $\rightarrow$
|
|
|
|
General Settings $\rightarrow$ Languages }from the \setting{Main Menu}.
|
2006-03-15 10:56:14 +00:00
|
|
|
|
2006-04-10 21:47:09 +00:00
|
|
|
\note{If you want a language to be loaded automatically every time you start
|
2007-12-14 02:03:58 +00:00
|
|
|
up, it must be located in the \fname{/.rockbox/langs} directory and the filename
|
2006-12-02 09:42:09 +00:00
|
|
|
must be a maximum of 24 characters long.}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-04-04 17:48:10 +00:00
|
|
|
If your language is not yet supported and you want to write your own language
|
|
|
|
file find the instructions on the Rockbox website:
|
2006-12-29 19:22:56 +00:00
|
|
|
\wikilink{LangFiles}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2007-03-15 02:09:15 +00:00
|
|
|
\opt{HAVE_LCD_COLOR}{
|
|
|
|
\subsection{Changing Colours}
|
|
|
|
The colours used in the Rockbox interface can be changed to any combination
|
|
|
|
of background and foreground colour you like. To do this go to the
|
|
|
|
\setting{Settings $\rightarrow$ General Settings $\rightarrow$ Display}
|
|
|
|
and select \setting{Background Colour} or \setting{Foreground Colour}.
|
|
|
|
The colours set here are used in all menus, browsers and in the
|
|
|
|
\setting{While Playing Screen}.
|
|
|
|
}
|
|
|
|
|
2006-11-13 15:14:28 +00:00
|
|
|
\nopt{archos}{%
|
|
|
|
\subsection{\label{ref:LoadingBackdrops}Loading Backdrops}
|
|
|
|
Rockbox supports showing an image as a backdrop in the \setting{File Browser}
|
|
|
|
and the menus. The backdrop image must be a \fname{.bmp} file of the exact
|
|
|
|
same dimensions as the display in your \dap{} (\genericimg{} with the last
|
|
|
|
number giving the colour depth in bits). To use an image as a backdrop browse
|
|
|
|
to it in the \setting{File Browser} and open the \setting{File Menu}
|
|
|
|
(see \reference{ref:Filemenu}) on it and select the option
|
|
|
|
\setting{Set As Backdrop}. If you want rockbox to remember your
|
|
|
|
backdrop the next time you start your \dap{} the backdrop must be placed in
|
2007-12-14 02:03:58 +00:00
|
|
|
the \fname{/.rockbox/backdrops} directory.
|
2006-11-13 15:14:28 +00:00
|
|
|
}%
|
|
|
|
|
2006-02-11 00:57:17 +00:00
|
|
|
\section{\label{ref:ConfiguringtheWPS}Configuring the WPS}
|
|
|
|
|
2006-04-10 21:47:09 +00:00
|
|
|
\subsection{WPS -- General Info}
|
|
|
|
|
|
|
|
\begin{description}
|
2006-08-18 16:57:56 +00:00
|
|
|
\item[Description: ] The WPS or While Playing Screen is the name used to
|
|
|
|
describe the information displayed on the \daps\ screen whilst an audio track
|
|
|
|
is being played. The default WPS is a relatively simple screen displaying
|
|
|
|
Track name, Artist, Album etc. in the default font as a purely text based
|
|
|
|
layout. There are a number of WPS files included in Rockbox, and you can
|
|
|
|
load one of these at anytime by selecting it in
|
|
|
|
\setting{General Settings $\rightarrow$ Display $\rightarrow$ Browse .wps files}.
|
2006-08-28 17:44:49 +00:00
|
|
|
\opt{HAVE_REMOTE_LCD}{There is a related option to browse \fname{.rwps}
|
|
|
|
files for \daps{} with LCD remote controls installed. This will load a
|
|
|
|
similar WPS screen for the remote but with usually a simpler and more
|
|
|
|
concise layout.}
|
2006-04-10 21:47:09 +00:00
|
|
|
|
2006-06-07 12:15:46 +00:00
|
|
|
\note{``Playing'' a \fname{.wps} from the file browser has the same effect.}
|
2006-04-10 21:47:09 +00:00
|
|
|
|
|
|
|
\item [File Location: ]Custom WPS files may be located anywhere on the drive.
|
2006-08-18 16:57:56 +00:00
|
|
|
The only restriction is that they must end in \fname{.wps}. When you ``play''
|
|
|
|
a \fname{.wps} file, it will be used for future WPS screens, and if the
|
2007-12-14 02:03:58 +00:00
|
|
|
``played'' \fname{.wps} file is located in the \fname{/.rockbox/wps} directory, it
|
2006-08-18 16:57:56 +00:00
|
|
|
will be remembered and used after reboot. The \fname{.wps} filename must be
|
|
|
|
no more than 24 characters long for it to be remembered.
|
2006-04-10 21:47:09 +00:00
|
|
|
\end{description}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-04-10 21:47:09 +00:00
|
|
|
\subsection{\label{ref:CreateYourOwnWPS}WPS -- Build Your Own}
|
2006-04-04 17:48:10 +00:00
|
|
|
Quite simply, enter the WPS code in your favourite text editor, Notepad on
|
2006-06-07 12:15:46 +00:00
|
|
|
Windows works fine. When you save it, instead of saving it as a \fname{.txt}
|
|
|
|
file, save it as a \fname{.wps} file. Example: Instead of \fname{Rockbox.txt},
|
|
|
|
save the file as \fname{Rockbox.wps}. To make sure non english characters
|
|
|
|
display correctly in your WPS you must save the .wps file with UTF-8 character
|
|
|
|
encoding. This can be done in most editors, for example Notepad in Windows 2000
|
2006-08-18 16:57:56 +00:00
|
|
|
or XP (but not in 9x/ME) can do this. See appendix \reference{ref:wps_tags} for
|
|
|
|
all the tags that are available.
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 17:09:06 +00:00
|
|
|
\begin{itemize}
|
2006-08-18 16:57:56 +00:00
|
|
|
\item All characters not preceded by \% are displayed as typed.
|
|
|
|
\item Lines beginning with \# are comments and will be ignored.
|
|
|
|
\item Maximum file size used is
|
2006-08-27 20:44:23 +00:00
|
|
|
\opt{HAVE_LCD_BITMAP}{1600}
|
2006-08-18 16:57:56 +00:00
|
|
|
\opt{player}{400} bytes.
|
|
|
|
If you have a bigger WPS file, only the first part of it will be
|
|
|
|
loaded and used.
|
2006-06-07 17:09:06 +00:00
|
|
|
\end{itemize}
|
2006-04-10 21:47:09 +00:00
|
|
|
|
2006-08-28 18:09:17 +00:00
|
|
|
\note{Keep in mind that your \dap{} resolution is \genericimg{} (with
|
|
|
|
the last number giving the colour depth in bits) when
|
|
|
|
designing your own WPS, or if you use a WPS designed for another target.
|
|
|
|
\opt{HAVE_REMOTE_LCD}{The resolution of the remote is
|
|
|
|
\opt{h1xx,h300}{128x64x1}\opt{x5}{128x96x2} pixels.}}
|
2006-08-28 17:44:49 +00:00
|
|
|
|
2006-03-08 15:04:36 +00:00
|
|
|
\subsubsection{Conditional Tags}
|
2006-03-15 10:56:14 +00:00
|
|
|
|
2006-06-07 12:15:46 +00:00
|
|
|
\begin{description}
|
|
|
|
\item[If/else: ]
|
2006-06-07 17:09:06 +00:00
|
|
|
Syntax: \config{\%?xx{\textless}true{\textbar}false{\textgreater}}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 16:37:04 +00:00
|
|
|
If the tag specified by ``\config{xx}'' has a value, the text between the
|
|
|
|
``\config{{\textless}}'' and the ``\config{{\textbar}}'' is displayed (the true
|
|
|
|
part), else the text between the ``\config{{\textbar}}'' and the
|
|
|
|
``\config{{\textgreater}}'' is displayed (the false part).
|
|
|
|
The else part is optional, so the ``\config{{\textbar}}'' does not have to be
|
|
|
|
specified if no else part is desired. The conditionals nest, so the text in the
|
|
|
|
if and else part can contain all \config{\%} commands, including conditionals.
|
2006-03-15 10:56:14 +00:00
|
|
|
|
2006-06-07 12:15:46 +00:00
|
|
|
\item[Enumerations: ]
|
2006-06-07 17:09:06 +00:00
|
|
|
Syntax: \config{\%?xx{\textless}alt1{\textbar}alt2{\textbar}alt3{\textbar}\dots{\textbar}else{\textgreater}}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 16:37:04 +00:00
|
|
|
For tags with multiple values, like Play status, the conditional can hold a
|
|
|
|
list of alternatives, one for each value the tag can have.
|
|
|
|
Example enumeration:
|
|
|
|
\begin{example}
|
2006-10-25 22:12:25 +00:00
|
|
|
\%?mp{\textless}Stop{\textbar}\%Play{\textbar}Pause{\textbar}Ffwd{\textbar}Rew{\textgreater}
|
2006-06-07 16:37:04 +00:00
|
|
|
\end{example}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 16:37:04 +00:00
|
|
|
The last else part is optional, and will be displayed if the tag has no value.
|
|
|
|
The WPS parser will always display the last part if the tag has no value, or if
|
|
|
|
the list of alternatives is too short.
|
2006-06-07 12:15:46 +00:00
|
|
|
\end{description}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
|
|
|
\subsubsection{Next Song info}
|
2006-04-10 21:47:09 +00:00
|
|
|
You can display information about the next song -- the song that is
|
2006-02-11 00:57:17 +00:00
|
|
|
about to play after the one currently playing (unless you change the
|
2006-03-08 15:04:36 +00:00
|
|
|
plan).
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-06-07 17:09:06 +00:00
|
|
|
If you use the upper-case versions of the
|
2006-06-07 16:37:04 +00:00
|
|
|
three tags: \config{F}, \config{I} and \config{D}, they will instead refer to
|
|
|
|
the next song instead of the current one. Example: \config{\%Ig} is the genre
|
|
|
|
name used in the next song and \config{\%Ff} is the mp3 frequency.
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-06-07 17:09:06 +00:00
|
|
|
\note{The next song information \emph{will not} be available at all
|
2006-08-18 16:57:56 +00:00
|
|
|
times, but will most likely be available at the end of a song. We
|
|
|
|
suggest you use the conditional display tag a lot when displaying
|
|
|
|
information about the next song!}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
|
|
|
\subsubsection{Alternating sublines}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-06-07 16:37:04 +00:00
|
|
|
It is possible to group items on each line into 2 or more groups or
|
|
|
|
``sublines''. Each subline will be displayed in succession on the line for a
|
|
|
|
specified time, alternating continuously through each defined subline.
|
2006-02-11 00:57:17 +00:00
|
|
|
|
|
|
|
Items on a line are broken into sublines with the semicolon
|
2006-06-07 16:37:04 +00:00
|
|
|
'\config{;}' character. The display time for
|
2006-02-11 00:57:17 +00:00
|
|
|
each subline defaults to 2 seconds unless modified by using the
|
2006-06-07 16:37:04 +00:00
|
|
|
'\config{\%t}' tag to specify an alternate
|
2006-02-11 00:57:17 +00:00
|
|
|
time (in seconds and optional tenths of a second) for the subline to be
|
|
|
|
displayed.
|
|
|
|
|
|
|
|
Subline related special characters and tags:
|
2006-06-07 17:09:06 +00:00
|
|
|
\begin{description}
|
|
|
|
\item[;] Split items on a line into separate sublines
|
|
|
|
\item[\%t] Set the subline display time. The
|
2006-06-07 16:37:04 +00:00
|
|
|
'\config{\%t}' is followed by either integer
|
|
|
|
seconds (\config{\%t5}), or seconds and tenths of a second (\config{\%t3.5}).
|
2006-06-07 17:09:06 +00:00
|
|
|
\end{description}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
|
|
|
Each alternating subline can still be optionally scrolled while it is
|
|
|
|
being displayed, and scrollable formats can be displayed on the same
|
|
|
|
line with non{}-scrollable formats (such as track elapsed time) as long
|
2006-03-08 15:04:36 +00:00
|
|
|
as they are separated into different sublines.
|
|
|
|
Example subline definition:
|
2006-06-07 12:15:46 +00:00
|
|
|
\begin{example}
|
2006-06-07 13:29:52 +00:00
|
|
|
%s%t4%ia;%s%it;%t3%pc %pr : Display id3 artist for 4 seconds,
|
|
|
|
Display id3 title for 2 seconds,
|
|
|
|
Display current and remaining track time
|
|
|
|
for 3 seconds,
|
|
|
|
repeat...
|
2006-06-07 12:15:46 +00:00
|
|
|
\end{example}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 16:37:04 +00:00
|
|
|
Conditionals can be used with sublines to display a different set and/or number
|
|
|
|
of sublines on the line depending on the evaluation of the conditional.
|
2006-03-08 15:04:36 +00:00
|
|
|
Example subline with conditionals:
|
2006-06-07 12:15:46 +00:00
|
|
|
\begin{example}
|
2006-06-07 13:29:52 +00:00
|
|
|
%?it{\textless}%t8%s%it{\textbar}%s%fn{\textgreater};%?ia{\textless}%t3%s%ia{\textbar}%t0{\textgreater}\\
|
2006-06-07 12:15:46 +00:00
|
|
|
\end{example}
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 16:37:04 +00:00
|
|
|
The format above will do two different things depending if ID3 tags are
|
|
|
|
present. If the ID3 artist and title are present:
|
2006-06-07 17:09:06 +00:00
|
|
|
\begin{itemize}
|
|
|
|
\item Display id3 title for 8 seconds,
|
|
|
|
\item Display id3 artist for 3 seconds,
|
|
|
|
\item repeat\dots
|
|
|
|
\end{itemize}
|
|
|
|
If the ID3 artist and title are not present:
|
|
|
|
\begin{itemize}
|
|
|
|
\item Display the filename continuously.
|
|
|
|
\end{itemize}
|
2006-04-04 17:48:10 +00:00
|
|
|
Note that by using a subline display time of 0 in one branch of a conditional,
|
|
|
|
a subline can be skipped (not displayed) when that condition is met.
|
2006-03-08 15:04:36 +00:00
|
|
|
|
|
|
|
\subsubsection{Using Images}
|
2006-04-10 21:47:09 +00:00
|
|
|
You can have as many as 52 images in your WPS. There are various ways of
|
2006-04-04 17:48:10 +00:00
|
|
|
displaying images:
|
2006-03-08 15:04:36 +00:00
|
|
|
\begin{enumerate}
|
2006-06-07 16:37:04 +00:00
|
|
|
\item Load and always show the image, using the \config{\%x} tag
|
|
|
|
\item Preload the image with \config{\%xl} and show it with \config{\%xd}.
|
|
|
|
This way you can have your images displayed conditionally.
|
2006-11-13 15:14:28 +00:00
|
|
|
\nopt{archos}{%
|
2006-08-18 16:57:56 +00:00
|
|
|
\item Load an image and show as backdrop using the \config{\%X} tag. The
|
|
|
|
image must be of the same exact dimensions as your display.
|
2006-11-13 15:14:28 +00:00
|
|
|
}%
|
2006-03-08 15:04:36 +00:00
|
|
|
\end{enumerate}
|
2006-06-04 15:03:39 +00:00
|
|
|
|
2006-11-13 15:14:28 +00:00
|
|
|
\optv{SWCODEC}{% This doesn't depend on SWCODEC but we don't have a \noptv
|
|
|
|
% command.
|
2006-06-07 12:15:46 +00:00
|
|
|
Example on background image use:
|
|
|
|
\begin{example}
|
2006-06-07 17:09:06 +00:00
|
|
|
%X|background.bmp|
|
2006-06-07 12:15:46 +00:00
|
|
|
\end{example}
|
|
|
|
The image with filename \fname{background.bmp} is loaded and used in the WPS.
|
2006-11-13 15:14:28 +00:00
|
|
|
}%
|
2006-06-07 12:15:46 +00:00
|
|
|
|
|
|
|
Example on bitmap preloading and use:
|
|
|
|
\begin{example}
|
2006-06-07 17:09:06 +00:00
|
|
|
%x|a|static_icon.bmp|50|50|
|
|
|
|
%xl|b|rep\_off.bmp|16|64|
|
|
|
|
%xl|c|rep\_all.bmp|16|64|
|
|
|
|
%xl|d|rep\_one.bmp|16|64|
|
|
|
|
%xl|e|rep\_shuffle.bmp|16|64|
|
|
|
|
%?mm<%xdb|%xdc|%xdd|%xde>
|
2006-06-07 12:15:46 +00:00
|
|
|
\end{example}
|
|
|
|
Four images at the same x and y position are preloaded in the example. Which
|
2006-06-07 16:37:04 +00:00
|
|
|
image to display is determined by the \config{\%mm} tag (the repeat mode).
|
2006-03-08 15:04:36 +00:00
|
|
|
|
|
|
|
\subsubsection{Example File}
|
2006-06-07 12:15:46 +00:00
|
|
|
\begin{example}
|
2006-06-07 17:09:06 +00:00
|
|
|
%s%?in<%in - >%?it<%it|%fn> %?ia<[%ia%?id<, %id>]>
|
|
|
|
%pb%pc/%pt
|
2006-06-07 12:15:46 +00:00
|
|
|
\end{example}
|
2006-04-04 17:48:10 +00:00
|
|
|
That is, ``tracknum -- title [artist, album]'', where most fields are only
|
|
|
|
displayed if available. Could also be rendered as ``filename'' or ``tracknum --
|
|
|
|
title [artist]''.
|
2006-03-08 15:04:36 +00:00
|
|
|
|
2006-06-07 12:15:46 +00:00
|
|
|
%\opt{HAVE_LCD_BITMAP}{
|
2006-03-08 15:04:36 +00:00
|
|
|
% \begin{verbatim}
|
2006-06-07 12:15:46 +00:00
|
|
|
% %s%?it<%?in<%in. |>%it|%fn>
|
|
|
|
% %s%?ia<%ia|%?d2<%d2|(root)>>
|
|
|
|
% %s%?id<%id|%?d1<%d1|(root)>> %?iy<(%iy)|>
|
|
|
|
%
|
|
|
|
% %al%pc/%pt%ar[%pp:%pe]
|
|
|
|
% %fbkBit %?fv<avg|> %?iv<(id3v%iv)|(no id3)>
|
|
|
|
% %pb
|
|
|
|
% %pm
|
|
|
|
% % \end{verbatim}
|
|
|
|
%}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-08-12 15:56:33 +00:00
|
|
|
\section{\label{ref:manage_settings}Managing Rockbox settings}
|
|
|
|
|
2006-08-18 16:57:56 +00:00
|
|
|
\subsection{Introduction to \fname{.cfg} files.}
|
2008-01-17 19:45:22 +00:00
|
|
|
Rockbox allows users to store and load multiple settings through the use of
|
|
|
|
configuration files. A configuration file is simply a text file with the
|
|
|
|
extension \fname{.cfg}.
|
2006-08-18 16:57:56 +00:00
|
|
|
|
2007-05-19 19:03:39 +00:00
|
|
|
A configuration file may reside anywhere on the disk. Multiple
|
2006-08-18 16:57:56 +00:00
|
|
|
configuration files are permitted. So, for example, you could have
|
|
|
|
a \fname{car.cfg} file for the settings that you use while playing your
|
|
|
|
jukebox in your car, and a \fname{headphones.cfg} file to store the
|
|
|
|
settings that you use while listening to your \dap\ through headphones.
|
|
|
|
|
|
|
|
See \reference{ref:cfg_specs} below for an explanation of the format
|
2008-01-17 19:45:22 +00:00
|
|
|
for configuration files. See \reference{ref:manage_settings_menu} for an
|
2006-08-18 16:57:56 +00:00
|
|
|
explanation of how to create, edit and load configuration files.
|
|
|
|
|
|
|
|
\subsection{\label{ref:cfg_specs}Specifications for \fname{.cfg}
|
|
|
|
files.}
|
|
|
|
|
|
|
|
The Rockbox configuration file is a plain text file, so once you use the
|
|
|
|
\setting{Write .cfg file} option to create the file, you can edit the file on
|
2008-01-17 19:45:22 +00:00
|
|
|
your computer using any text editor program. See
|
2006-08-18 16:57:56 +00:00
|
|
|
Appendix \reference{ref:config_file_options} for available settings. Configuration
|
2008-01-17 19:45:22 +00:00
|
|
|
files use the following formatting rules: %
|
2006-08-18 16:57:56 +00:00
|
|
|
|
|
|
|
\begin{enumerate}
|
|
|
|
\item Each setting must be on a separate line.
|
|
|
|
\item Each line has the format ``setting: value''.
|
|
|
|
\item Values must be within the ranges specified in this manual for each
|
|
|
|
setting.
|
|
|
|
\item Lines starting with \# are ignored. This lets you write comments into
|
|
|
|
your configuration files.
|
|
|
|
\end{enumerate}
|
|
|
|
|
|
|
|
Example of a configuration file:
|
|
|
|
\begin{example}
|
|
|
|
# Example configuration file
|
|
|
|
# volume: 70
|
|
|
|
# bass: 11
|
|
|
|
# treble: 12
|
|
|
|
# balance: 0
|
|
|
|
# time format: 12hour
|
|
|
|
# volume display: numeric
|
|
|
|
# show files: supported
|
|
|
|
# wps: /.rockbox/car.wps
|
|
|
|
# lang: /.rockbox/afrikaans.lng
|
|
|
|
\end{example}
|
|
|
|
|
|
|
|
\note{As you can see from the example, configuration files do not need to
|
|
|
|
contain all of the Rockbox options. You can create configuration files
|
|
|
|
that change only certain settings. So, for example, supppose you
|
2006-08-27 20:44:23 +00:00
|
|
|
typically use the \dap{} at one volume in the car, and another when using
|
2006-08-18 16:57:56 +00:00
|
|
|
headphones. Further, suppose you like to use an inverse LCD when you are
|
|
|
|
in the car, and a regular LCD setting when you are using headphones. You
|
|
|
|
could create configuration files that control only the volume and LCD
|
|
|
|
settings. Create a few different files with different settings, give
|
|
|
|
each file a different name (such as \fname{car.cfg},
|
|
|
|
\fname{headphones.cfg}, etc.), and you can then use the \setting{Browse .cfg
|
2006-08-12 15:56:33 +00:00
|
|
|
files} option to quickly change settings.}
|
2006-08-18 16:57:56 +00:00
|
|
|
|
|
|
|
\subsection{\label{ref:manage_settings_menu}The \setting{Manage Settings}
|
|
|
|
menu} The \setting{Manage Settings} menu can be found in the \setting{Main
|
2006-08-27 20:44:23 +00:00
|
|
|
Menu}. The \setting{Manage Settings} menu allows you to save and load
|
|
|
|
\fname{.cfg} files. \opt{MASCODEC}{The \setting{Manage Settings} menu also
|
2006-08-18 16:57:56 +00:00
|
|
|
allows you to load or save different firmware versions.}
|
|
|
|
|
|
|
|
\begin{description}
|
|
|
|
|
2006-08-27 20:44:23 +00:00
|
|
|
\item [Browse .cfg Files.]Opens the file browser in the \fname{/.rockbox}
|
|
|
|
directory and displays all \fname{.cfg} (configuration) files. Selecting a
|
|
|
|
\fname{.cfg} file will cause Rockbox to load the settings contained in that
|
|
|
|
file. Pressing \ButtonLeft\ will exit back to the \setting{Manage Settings}
|
|
|
|
menu. See the \setting{Write .cfg files} option on the
|
|
|
|
\setting{Manage Settings} menu for details of how to save and edit a
|
|
|
|
configuration file.
|
2006-08-18 16:57:56 +00:00
|
|
|
|
|
|
|
\item [Reset Settings.]This wipes the saved settings in the \dap\ and
|
|
|
|
resets all settings to their default values.
|
2006-08-12 15:56:33 +00:00
|
|
|
|
2008-01-20 16:33:12 +00:00
|
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{
|
|
|
|
\note{You can also reset all settings to their default
|
2008-01-17 19:45:22 +00:00
|
|
|
values by turning off the \dap, turning it back on, and pressing the
|
|
|
|
\ButtonRec\ button immediately after the \dap\ turns on.}
|
2006-08-18 16:57:56 +00:00
|
|
|
}
|
2008-01-20 16:33:12 +00:00
|
|
|
\opt{IPOD_4G_PAD,IRIVER_H10_PAD}{\note{You can also reset all settings to
|
|
|
|
their default values by turning off the \dap, and turning it back on
|
|
|
|
with the \ButtonHold\ button on.}
|
2006-08-18 16:57:56 +00:00
|
|
|
}
|
2008-01-20 16:33:12 +00:00
|
|
|
\opt{GIGABEAT_PAD}{\note{You can also reset all settings to their default
|
|
|
|
values by turning off the \dap, turning it back on and pressing the
|
|
|
|
\ButtonA\ button immediately after the \dap\ turns on.}
|
2007-04-27 19:38:16 +00:00
|
|
|
}
|
2008-01-17 19:45:22 +00:00
|
|
|
|
2006-08-18 16:57:56 +00:00
|
|
|
\item [Write .cfg file.]This option writes a \fname{.cfg} file to
|
2007-05-19 19:03:39 +00:00
|
|
|
your \daps\ disk. The configuration file has the \fname{.cfg}
|
2006-08-18 16:57:56 +00:00
|
|
|
extension and is used to store all of the user settings that are described
|
|
|
|
throughout this manual.
|
2006-08-12 15:56:33 +00:00
|
|
|
|
2006-08-18 16:57:56 +00:00
|
|
|
Hint: Use the \setting{Write .cfg file} feature (\setting{Main Menu
|
|
|
|
$\rightarrow$ General Settings}) to save the current settings, then
|
|
|
|
use a text editor to customize the settings file. See Appendix
|
|
|
|
\reference{ref:config_file_options} for the full reference of available
|
|
|
|
options.
|
2006-08-12 15:56:33 +00:00
|
|
|
|
2006-08-18 16:57:56 +00:00
|
|
|
\end{description}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
|
|
|
\section{\label{ref:FirmwareLoading}Firmware Loading}
|
2006-03-25 09:22:43 +00:00
|
|
|
\opt{player,recorder,recorderv2fm,ondio}{
|
2006-08-27 15:00:50 +00:00
|
|
|
When your \dap{} powers on, it loads the Archos firmware in ROM, which
|
2007-12-14 02:03:58 +00:00
|
|
|
automatically checks your \daps{} root directory for a file named
|
2006-06-07 12:15:46 +00:00
|
|
|
\firmwarefilename. Note that Archos firmware can only read the first
|
2008-02-13 13:32:44 +00:00
|
|
|
ten characters of each filename in this process, so do not rename your old
|
2006-06-07 12:15:46 +00:00
|
|
|
firmware files with names like \firmwarefilename.\fname{old} and so on,
|
2007-12-13 22:51:27 +00:00
|
|
|
because it is possible that the \dap{} will load a file other than the one
|
2006-08-27 15:00:50 +00:00
|
|
|
you intended.
|
2006-03-15 10:56:14 +00:00
|
|
|
}
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2006-07-24 20:53:27 +00:00
|
|
|
\subsection{\label{ref:using_rolo}Using ROLO (Rockbox loader)}
|
2006-04-04 17:48:10 +00:00
|
|
|
Rockbox is able to load and start another firmware file without rebooting.
|
2006-07-24 20:53:27 +00:00
|
|
|
You just ``play'' a file with the extension %
|
|
|
|
\opt{recorder,recorderv2fm,ondio}{\fname{.ajz}.} %
|
|
|
|
\opt{player}{\fname{.mod}.} %
|
2007-09-18 21:56:42 +00:00
|
|
|
\opt{h1xx,h300}{\fname{.iriver}.} %
|
2006-07-24 20:53:27 +00:00
|
|
|
\opt{ipod}{\fname{.ipod}.} %
|
|
|
|
\opt{iaudio}{\fname{.iaudio}.} %
|
2007-09-18 21:56:42 +00:00
|
|
|
\opt{sansa,h10,h10_5gb}{\fname{.mi4}.} %
|
2006-07-24 20:53:27 +00:00
|
|
|
This can be used to test new firmware versions without deleting your
|
2006-04-04 17:48:10 +00:00
|
|
|
current version.
|
2006-02-11 00:57:17 +00:00
|
|
|
|
2008-02-13 13:32:44 +00:00
|
|
|
\opt{gigabeat}{\note{This feature does not work on the gigabeat currently.}}
|
2007-04-20 15:44:43 +00:00
|
|
|
|
2006-06-15 11:56:50 +00:00
|
|
|
\opt{archos}{\input{advanced_topics/archos-flashing.tex}}
|