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
From: gizz (gizz_at_online.fr)
Date: 2002-09-26


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.



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa