Rockbox Development > Starting Development and Compiling

how to include the original theme into rockbox.apk

(1/2) > >>

JapaneseDrunkard:
I got the source codes from git repository,
and successfully built the latest rockbox for android.

The problem is that the original font is too small and I cannot read the menu entries.
Could anyone let me know how to include the original theme and font into rockbox.apk ?

[Saint]:
Repack the archive to include <whatever_you_want> after the "make zip" step, and before the "make apk" step, finish the build with "make apk", done.

This will only change the font, though. The default theme itself only exists for a specific set of resolutions, and in that case, an adequate font is always included in the build. You must be building for an unsupported resolution.

This is a somewhat odd way to achieve this, though. One can achieve an entirely similar effect by simply modifying the config file to point to a font that isn't tiny, extracted to emulated or external storage as intended.


[Saint]

JapaneseDrunkard:
It worked!

Now I can read the menu, though the icons are still small :-)
I can replace a whole theme in the same way.

Thanks!

[Saint]:
If you wanted a much easier way to do this that means you don't need to bugger around like this every time you update your build, read on:

Just place the theme assets in their expected location on the device sdcard (the exact path for this varies wildly by device, but usually boils down to /storage/sdcard0/rockbox), extract a copy of the theme's .cfg, rename this to "fixed.cfg", and place it in the aforementioned assets directory on the sdcard.

This config will be parsed at boot time and will override the corresponding settings in the main config.cfg, the upshot of this being you don't need to repack your own builds and your theme settings will even survive clearing the config entirely.

Sing out if I have been unclear or if you have any further questions.


[Saint]

JapaneseDrunkard:
Thank you for the great tip.
It is much easier as you said! :-)

Navigation

[0] Message Index

[#] Next page

Go to full version