View Single Post
Old 04-01-2012, 06:09 AM   #1
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Creating and editing Themes for the 360 Plus

have only really played around with resources created by others:above all Gerda/gshank,
and then of course all those guys who created the original themes.

You will find the following directories:

- themes360: this contains the original Pocketbook themes developed for the "old" 360;

- themes360Plus: this contains one with all my modified themes for the PB360 Plus - some of them have the wrong icon associated to a function: this happens when the original theme had "music", which is not supported in the 360 plus. To use them, just copy them in the system/themes" directory of your device

- upbtres: this contains Gerda's decompiler. To use it, simply run from the command window "upbtres themename.pbt" where themename.pbt stands for the theme you are decompiling, and which must reside in the same directory as upbtres.exe (I am only talking windows here, for linux see instructions in Gerda's original post). This will generate 1. a directory "resources", with all the image files from your theme, and 2. a file "themename.cfg" which is a text file that you can modify to suit your needs.
Now you can create a directory "themename" and copy in there the files you have created (and the original .pbt file you decompiled to avoid leaving clutter in the upbtres directory). Gerda's decompiler is here.

- ThemeSources: these are the directories created by decompiling the original themes, then modified by me. But you can of course change the .cfg files (which are text files) as you please, and then recompile them. Each directory contains what you need to recompile, namely the pbres compiler, the .bat file that invokes it, and the viewer. For some reason I get an error message when I try to run the viewer, but it does not matter, as the theme is compiled correctly. There are two versions of the "pbres.exe" programme, the original one and the one created by Gerda (see message n.2 in this thread). The latter is useful whenever decompliling generates also images in the "4bbp" subdirectory in "resources", since the original compiler cannot cope with those type of images.

- sources_for_original_PBTheme_collected_by_gsank: this contains the orginal theme decompiled by Gerda, with all the sources (again,
see message n.2 in this thread). This is very useful to check how things are called with the PB360 Plus. The main three changes I noticed are: 1. to call the notes you have to use "acontent.app" instead of "notes.app"; 2. the applications directory is "/applications" and not "/games"; 3. the action for the news component is "OPEN,/ebrmain/bin/pocketnews.app"

- themecompiler: for redundancy, this contains Gerda's files needed to compile a theme.

I have been very lazy: substituted Italian where I needed it, since I am getting the devices ready for my parents, and not even trying to modify
the "music" icons. But at least now you've got something to play with :-)

I have not tried to use this for the Pro models, but I am hopeful Gerda's files will be useful for this purpose.

the zipped file is here.
paola is offline   Reply With Quote