Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Bagder on November 12, 2005, 04:50:32 PM

Title: WPS BMP loading changed
Post by: Bagder on November 12, 2005, 04:50:32 PM
If you use BMPs in your WPS, you might be interested in that the change I previously mailed about has now been committed:

http://www.rockbox.org/mail/archive/rockbox-dev-archive-2005-11/0100.shtml
Title: Re: WPS BMP loading changed
Post by: Mmmm on November 12, 2005, 07:23:50 PM
A stroke of genius..... watch your WPS files shrink!... and how tidy! :D
Title: Re: WPS BMP loading changed
Post by: ray on November 12, 2005, 10:39:06 PM
how does this change the pre/loading of images?

eg. from examplewps.wps:
Code: [Select]
%x|a|image.bmp|0|0
would this load from the following filepath?
Code: [Select]
/.rockbox/wps/examplewps/image.bmp
Title: Re: WPS BMP loading changed
Post by: AlexP on November 13, 2005, 04:23:53 AM
The wps e.g. example.wps should be placed in /.rockbox/WPS, and all bmps used in it in /.rockbox/WPS/example

In the actual WPS, the bmps should be loaded with

%x|a|image.bmp|0|0

and the wps will automatically look in the subdirectory with the same name as it.
Title: Re: WPS BMP loading changed
Post by: ceebmoj on November 13, 2005, 01:34:14 PM
hi,

How about also putting CFG in with the WPS files, specifying just the font and other WPS info.
Title: Re: WPS BMP loading changed
Post by: Bagder on November 13, 2005, 02:05:48 PM
That's in my plan...