Rockbox

Attached to Project: Rockbox
Opened by Jonathan Gordon - 2006-05-30
Last edited by Jonathan Gordon - 2007-08-06

FS#5464 - organise the rocks dir

this patch changes the browse plugins menu to asking the user if he wants to view the game plugins, app plugins or demos plugins so you dont have to scroll through all the plugins to find the one you want..
the only thing left is to fix the build zip script to put the rocks in the correct subdirs…

Closed by  Jonathan Gordon
2007-08-06 13:43
Reason for closing:  Accepted
Jonathan Gordon commented on 2006-05-30 06:57

and this is the patch for buildzip.pl which does the work of moving the plguins..
ive added a file to apps/plugins TARGETDIR with the syntax “<pluginname.rock>,<dir>” which should be more than sufficient… it just needs to be populated..

i just realised that some plugins may need to be fixed so they dont look in .rockbox/rocks for their config files… dunno which ones tho :(

Alistair Marshall commented on 2006-05-31 14:13

I haven’t actually tried the patch yet but what happens if you press back at the screen which asks which type of plugin you want
I think rather than quitting it will enter the normal plugin screen which should be another option

Dominik Riebeling commented on 2007-02-03 12:58

While I really would like to organize the plugins directory, especially with the number of plugins increasing, why not use the browser as done already and simply allow it to show subfolders? That way it would only be needed to create subfolders “games”, “demos”, etc. and put the desired plugins there. No need to check about configuration data, as that could still live in the plugin folder (and not the subfolder).

Jonathan Gordon commented on 2007-02-03 14:26

that would work… the patch in the 1st comment does this, but it would need the minor fix to allow subdirs in the browser…

Matthias Wientapper commented on 2007-02-14 22:18

As I missed this one, I add this link for reference: http://www.rockbox.org/twiki/bin/view/Main/SortingPluginsProposal

Dominik Riebeling commented on 2007-02-21 07:57

The attached patch
- adds support for subfolders to the “browse plugins” entry
- extends buildzip.pl to sort the plugins in subfolders depending on the file apps/plugins/FOLDERS. If no entry for a plugin is found it is put in the rocks dir, otherwise in the subfolder named in the file (unless it is a viewer)
Localization of the folders isn’t addressed.

Jonathan Gordon commented on 2007-08-04 14:03

synced and updated. This version uses Dominik’s FOLDERS file (except called TARGETDIR) but changed a bit.
viewers is moved to rocks/apps also.
all plugins have their config/save files moved also, so min plugin version has been bumped for that. (the functions at the end of the api should be moved up in the commit also, will do that later).

I’m not sure if we need to show subfolder in the plugin browser.

comments?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing