Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: persistent settings

persistent settings

From: gizz <gizz_at_online.fr>
Date: Thu, 26 Sep 2002 08:39:47 +0200

Björn, could you explain please what is the problem with "persistent wps and
font file selection" ?

Is it a problem of missing space for storing full path in RTC/sector 60 ?

Because if yes, I imagined another system, instead of allowing user to put
zillions of .eq, .wps, .fnt in /.rockbox,
then use hardcoded config files such as : eq.ini, wps.ini, font.ini, etc...
Then, such INI files would contain sections corresponding to either :

- one section : one another "ini" file name (ie : eq1.eq for eq.ini, or
font_cool.fnt for font.ini, etc...)
this way, we keep current ini system

ie: eq.ini
[default]
default.eq

[cool]
cool.eq

- one section : directly one ini settings

ie : wps.ini
[standard]
line1=%ia
line2=%pc/%pr

[custom]
line1=<whatever>
line2=<ditto>

.. but I presume one would prefer first behaviour, because user can still
have multiple ini files, and can swap with other ppl more easily...

This way, if one want to keep user selection persistent, it is not needed to
store ie: "/.rockbox/cool.eq" for eq setting but rather "1" because it is
the second entry (starting from 0 :) in /.rockbox/eq.ini

Hope this helps..

Nicolas Sauzède.
Received on 2002-09-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy