Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7708 - random folder advance file export

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

Details

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.
   randdir_output.patch (7 KiB)
 ../apps/plugins/random_folder_advance_config.c |  210 +++++++++++++++++++++----
 1 file changed, 180 insertions(+), 30 deletions(-)

This task depends upon

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

Loading...