Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Organize .rockbox directory

Organize .rockbox directory

From: Henrik Backe <backe_at_swipnet.se>
Date: Tue, 4 Nov 2003 21:49:16 +0100

Hi folks,

I have submitted two patches on .rockbox organizing. These patches should be
considered
as the basis of discussion rather than something that I want committed to
the cvs.
However, the patches are complete and no current functionality is lost (I
think)

One patch (835897) takes care of the basic .rockbox files (.cfg, .fnt, .lng
and .wps),
the other patch (835915) deals with plugins (.rock).

After applying these patches the .rockbox directory structure looks like
this

/.rockbox/Configs : .cfg files
/.rockbox/Docs : rockbox documentation
/.rockbox/Fonts : .fnt files
/.rockbox/Languages : .lng files
/.rockbox/Rocks
/.rockbox/Rocks/Applications :application plugins
/.rockbox/Rocks/Demos : demo/screensaver plugins
/.rockbox/Rocks/Games : game plugins
/.rockbox/Rocks/Viewers : viewers/players, plugins bound to a certain
file extensions
/.rockbox/Sokoban : Sokoban levels
/.rockbox/WPS : .wps files

The rockbox browser is enabled to browse directories also for plugins. This
will
make the code almost independent of the directory structure with exception
of the Viewers
directory. The Viewers directory is not shown when browsing plugins because
the plugins
in there are supposed to be started by playing files. I have chosen to hide
the Viewers directory
and the code, rather than name it .Viewers, because I believe that the
directory structure under apps/plugins,
/.rockbox/rocks and the build directory should be the same.

Having said all this here are some questions:
Should the .rockbox directory be reorganized at all?
How should the .rockbox directory be organized?
Does this effect the user interface overhaul?
Does the user interface overhaul affect this?
How should the different directories be named.
Should the build directory and apps/plugins mimic the structure of
.rockbox/rocks?
Where should files like sokoban/levels.txt be placed?


We apologize for the inconvenience.
.../Henrik
Received on 2003-11-04

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy