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
| | |-+  Removed
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Removed  (Read 7494 times)

greenman

  • Guest
Removed
« on: May 01, 2008, 10:59:40 PM »
Removed
« Last Edit: May 06, 2008, 01:07:35 AM by greenman »
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #1 on: May 01, 2008, 11:10:04 PM »
Try it with an official build before reporting problems.

The reason this doesn't work:

Code: [Select]
# Background - This doesn't seem to work
%V|0|0|176|220|1|FFFF99|003300|
%xdh

is because you have no image for "h"... And besides, the:

Code: [Select]
# Access background image...
%X|background.bmp|0|0|

code is what this is designed for.

And you have Album_Art.bmp defined twice, as both "f" and "g" (probably not a big deal but probably unintentional).  As for the progress bar, try just taking it out of the viewport and sticking it somewhere below your variable declarations with the right coordinates (it kind of has it's own viewport defined when you create it).


« Last Edit: May 01, 2008, 11:23:14 PM by MarcGuay »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #2 on: May 02, 2008, 03:12:53 AM »
Quote from: greenman on May 02, 2008, 12:11:22 AM
I wasn't aware that the official build supported viewports. Does it?

Yes it does, but if it didn't you shouldn't be asking here about features not in the official build.  Unsupported builds (and this includes any features they introduce to e.g. a WPS) are unsupported outside of the thread for that build.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #3 on: May 02, 2008, 07:50:34 AM »
You seem to have misunderstood:

1) Viewports are in the official build, and are fine to use.
2) Using an unofficial build is NOT FINE. Even if you can't get an official build, stop asking questions about unofficial builds here. If you can't get an official one, wait until it's available, then ask question.

Unofficial ones change the way things work, and we cannot and will not provide support for them. Any posts about them will be considered spam and are liable to get deleted as they confuse people who actually do use the official builds into misunderstanding what is available and possible.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #4 on: May 02, 2008, 07:57:05 AM »
And as a note, you should be able to get at the latest current build again now.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #5 on: May 02, 2008, 11:11:04 AM »
Please, read the CustomWPS wiki page for specific details as to what is allowed. It sounds like you really haven't taken the time to simply familiarize yourself with the exact syntax and features for the official build.
Logged

hhannah

  • Guest
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #6 on: May 02, 2008, 11:39:41 AM »
Yes, it's probably better to leave totally out what you did for the patched build, and do it again following carefully the "official sintax" as Llorean suggests, because when you see
Quote from: greenman on May 02, 2008, 10:37:33 AM
I cannot do this:
Code: [Select]
%Cl|0|0|c100|c100
%xl|e|Album_Art.bmp|0|0|
%V|38|16|100|100|1|FFFF99|003300|
%?C<%C|> # (or this: %?C<%C|%xde>)
the problem is probably somewhere else since that alone seems to be fine.
Edit: Pixelma is right, see her post.

Regarding
Quote from: greenman on May 02, 2008, 10:37:33 AM
Shouldn't I at least be able to call the album art alternative image thus?
Code: [Select]
%xl|f|Album_Art.bmp|38|16|
%V|38|16|100|100|1|FFFF99|003300|
%ac%xdf
But even that breaks my layout like above.
if Album_Art.bmp is 100x100 as I assume it is, it won't fit in a 100x100 viewport if you place it in position 38,16 within the viewport ( should probably be %xl|f|Album_Art.bmp|0|0| )

Quote from: greenman on May 02, 2008, 10:37:33 AM
Also, I thought multiple fonts were part of viewports now. I've tried nimbus-12 as the default and nimbus-10 as the userfont1, but I get only the default nimbus-12 for everything, even though the font colors change as expected. what's with that?
Not yet, see http://www.rockbox.org/tracker/task/8385?histring=viewports

Quote
The syntax is now as follows:

%V|x|y|width|height|font|fgcolor|bgcolor|

Specifying "0" for font means that that viewport draws text using the built-in (6x8) system font (FONT_SYSFIXED). Note that this font only includes ASCII characters, so isn't suitable for displaying information from tags.

Specifying "1" for font will use the currently selected user font (FONT_UI).

Other values for font are not rejected, but are replaced with FONT_UI. The intention is that the multifont patch can be updated to work with viewports, and (until that patch is suitable for and committed to SVN), themes using multifonts can be designed to degrade gracefully in the official builds.
« Last Edit: May 02, 2008, 04:11:16 PM by hhannah »
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #7 on: May 02, 2008, 11:40:35 AM »
Yes, you can use album art with the official builds but as Llorean said take your time and familiarise yourself  bit with Rockbox. For your purpose I think the CustomWPS and the AlbumArt wiki pages might be helpful.

I just noticed a syntax error in your.wps which makes it fail and you'll get the built-in text only one with your colours though).

Quote from: greenman on May 02, 2008, 10:37:33 AM
Code: [Select]
%Cl|0|0|c100|c100
%xl|e|Album_Art.bmp|0|0|
If this is truely copy and pasted from your .wps file then the first line with the %Cl tag is missing the terminating | so that it reads
Quote
%Cl|0|0|c100|c100|

Could be that this is all but maybe there's some more, haven't looked much further. There are a few options how to "debug" a wps, I'm quite sure you'll find some if you search around in the forums a bit.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #8 on: May 02, 2008, 06:15:43 PM »
The reason I felt you couldn't have read the CustomWPS page is that you kept asking of the official version did things (viewports, album art) that are clearly stated on the CustomWPS page. Since it is only relevant for the official build, it seems like it should be obvious (to me at least) that if you'd read the page you wouldn't have asked these questions.

Meanwhile, I have no way of knowing what themes you've looked through, so I don't understand how I was supposed to know that none of the ones you'd looked at contained strips. I'm pretty sure several of the official themes included with Rockbox make use of them, so unless I misunderstand what you're referring to, you have examples of their use available to you. So your statement "I had to have read about them" is not the logical absolute you seem to think it is. From my perspective, the official build comes with examples of these, and there is rather blatantly posted information on the page you seemed unaware of. I admit I made an assumption. It seemed logically sound, but apparently it was wrong. I apologize.

But please, consider in the future that questions you ask, if answered in the documentation, are almost certainly simply going to get you referred back to the documentation. Don't be offended by this reference, we wrote the documentation for a reason and if you're asking questions answered in it, it will very much seem to us like you haven't read it.
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #9 on: May 02, 2008, 07:54:03 PM »
I'm not sure exactly what this line is doing:
Code: [Select]
# %xl|e|Album_Art.bmp|0|0| 
but it looks as if you are using it to provide dummy album art for cases where no real art is found.

If so, you could simply include the dummy image as part of background.bmp, and use a conditional to display either album art or nothing, e.g.
Code: [Select]
%?C<%C>

Also, check the actual dimensions of Album_Art.bmp, as I think that the WPS will fail if the dimensions of the bmp exceed the viewport size.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

hhannah

  • Guest
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #10 on: May 02, 2008, 08:34:09 PM »
OK the thing is, you started based on a non supported build, confused about the official build, which is very well documented where pixelma and Llorean pointed, and including in your code a couple of "attention" mistakes; putting all that together, it could make anyone think you had not read etc. But since now it's not like that, you are determined to get your nice theme to work, and you put all that colours and stuff on your code to make everything as clear as possible for everyone ;) I really hope you make it through this time. It's kind of hard to check the whole WPS, but give a try to this:

- Since images that change "while playing" like volume, playing status, even the battery, etc. can interfere with others (opposed to "static" images while playing, like repeat, shuffle, etc), try putting at least the volume images "isolated" in a viewport of their own, since you already detected those might be causing the problem
- The progress bar doesn't need to be in a viewport
- The album art sintax, including image e, seems to be correct now

Hope this helps... good luck
« Last Edit: May 03, 2008, 02:27:18 AM by hhannah »
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #11 on: May 03, 2008, 10:20:24 AM »
Quote from: greenman on May 02, 2008, 06:01:52 PM
First, is there a way to tell in a concise list which patches are in the current build?

I think the best way to find this out is probably the MajorChanges wiki page.  And a good clue as to what isn't including in the official build is usually listed on the custom build's download page in the form of "these patches have been applied - that's what makes it special". 
Logged

Offline wintermute23

  • Member
  • *
  • Posts: 116
  • What Would Batman Do?
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #12 on: May 03, 2008, 11:07:25 AM »
Quote from: yapper on May 02, 2008, 07:54:03 PM
If so, you could simply include the dummy image as part of background.bmp, and use a conditional to display either album art or nothing, e.g.
Code: [Select]
%?C<%C>
Or even
Code: [Select]
%C
Logged
Past: iRiver H320 w/ 32GB CF card mod; iPod 4th Gen 30GB; iPod 5th Gen 30GB

Present: iPod Classic 80GB

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #13 on: May 03, 2008, 01:14:40 PM »
Can someone comment on which is the more efficient way to display album art:
Code: [Select]
%?C<%C>
or
Code: [Select]
%C

%C as suggested by wintermute123 does appear to be, but the default WPS uses the other version ..... ???
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Background, Progress Bar and Album Art Alternative not showing - Any ideas?
« Reply #14 on: May 04, 2008, 11:18:02 AM »
Quote from: greenman on May 04, 2008, 10:03:58 AM
While this theme was originally based on a cross between KratoGlass and Winamp's Modern theme, it has so changed in every way, images and code alike, that I'm pretty sure it could be considered built from scratch. All the images are my own except the green background. I adjusted the color to fit my needs. It doesn't look anything like either windows media player or winamp at all anymore.

If you ever decide to publish this theme in any way, please consider that the license of KratoGlasses backdrop image cannot possibly be CC-BY-SA (as stated on rockbox-themes.org). It's a Mac OSX background image.
Logged

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Removed
 

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

Page created in 0.111 seconds with 14 queries.