Support and General Use > Theming and Appearance Customization
Help me debug my theme port!
gbl08ma:
Ok, no worries :)
RockBoxFan:
OK, WOW, this is a really bad picture. Sorry. It is a snap from my cell phone camera, and is the best I could do quickly. If you need something better, let me know.
It does show the problem, though. Notice that the album art, the text, and the icons display just fine, but the background picture has all gone sort of pinkish gray. (This is the RED version.)
audio-i:
Yeah it's kind of a bad picture :) (maybe you could try a screendump like gbl08ma suggested in a similar case, it's also easier ;)). It seems though as if the wps background was not loading, presumably because the theme is exceeding the skin RAM usage allowed (I checked the themes on both nano 1G & 2G simulators, and it seemed to be fine though). Could you post now the skin RAM usage you find when the problem occurs, under menu>System>Rockbox Info>Skin RAM Usage?
RockBoxFan:
Skin RAM Usage is 238KB/273KB
audio-i:
What I'm getting in the sim is 214/277 working (meaning everything's loaded), I'm not sure what would cause the difference; I found that the images size differ on some versions, e.g. the orange version background is 45.4 KB, while the red's version is 90.8 KB (and something similar happens to the other bitmaps), possibly because they were saved as different BIT bitmaps, but *as far as I know*, Rockbox ends up using equal sizes since it converts the images to the appropriate BIT (both the red and the orange version seem to end up using the same skim RAM on the sims).
If skin ram usage is really the problem, I don't know how much space is needed, but you could start replacing the line below in both the .wps and .sbs files:
Replace
--- Code: ---%Fl(5,08-Nedore.fnt)
--- End code ---
With
--- Code: ---%Fl(5,08-Nedore.fnt,15)
--- End code ---
(that font is only used to display numbers and a couple more characters)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version