Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Yet another wps...but Having Trouble...Help?
« previous next »
  • Print
Pages: [1]

Author Topic: Yet another wps...but Having Trouble...Help?  (Read 2612 times)

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Yet another wps...but Having Trouble...Help?
« 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:



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?
« Last Edit: August 28, 2006, 06:01:15 PM by Weenesman1352 »
Logged

Offline madcow

  • Member
  • *
  • Posts: 24
  • Rockbox For President!!!
    • Iaudiophile
Re: Yet another wps...but Having Trouble...Help?
« Reply #1 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.
Logged

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Re: Yet another wps...but Having Trouble...Help?
« Reply #2 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...
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Yet another wps...but Having Trouble...Help?
« Reply #3 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.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Yet another wps...but Having Trouble...Help?
« Reply #4 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.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Re: Yet another wps...but Having Trouble...Help?
« Reply #5 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
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Yet another wps...but Having Trouble...Help?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.162 seconds with 22 queries.