Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: DanManners on August 28, 2006, 05:59:44 PM

Title: Yet another wps...but Having Trouble...Help?
Post by: DanManners on August 28, 2006, 05:59:44 PM
Alright...I think this SHOULD be working alright...but it's not...I'm not sure what's going on there...

Here, check it out:

(http://i13.photobucket.com/albums/a297/Weenesman1352/FilmWheel.png)

EDIT: The Battery and Shuffle are in different places as they are in the pictures, and I added a battery icon, not yet in the codeing.

Code: [Select]
############
#VideoWheel by DanManners
############


#Pre-Loaded Images#
%X|bg.bmp|
%P|pb.bmp|
%xl|a|Volume1.bmp|171|0|
%xl|b|Volume2.bmp|171|0|
%xl|c|Volume3.bmp|171|0|
%xl|d|Volume4.bmp|171|0|
%xl|e|Volume5.bmp|171|0|
%xl|f|Volume6.bmp|171|0|
%xl|g|Volume7.bmp|171|0|
%xl|h|Volume8.bmp|171|0|
%xl|j|Volume9.bmp|171|0|
%xl|k|Play.bmp|172|182|
%xl|m|Pause.bmp|172|182|
%xl|n|FF.bmp|172|182|
%xl|o|RW.bmp|172|182|

#Coding#
%wd
%?pv<%xda|%xdb|%xdc|%xdd|%xde|%xdf|%xdg|%xdh|%xdj>



So far, the coding is only the Volume, and it's REFUSING to work. Now, I made this theme the same way as my last, so I'm not really doing anything different from what I did last time. The variables all match up, and I have no idea what the HELL is going on! The Volume loads the first two bars, then goes back down to 0. Anyone take a look and help me out?
Title: Re: Yet another wps...but Having Trouble...Help?
Post by: madcow on August 28, 2006, 06:39:30 PM
I asume you are using the simulator?
Open up the stderr file in the simulator's folder and look for lines that contain error.

You could also strip down your wps to only the volume part and see if it works then.
Title: Re: Yet another wps...but Having Trouble...Help?
Post by: DanManners on August 28, 2006, 06:54:00 PM
The hell...okay...here's my error...
Code: [Select]
settings_reset()
reload_all_settings()
load_config_buffer()
Reading sector 3D
load_config_buffer: header & checksum test ok
backlight: on
We open the real file 'archos/.rockbox/wps/videowheel.wps'
We open the real file 'archos/.rockbox/wps/videowheel/bg.bmp'
totalsize: 153600
We open the real file 'archos/.rockbox/wps/videowheel/pb.bmp'
totalsize: 32258
We open the real file 'archos/.rockbox/wps/videowheel/Volume1.bmp'
totalsize: 44402
We open the real file 'archos/.rockbox/wps/videowheel/Volume2.bmp'
totalsize: 44402
We open the real file 'archos/.rockbox/wps/videowheel/Volume3.bmp'
totalsize: 44402
We open the real file 'archos/.rockbox/wps/videowheel/Volume4.bmp'
error - Bitmap is too large to fit the supplied buffer: 22201 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Volume5.bmp'
error - Bitmap is too large to fit the supplied buffer: 22201 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Volume6.bmp'
error - Bitmap is too large to fit the supplied buffer: 22201 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Volume7.bmp'
error - Bitmap is too large to fit the supplied buffer: 22201 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Volume8.bmp'
error - Bitmap is too large to fit the supplied buffer: 22201 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Volume9.bmp'
error - Bitmap is too large to fit the supplied buffer: 22201 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Play.bmp'
error - Bitmap is too large to fit the supplied buffer: 8584 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Pause.bmp'
error - Bitmap is too large to fit the supplied buffer: 8584 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/FF.bmp'
error - Bitmap is too large to fit the supplied buffer: 8584 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/RW.bmp'
error - Bitmap is too large to fit the supplied buffer: 8584 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Battery0.bmp'
totalsize: 2552
We open the real file 'archos/.rockbox/wps/videowheel/Battery1.bmp'
totalsize: 2552
We open the real file 'archos/.rockbox/wps/videowheel/Battery2.bmp'
error - Bitmap is too large to fit the supplied buffer: 1276 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Battery3.bmp'
error - Bitmap is too large to fit the supplied buffer: 1276 bytes.
We open the real file 'archos/.rockbox/wps/videowheel/Battery4.bmp'
error - Bitmap is too large to fit the supplied buffer: 1276 bytes.

Great...I have to make it smaller? What do I do with this now...
Title: Re: Yet another wps...but Having Trouble...Help?
Post by: Hweb21 on August 28, 2006, 08:18:19 PM
yeah, i will help u out if u tell me what your screen size is and what model it is. it looks interesting.
Title: Re: Yet another wps...but Having Trouble...Help?
Post by: Yotto on August 28, 2006, 08:29:23 PM
Yeah, there is a size limit to the bitmaps you use in the WPS.  I've hit this wall several times trying to make really cool WPSs.

I haven't looked hard at your code yet, but if you currently redraw the ENTIRE volume bar, you may want to instead only draw what changes between each volume level, so you only have 11 small boxes that follow the arc of the volume display.  Then you'll also not have any problems with the volume display drawing over the "shuffle" in the corner.

You can't do this with the progress bar, so that you may have to scrap for something more linear.

I really like the look of this WPS so far, so I hope you can solve these problems.
Title: Re: Yet another wps...but Having Trouble...Help?
Post by: DanManners on September 05, 2006, 05:52:30 PM
Alright...I've reopened work on this theme, and I still can't get it entirely working...if anyone who would be willing to work on this has AIM or Yahoo, then please, send me a private message and I'll send you what I have so far. My AIM is "J3SUS JULCE" and my yahoo is "Weenesman1352"

Thanks, whomever decides they can help me possibly.

-Dan