2003-02-14 14:14:55 +00:00
|
|
|
Custom CFG File Format Specification
|
2002-09-06 06:20:15 +00:00
|
|
|
|
2003-02-14 14:14:55 +00:00
|
|
|
General Info
|
|
|
|
------------
|
|
|
|
The .cfg file is used to load settings from a plain text file. A .cfg file may
|
|
|
|
reside anywhere on the hard disk. The only restriction is that the filename
|
|
|
|
must end in .cfg
|
2002-09-06 06:20:15 +00:00
|
|
|
|
|
|
|
Format Rules
|
|
|
|
------------
|
2003-02-14 14:14:55 +00:00
|
|
|
* Format: setting: value
|
|
|
|
* Each setting must be on a separate line.
|
2002-10-02 16:33:26 +00:00
|
|
|
* Lines starting with # are ignored.
|
2003-02-14 14:14:55 +00:00
|
|
|
|
|
|
|
Settings (allowed values) [unit]
|
|
|
|
--------------------------------
|
|
|
|
volume (0 - 100)
|
|
|
|
bass (-15 - 15)
|
|
|
|
treble (-15 - 15)
|
|
|
|
balance (-100 - 100)
|
2003-03-10 14:07:36 +00:00
|
|
|
channels (stereo, stereo narrow, stereo wide,
|
|
|
|
mono, mono left, mono right, karaoke)
|
2003-02-14 14:14:55 +00:00
|
|
|
|
|
|
|
shuffle (on, off)
|
|
|
|
repeat (off, all, one)
|
|
|
|
play selected (on, off)
|
2003-02-17 09:53:11 +00:00
|
|
|
resume (off, ask, ask once, on)
|
|
|
|
scan min step (1, 2, 3, 4, 5, 6, 8, 10, 15, 20, 25, 30, 45, 60) [seconds]
|
2003-02-14 14:14:55 +00:00
|
|
|
scan accel (0 - 15) [double scan speed every X seconds]
|
|
|
|
antiskip (0 - 7) [seconds]
|
2003-02-14 15:54:52 +00:00
|
|
|
volume fade (on, off)
|
2003-02-14 14:14:55 +00:00
|
|
|
|
|
|
|
sort case (on, off)
|
2003-02-17 09:53:11 +00:00
|
|
|
show files (all, supported, music, playlists)
|
2003-02-14 14:14:55 +00:00
|
|
|
follow playlist (on, off)
|
|
|
|
|
|
|
|
scroll speed (1 - 10) [Hz]
|
2003-02-25 19:12:14 +00:00
|
|
|
scroll delay (0 - 250) [1/10s]
|
2003-02-17 09:53:11 +00:00
|
|
|
scroll step (1 - 112) [pixels]
|
2003-02-14 14:14:55 +00:00
|
|
|
bidir limit (0 - 200) [% of screen width]
|
|
|
|
contrast (0 - 63)
|
|
|
|
backlight timeout (off, on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
|
2003-02-25 19:12:14 +00:00
|
|
|
15, 20, 25, 30, 45, 60, 90) [seconds]
|
2003-02-14 14:14:55 +00:00
|
|
|
backlight when plugged (on, off)
|
|
|
|
|
|
|
|
disk spindown (3 - 254) [seconds]
|
|
|
|
battery capacity (1500 - 2400) [mAh]
|
|
|
|
idle poweroff (off, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
|
|
|
10, 15, 30, 45, 60) [minutes]
|
|
|
|
|
2003-02-17 09:53:11 +00:00
|
|
|
lang (/path/filename.lng)
|
|
|
|
wps (/path/filename.wps)
|
|
|
|
|
2003-02-14 14:14:55 +00:00
|
|
|
Recorder-specific settings (allowed values) [unit]
|
|
|
|
---------------------------------------------------
|
|
|
|
loudness (0 - 17)
|
|
|
|
bass boost (0 - 100)
|
2003-03-10 14:07:36 +00:00
|
|
|
auto volume (off, 2, 4, 8) [seconds]
|
2003-02-14 14:14:55 +00:00
|
|
|
|
|
|
|
peak meter release (1 - 126)
|
|
|
|
peak meter hold (off, 200ms, 300ms, 500ms,
|
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
|
2003-02-25 19:12:14 +00:00
|
|
|
15, 20, 30, 1min)
|
2003-02-14 14:14:55 +00:00
|
|
|
peak meter clip hold (on, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
|
|
15, 20, 25, 30, 45, 60, 90,
|
|
|
|
2min, 3min, 5min, 10min, 20min, 45min, 90min)
|
|
|
|
peak meter busy (on, off)
|
|
|
|
peak meter dbfs (on, off) (on = dbfs, off = linear)
|
|
|
|
peak meter min (0 - 89) [dB] or (0 - 100) [%]
|
|
|
|
peak meter max (0 - 89) [dB] or (0 - 100) [%]
|
|
|
|
|
2003-02-17 09:53:11 +00:00
|
|
|
statusbar (on, off)
|
|
|
|
scrollbar (on, off)
|
2003-02-14 14:14:55 +00:00
|
|
|
volume display (graphic, numeric)
|
|
|
|
battery display (graphic, numeric)
|
|
|
|
time format (12hour, 24hour)
|
2003-02-17 15:02:57 +00:00
|
|
|
font (/path/filename.fnt)
|
2003-03-10 14:07:36 +00:00
|
|
|
invert (on, off)
|
2003-02-14 14:14:55 +00:00
|
|
|
|
|
|
|
deep discharge (on, off)
|
|
|
|
trickle charge (on, off)
|
2003-02-17 09:53:11 +00:00
|
|
|
disk poweroff (on, off)
|
2003-02-14 14:14:55 +00:00
|
|
|
|
|
|
|
rec quality (0 - 7) (0=smallest size, 7=highest quality)
|
|
|
|
rec frequency (48, 44, 32, 24, 22, 16) [kHz]
|
|
|
|
rec source (mic, line, spdif)
|
|
|
|
rec channels (mono, stereo)
|
|
|
|
rec mic gain (0 to 15)
|
|
|
|
rec left gain (0 to 15)
|
|
|
|
rec right gain (0 to 15)
|
|
|
|
|
2002-09-06 06:20:15 +00:00
|
|
|
|
|
|
|
Example File
|
|
|
|
------------
|
2002-10-02 16:33:26 +00:00
|
|
|
volume: 70
|
|
|
|
bass: 11
|
|
|
|
treble: 12
|
|
|
|
balance: 0
|
2003-02-14 14:14:55 +00:00
|
|
|
time format: 12hour
|
|
|
|
volume display: numeric
|
|
|
|
show files: supported
|
2003-02-17 09:57:00 +00:00
|
|
|
wps: /.rockbox/car.wps
|
|
|
|
lang: /.rockbox/afrikaans.lng
|
2002-10-02 16:33:26 +00:00
|
|
|
|