View Full Version : Palm OS5 Saved_Preferences.prc layout
Developers, I'd like to write a small program to sort a number of saved preference entries for an application. As I'm not a Palm developer, I'll have to write this in something like VB to process the Saved_preferences.prc file on my PC and then put it back on my Clie TH55.
I'm having difficulty trying to find anything that explains the internal layout of this file. Can anyone point me in the right direction please?
Thank you in advance.
potter
06-29-2006, 08:58 AM
Why would you want to sort the Saved Preference database?
Anyways, the Saved_Preference.prc file is formatted the same as any other PRC file, which is a super-set of the PDB format. Once you get beyond the PRC format, each application has its own format for its records.
I would suggest researching these formats. I have seen tools that can take apart PRC files into each component record, and then put them back again. Take a look for palm resource editors. A palm resource editor would treat each record as a binary record that it does not know how to edit (other than in hex).
Thanks for the response.
I'm looking to sort a list of SatNav destinations into alphabetical order, all of which are held in the saved prefs file. There's a lot of them and the SatNav app doesn't sort them itself (duh!) so I have to scroll to the end to find out it's not in there!
I think I've found a logical structure within the "one" prefs record, using a hex-dump type approach. My theory is that I can re-arrange a part of the prefs file (the 1 record) without cocking up anything else.
If the PDB & PRC formats adhere to a Palm standard for each, I'll see what I can find from the Palm developers documentation and take it from there.
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.