OMG Stupid VLC Skin Bugs

About usage, announcement and development of skins for VLC
slythfox
Blank Cone
Blank Cone
Posts: 31
Joined: 21 Jun 2007 06:49
Contact:

OMG Stupid VLC Skin Bugs

Postby slythfox » 21 Jun 2007 06:55

Allow me to rant, as I've been working on my first skin for ~10 hours today (after being annoyed by the lack of VLC skins).

I've encountered many strange problems, most of which I've been to bypass using a strange method. My current problem is that my VLC skin won't work if I name my images with the word "repeat," or if I change the image with the name "repeat" to "loop" which is what the images are right now. This is stupid. Ideas?

I've also run into other things, which I thought may have been because I was using too many image resources... well, I commented out a few image resources (as well as something else at the same time, but I don't remember what) and that seemed to fix it.

Download: http://www.quate.net/archive/downloads/ ... ha-0-1.vlt (Currently works, but the 'repeat/loop' images don't show, which was needed for the skin to work)

Try it: Try renaming the images "controls\buttons\playlist\playlist_loop*.png" to"controls\buttons\playlist\playlist_repeat*.png"
Also try (in the theme.xml file) renaming resources:

Code: Select all

<Bitmap id="playlist_repeat*" file="controls/buttons/playlist/playlist_repeat*.png" alphacolor="#FF00FF"/>
to

Code: Select all

<Bitmap id="playlist_loop*" file="controls/buttons/playlist/playlist_loop*.png" alphacolor="#FF00FF"/>
All I'm trying to get is for these images to display, and for the skin to work in the first place.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Re: OMG Stupid VLC Skin Bugs

Postby ipkiss » 25 Jun 2007 19:56

Allow me to rant as well :)

Code: Select all

[00000286] skins2 interface: skin: Blend author: Slythfox [00000292] xml private error: XML parser error (line 204) : Element Group content does not follow the DTD, Text not allowed [00000304] png decoder error: Not a PNG file libpng error: Not a PNG file [00000304] png decoder error: Not a PNG file libpng error: Not a PNG file [00000304] png decoder error: Not a PNG file libpng error: Not a PNG file [00000286] main interface error: no suitable access module for `/home/ipkiss/tmp/blend-alpha/controls/buttons/playlist/playlist_repeatone_n.png' [00000286] main interface error: no suitable access module for `/home/ipkiss/tmp/blend-alpha/controls/buttons/playlist/playlist_repeatone_h.png' [00000286] main interface error: no suitable access module for `/home/ipkiss/tmp/blend-alpha/controls/buttons/playlist/playlist_repeatone_a.png' [00000286] skins2 interface error: unknown bitmap id: eqtoggle_normal [00000286] skins2 interface error: unknown bitmap id: playlist_repeatall_n [00000286] skins2 interface error: unknown bitmap id: equalizer_text [00000286] skins2 interface error: unknown bitmap id: window_top [00000286] skins2 interface error: unknown bitmap id: window_topright [00000286] skins2 interface error: unknown bitmap id: window_left [00000286] skins2 interface error: unknown bitmap id: window_bottomleft [00000286] skins2 interface error: unknown bitmap id: window_bottom [00000286] skins2 interface error: unknown bitmap id: window_bottomright [00000286] skins2 interface error: unknown bitmap id: window_right [00000286] skins2 interface error: unknown bitmap id: window_content [00000286] skins2 interface error: unknown bitmap id: window_top [00000286] skins2 interface error: unknown bitmap id: window_topright [00000286] skins2 interface error: unknown bitmap id: window_left [00000286] skins2 interface error: unknown bitmap id: window_bottomleft [00000286] skins2 interface error: unknown bitmap id: window_bottom [00000286] skins2 interface error: unknown bitmap id: window_bottomright [00000286] skins2 interface error: unknown bitmap id: window_right [00000286] skins2 interface error: unknown bitmap id: window_content [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg [00000286] skins2 interface error: unknown bitmap id: eqslider_a_bg
This skin is far from being valid.
In particular, libpng seems to complain about invalid PNG files... let's see:

Code: Select all

19:50 ipkiss@ulukai ~/tmp/blend-alpha% file controls/buttons/playlist/playlist_repeatall_a.png controls/buttons/playlist/playlist_repeatall_a.png: PC bitmap data, Windows 3.x format, 13 x 12 x 24
Let's compare with another working PNG file:

Code: Select all

19:50 ipkiss@ulukai ~/tmp/blend-alpha% file controls/buttons/playlist/playlist_add_active.png controls/buttons/playlist/playlist_add_active.png: PNG image data, 12 x 12, 8-bit/color RGB, non-interlaced
Need I say more?

slythfox
Blank Cone
Blank Cone
Posts: 31
Joined: 21 Jun 2007 06:49
Contact:

Re: OMG Stupid VLC Skin Bugs

Postby slythfox » 04 Jul 2007 21:04

How did you get that? The only way I can tell I've got an error is if the vlc skin doesn't show. I've been having to take an existing skin and work it with my own idea... There isn't exactly a start-from-scratch VLC tutorial in existence yet (tell me if I'm wrong?)

As for some of those errors involving bad bitmap ids, that would be because I forgot to take out some code. I got frustrated from other errors that I eventually took an older version of what I had and started from there.

Hm... getting another error, after attempting to recreate the pngs and remove the equalizer code (I may work on it later).

While I'm posting, I'm completely confused about sliders and points (ex "(1,2),(49,2)"). The VLC skin info doesn't help one bit.

joethezombie
Blank Cone
Blank Cone
Posts: 78
Joined: 15 Jan 2007 08:26

Re: OMG Stupid VLC Skin Bugs

Postby joethezombie » 05 Jul 2007 21:33

Just a suggestion... You might get a little more help from people if you asked, "Hey, I'm having a bit of a problem with my first skin. Could you take a look at..." rather than, "OMG Stupid VLC"! I would hope we are a bit above that here...

Points:
http://www.videolan.org/vlc/skins2-create.html#bezier

The points are the (x,y) coordinate pair of the start and end of a bezier curve. If you only have two pairs of coordinates, then you have a straight line. Add three, and you start curving. Your example, (1,2),(49,2), would be a horizontal line slider starting at 1 to the right, and 2 down from the sliders x=x, y=y position and extending to the right 49 pixels from the sliders x=x, y=y position.

The skins2-create page explains it quite well, actually.

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: OMG Stupid VLC Skin Bugs

Postby CloudStalker » 05 Jul 2007 23:35

:D

Got to change a name, be right back. :D

joethezombie
Blank Cone
Blank Cone
Posts: 78
Joined: 15 Jan 2007 08:26

Re: OMG Stupid VLC Skin Bugs

Postby joethezombie » 06 Jul 2007 00:21

:D

Got to change a name, be right back. :D

OK, We'll wait. :lol:

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: OMG Stupid VLC Skin Bugs

Postby CloudStalker » 06 Jul 2007 00:38

...OK I'm back. :| :| :|

What were you expecting, something amazing? this is CloudStalker we're talking about. :lol:..wait... :oops:

Nah, just need to change the name of a certain thread of mine. All is good. :)

slythfox
Blank Cone
Blank Cone
Posts: 31
Joined: 21 Jun 2007 06:49
Contact:

Re: OMG Stupid VLC Skin Bugs

Postby slythfox » 07 Jul 2007 04:28

Thanks for the help. I more or less finished my VLC skin. That slider documentation really confused me, especially because it mainly talked about three points, and not two.

Bad thread name, I know, but I was frustrated... that's what happens when you work 8+ hours for something that seems so simplistic, and it ends up giving you trouble.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Re: OMG Stupid VLC Skin Bugs

Postby ipkiss » 10 Jul 2007 23:21

How did you get that? The only way I can tell I've got an error is if the vlc skin doesn't show.
See the section "Using VLC warning messages" from the online documentation.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 5 guests