![]() |
#1 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Fixing old freeform skins
This thread is collecting fixes for issues that arise when old freeform skins are used in recent Winamp.
|
![]() |
![]() |
![]() |
#2 | |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
asynchronous entity
Dominator is a Winamp 3 skin with interesting animations. When you try to use it in recent versions of Winamp, Winamp will throw up the following error message and then crash:
Quote:
Asynchronous entity errors occur when a tag is not closed in an xml file. Line 344 tells us that Winamp tried to find the closing tag until line 344 and then gave it up. So we should look for an xml file with 344 lines. Dominator's studio-elements.xml has exactly 344 lines so the unclosed tag should be in that file. Short explanation. With respect to how you close them, there are two types of tags. Enclosing tags have an opening tag and a closing tag. An opening tag looks like this: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Check out this topic for another skin in which the closing member was missing of an enclosing tag. |
|
![]() |
![]() |
![]() |
#3 |
Late skinner & Moderator
Join Date: May 2003
Location: Argentina
Posts: 1,584
|
Good call, I wish I have more free time.. Will be watching on this though.
Ps: Why "freeform" and not "modern"? |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Play/Pause button
Once you have fixed the asynchronous entity error for Dominator, you will run into another bug: the Play/Pause button will not start playback at startup.
Background info: Skins that have a single Play/Pause button (rather than two separate buttons) toggle Play and Pause with the help of a maki script. The problem is that the old play2pause.maki, which used to work well with Winamp 3, does not work well with recent versions of Winamp. How to fix it? Copy pjn123's sc_PlayPause.maki into the skin's scripts directory and replace this line in the xml file that contains it (player-normal-group.xml in Dominator): PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
I find "old modern" a bit odd. Originally, I was thinking on a longer title: "Fixing old freeform skins (WA3 and WA5 Modern)". But then decided on this shorter one.
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Play/Pause simpler
After I had posted the Play/Pause fix using pjn123's sc_PlayPause.maki, I found a faster fix.
All you need to do is overwrite the skin's original play2pause.maki file with the one in the attached zip archive. You do not need to replace any line in any xml file. The source of the attached play2pause.maki is FrisbeeMonkey's Play-to-Pause script to which I applied SLoB's fix. |
![]() |
![]() |
![]() |
#7 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Scrollbars
When you load a Winamp 3 skin into current Winamp then the original scrollbars will be replaced with scrollbars generated from the generic button and other elements.
To restore the original scrollbars, change the version number of WinampAbstractionLayer to 1.3 in skin.xml like this: PHP Code:
|
![]() |
![]() |
![]() |
#8 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
TrueType font size
Winamp 5 displays TrueType fonts smaller than Winamp 3. So if you want to preserve the original look of a Winamp 3 skin when updating it for Winamp 5, you need to multiply the fontsize value of TrueType fonts by 1.3.
Dominator, whose startup crashes were fixed in comment #2, uses a TrueType font in the title bars of Playlist Editor, Media Library, etc. The size of the title bar font of these windows is defined in standardframe.xml. Open the file, find the groupdef of wasabi.titlebar and increase the fontsize from 13 to 17. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Playlist Editor colors
Buroid is a Winamp 3 skin that does have its own text and background colors for the Playlist Editor but uses the colors of the Winamp 3 default skin. When you load it into Winamp 5, most of the colors will be all right but not all of them. If you select the currently played song in the Playlist Editor, you will be hardly able to read what is because Winamp 5 will show it with grey text on a grey background.
Background info. Winamp 3 defines the color of selected list items with wasabi.list.item.selected (or studio.list.item.selected in earlier alpha and beta versions), while Winamp 5 expects wasabi.list.text.selected, which it does not find. Winamp 3 marks the currently played track with a rectangle around it, while Winamp 5 marks it with a different color. How to fix it? Copy the following text into a text editor and save it as system-colors.xml into Buroid's xml directory: PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#10 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
|
![]() |
![]() |
![]() |
#11 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Black current
Another issue that may arise when you load an old skin that does not define the color of the currently played track is that the song info for the currently played track will be displayed in black text on a black background when you select a playlist in Media Library's treeview.
The fix in comment #9 fixes this, too. |
![]() |
![]() |
![]() |
#12 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Media Library colors
Buroid is a Winamp 3 skin that uses Winamp 3's default colors in the Media Library as well as in the Playlist Editor and other generic windows. If you want to preserve much of the original Winamp 3 look and feel then you will need to add two more color definitions to Buroid's system-colors.xml:
PHP Code:
wasabi.window.background defines the color of the window background outside the treeview and listview panels. If it were not defined then Winamp would pick a pixel from wasabi.frame.basetexture, which would be too light for the white text. |
![]() |
![]() |
![]() |
#13 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
WinampAbstractionLayer version matters
|
![]() |
![]() |
![]() |
#14 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Right-click menu
Some old skins have unreadable right-click menus in recent Winamp. When you look further, you will see that it is not just the right-click menu: the Search label and the library info in the Media Library are not readable in those skins, either.
Take for example the right-click menu and Media Library of the RazorEdge skin in the first picture. The right-click menu has light grey text on a light grey background and the Search label and the library info in the Media Library are also written in light grey on a light grey backround. How to fix it? First of all, raise the version number of WinampAbstractionLayer to 1.3 in skin.xml: PHP Code:
PHP Code:
The value of wasabi.window.text is the color of the Select and Query labels in Winamp 3 and wasabi.window.background is darkened for better readability. |
![]() |
![]() |
![]() |
#15 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Right-click menu: own colors
While adding the correct wasabi.window.background and wasabi.window.text color definitions will automatically fix the right-click menu, too, you may also specify colors for the right-click menu independently of the wasabi.window.background and wasabi.window.text color definitions.
First of all, raise the version number of WinampAbstractionLayer to 1.3 in skin.xml if you have not done so, yet: PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#16 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 473
|
Pink on pink in the Color Themes window
RazorEdge is an old skin with a Color Themes window. If you load it into a recent version of Winamp then the name of the current color theme will be written in pink text on a pink background. See the top-left screenshot in pink-on-pink.png.
Painting parts of a skin pink is a color-coded error message complaining about missing definitions of elements. In this case, the undefined elements are colors. How to fix it? Step 1 Adding the color definitions in post #14 will fix both the text color and the background color. See the top-right screenshot in pink-on-pink.png. But all is not fixed yet. There is still a thin pink vertical line in the Theme header. It says that the color of the bottom and right borders of header buttons is not defined. See an enlarged image of a header button from the Media Library where the bottom and right borders are marked in red. Step 2 So take a screenshot of the Media Library and pick the color of the bottom and right borders of a header button. RazorEdge uses the default colors for header borders, so the color you will pick will be a dark grey color, "32,32,32". Now that you know the color, you can add its definition to SystemColors.xml: PHP Code:
A better Step 2 There is an even better fix, though. Just hide the Theme header. Open the xml file that defines the Color Themes window (colors.xml in RazorEdge) and add nocolheader="1" to the ColorThemes:list tag like this: PHP Code:
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|