FS#7708 - random folder advance file export

Attached to Project: Rockbox
Opened by John K (yegods) - Tuesday, 04 September 2007, 18:51 GMT
Last edited by Jonathan Gordon (jdgordon) - Thursday, 24 April 2008, 11:00 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


after using the Random Folder advance feature, i found i need to edit the resulting .dat file. but it is a dump of a 'C' structure, and is hard to edit. i have modified the random_folder_advance_config plugin to have commands that will export the .dat file to a text file, and will import a text file to the .dat file.

the commands are easy to use:

if you want to export the .dat file to a text file, then navigate to the random_folder_advance_config plugin and select "Export List to Textfile". It will be put into "/.rockbox/folder_advance_list.txt". You may then open the file on your desktop and edit.

if you want to import that edited text file, select "Import List from Textfile", and it will import the list in "/.rockbox/folder_advance_list.txt" and resave the .dat file.

i have not done a lot of testing, but it seems to handle the conversions between .dat and .txt files pretty well. i haven't noticed any problems.
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Thursday, 24 April 2008, 11:00 GMT
Reason for closing:  Accepted
Additional comments about closing:  Thanks