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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  320x240 (ipod video) fixed some broken themes
« previous next »
  • Print
Pages: [1] 2

Author Topic: 320x240 (ipod video) fixed some broken themes  (Read 10464 times)

Offline ASNO

  • Member
  • *
  • Posts: 3
320x240 (ipod video) fixed some broken themes
« on: July 02, 2008, 11:05:49 PM »
let me know if youre interested







more tomorrow...
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: 320x240 (ipod video) fixed some broken themes
« Reply #1 on: July 03, 2008, 03:45:34 AM »
the wiki is free for all to edit... why not just upload your fixed versions?
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline yceberko

  • Member
  • *
  • Posts: 7
Re: 320x240 (ipod video) fixed some broken themes
« Reply #2 on: July 03, 2008, 01:03:38 PM »
thanks your greatly appreciated!!!
I use mainly phk1 and oher phk's it would be ex helpful if you could fix those
Logged

Offline Slim

  • Member
  • *
  • Posts: 11
Re: 320x240 (ipod video) fixed some broken themes
« Reply #3 on: July 03, 2008, 02:32:45 PM »
Can someone tell me what the pb values in the OLD format represent? For example here:

 %pb|11|2|318|

.. what do the numbers mean? I'd rather work out the new values from the old than by trial and error :D

Cheers
Slim
Logged

Offline ASNO

  • Member
  • *
  • Posts: 3
Re: 320x240 (ipod video) fixed some broken themes
« Reply #4 on: July 03, 2008, 05:05:45 PM »
Quote
Can someone tell me what the pb values in the OLD format represent?

the old seems to be "|height|x|width|y|" but i'm not 100% sure. i tweak it form there if its not right.

Quote
the wiki is free for all to edit... why not just upload your fixed versions?

if someone wants to give me write privileges...
Logged

Offline jswetzen

  • Artist
  • Member
  • *
  • Posts: 113
Re: 320x240 (ipod video) fixed some broken themes
« Reply #5 on: July 03, 2008, 05:13:12 PM »
The old format was:
%pb|height|left-position|right-position|y-position(optional)|

and the new one is:
%pb|filename.bmp|x|y|width|height|

which means that:
x = left-position
y = y-position
width = right-position - left-position
height = height

Unfortunately in your case there is no y-position so you will have to experiment on that one.
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: 320x240 (ipod video) fixed some broken themes
« Reply #6 on: July 03, 2008, 06:05:22 PM »
Quote from: jswetzen on July 03, 2008, 05:13:12 PM
Unfortunately in your case there is no y-position so you will have to experiment on that one.

The y-position was given by the line the %pb tag was on, if you didn't specify a number. This is still the case in the new format but you can not just skip it as you did before but have to use a - instead (at least I know that it works with a plain progressbar that doesn't use a bitmap but should work there too). Also look out for the %P tag which listed the filename of the progressbar bitmap before (between the | ) and which is now merged into the one %pb tag.
« Last Edit: July 03, 2008, 06:12:30 PM by pixelma »
Logged

Offline Slim

  • Member
  • *
  • Posts: 11
Re: 320x240 (ipod video) fixed some broken themes
« Reply #7 on: July 03, 2008, 06:20:26 PM »
Thanks for the help, everyone - tres useful :D
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: 320x240 (ipod video) fixed some broken themes
« Reply #8 on: July 03, 2008, 07:10:18 PM »
Quote from: ASNO on July 03, 2008, 05:05:45 PM
if someone wants to give me write privileges...

If you haven't gotten it yet you can either post your WikiName here or come into the IRC channel and ask there.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline ASNO

  • Member
  • *
  • Posts: 3
Re: 320x240 (ipod video) fixed some broken themes
« Reply #9 on: July 03, 2008, 08:30:11 PM »
Quote
If you haven't gotten it yet you can either post your WikiName here or come into the IRC channel and ask there.

KarlMarx

here are some more i fixed:







Quote
I use mainly phk1 and oher phk's it would be ex helpful if you could fix those

i tried.... they were too complex
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: 320x240 (ipod video) fixed some broken themes
« Reply #10 on: July 04, 2008, 10:55:45 AM »
I deleted the post which offered a modified version of a PHK wps, as it (said WPS) is copyright All Rights Reserved (this means no shared modifications).

This may not be the ideal intended by PHK, but it is the law.  He has no license expressly mentioned in his themes. 

This is a perfect example of why all WPS authors need to be explicit about the license they release their works under.

Feel free to discuss how to fix any specific WPS, but no more sharing of WPS files you do not have rights to.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Re: 320x240 (ipod video) fixed some broken themes
« Reply #11 on: July 05, 2008, 04:10:07 AM »
Quote from: soap on July 04, 2008, 10:55:45 AM
how to fix any specific WPS

phk1:
you need to delete the %P line in and replace it with this: %pb|pb.bmp|2|113|316|13|. but you will need to replace the line which contained the old %pb with a free line, too or the wps looks weird.
Just replace the old %pb line with this one %pb|pb.bmp|2|113|316|13| and delete the %P line.
Also, with phk's themes it's best to put the %X and %pb on the very end of the code, because he doesn't use Viewports. phk uses a now outdated font, so you may want to change that in the .cfg file to "nimbus-14.fnt"

phk2:
same as phk1.

phkamp:
pretty much the same as phk1 except for %pb|pb.bmp|13|172|294|10|

i will now only post the needed %pb tags because the same procedure applies to every wps:

phkguitar:
%pb|pb.bmp|92|59|162|6|

phkosc:
%pb|pb.bmp|7|55|308|25|
Additionally, there is a typo in the %xl tags. change batplug.bmp to battplug.bmp

phkosctah:
%pb|pb.bmp|7|55|308|25|
Additionally, there is a typo in the %xl tags. change batplug.bmp to battplug.bmp

phkTape_standard
phktapea_std, phktapeb_std phktapec_std:
%pb|pb.bmp|97|63|71|25|
On this one, you also might want to edit the pb.bmp yourself, because the original is too long. if you use the tag i've provided, it shall work anyway but it's nicer to have smaller files and cleaner programming, if you create files that you actually use 100% and just 75% or so. the original pb.bmp is (114x25)px you need a bmp which has the following dimensions: (71x25)px.


phktv:
%pb|pb.bmp|23|209|232|13|
Similar to tape: The pb.bmp provided is 320px in width, you only need 232px width.

phkVH:
%pb|pb.bmp|2|210|316|13|
If you can use photoshop a little, open the pb.bmp and free transform it so it's 13px high, instead of 12px.

that's all folks, you should now all be able to fix phks complicated themes yourself. good luck!
« Last Edit: July 05, 2008, 04:50:23 AM by BdN3504 »
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: 320x240 (ipod video) fixed some broken themes
« Reply #12 on: July 05, 2008, 04:33:36 AM »
Quote from: BdN3504 on July 05, 2008, 04:10:07 AM
...
you need to delete the %P line in and replace it with this: %pb|pb.bmp|2|113|316|13|. but you will need to replace the line which contained the old %pb with a free line, too or the wps looks weird.

Why not replace the old %pb line with the new %pb line? Then you only need to delete the %P tag line and you are done.
Logged

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Re: 320x240 (ipod video) fixed some broken themes
« Reply #13 on: July 05, 2008, 04:48:20 AM »
errrrm, yes you could also go the less complicated way...  :D
thanks
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: 320x240 (ipod video) fixed some broken themes
« Reply #14 on: July 05, 2008, 08:41:24 AM »
Thank you BdN3504. 
I wasn't trying to be a jerk, but Rockbox needs to honour copyright. 
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  320x240 (ipod video) fixed some broken themes
 

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

Page created in 0.179 seconds with 20 queries.