Skin Editing Tool Alpha 0.2 - NOT SAFE TO USE YET (1 Viewer)

explodedk

Portal Pro
December 27, 2008
265
20
Copenhagen
Home Country
Denmark Denmark
if the elements are done by the xmlmind editor its imo irrirevant if its upper lower or mixed case sensetive. but as far as i know mp dosn't matter if its upper or lower or mixed.
 

Alltaken

Portal Member
May 11, 2008
27
7
Christchurch
Home Country
New Zealand New Zealand
ExplodedK is right, It would become irrelevent for the artist using XMLmind....

The problem comes when any old themes are being edited in XMLmind, they would all need some global find/replace in notepad++ or similar to avoid returning hundreds of errors. (a little time consuming but hopefully worth it).
 

p13man

Portal Pro
November 20, 2008
50
2
Home Country
Great work - thanks

Alltaken, I'm so pleased that you didn't give up on this idea. I replied to your original thread of last week and as I said then, I'm a novice but I'll do whatever I can to help. I'm downloading XMLMind now. I've been learning Altova XML spy which has helped to make changes easier but it's a bit complicated for me, yet.
Anyone else interested in learning more, I've found a couple of excellent resources:
An XSLT tutorial here;
and
an XPath Tutorial Here
Final point: MediaPortal II will use XAML which I know absolutely nothing about but it 's worth investigating in case out efforts here diverge too much. More on that here -(printable version)
 

Alltaken

Portal Member
May 11, 2008
27
7
Christchurch
Home Country
New Zealand New Zealand
Final point: MediaPortal II will use XAML which I know absolutely nothing about but it 's worth investigating in case out efforts here diverge too much.

Looking at XAML makes me think the current efforts will be scrapped/need to be entirely re-done. Similar editing may be able to be adapted, but a wysiwig would be more ideal. XAML definitely looks more tied in to .Net so i would expect a .Net application would exist to best edit it.
 

Alltaken

Portal Member
May 11, 2008
27
7
Christchurch
Home Country
New Zealand New Zealand
A few more questions.

1) Does anyone know what the minus character "-" does in elements that normally contain a number. I.e. <spinWidth>-</spinWidth>

2) Animations can exist in a <control> tag, and will animate the button, or group of buttons the animation belongs to. I have run into a few files which include animations as part of the <controlS> tag. Are these legitimate? how do they function differently to animations inside a control?

3) Does the order in which an <include> tag appears effect anything?

Cheers
 

Alltaken

Portal Member
May 11, 2008
27
7
Christchurch
Home Country
New Zealand New Zealand
Alright guys, i have updated it all and added three new things for you to worry about. (first page to view changes)

  1. Batch file to change all Tag case to the format firstSecondThirdFourth rather than a mixture of capitals and lower case tags.
  2. A language translation version, to make translating easier (although this may not help because translating was already pretty easy)
  3. A Windows version to make editing controls and window files easier.
    • This one is the difficult one
    • Please give any and all feedback especially where it doesn't work.
    • If someone is willing to create a list of only the "Image" tags (i.e. any tag that contains an image) I will make them all display a preview in XMLmind, and will be super stoaked. (Tags List)
Cheers guys.
 

Attachments

  • tags-1.txt
    30.6 KB

Alltaken

Portal Member
May 11, 2008
27
7
Christchurch
Home Country
New Zealand New Zealand
More updates. Its starting to look more useful now.

attachment.php



If you want to check it out without messing with an existing skin feel free to download the following file which should contain enough to get things going:
https://forum.team-mediaportal.com/attachment.php?attachmentid=32593&stc=1&d=1231406268

Cheers again.
 

Attachments

  • alpha-0.1.3.png
    alpha-0.1.3.png
    153.3 KB
  • Example.zip
    30.6 KB

explodedk

Portal Pro
December 27, 2008
265
20
Copenhagen
Home Country
Denmark Denmark
starting to look very neat... is it posible to make a drop down with what ever tags are available in animation event. like it is in type...
and maybe make a example of how it works like the texture skin.png shows a picture of the mepo.

also in the type there a missing some it seems. i was looking for multiimage .. i use it like this :

<control>
<description>01 FANART</description>
<id>21098</id>
<type>multiimage</type>
<width>1366</width>
<height>768</height>
<imagepath>#01fanart</imagepath>
<timeperimage>60000</timeperimage>
<fadetime>800</fadetime>
<loop>yes</loop>
<randomize>True</randomize>
<visible>Control.hasfocus(21000)|Control.Hasfocus(21001)|Control.Hasfocus(21002)|Control.Hasfocus(21003)|Control.Hasfocus(21004)</visible>
</control>


notice alsot the <visible> would be a nice thing to have.
 

sloty32

MP Donator
  • Premium Supporter
  • September 21, 2006
    345
    25
    Home Country
    Germany Germany
    hi,

    trying the editor for making a skin file for my plugin. looking great so far, an i like it, not to copy and paste in the editor:)

    I have this in the skin file:

    <animation>
    delay="0"
    effect="fade"
    time="400"
    WindowOpen
    </animation>

    Its made of the myvideo.xml from the streamedMP skin. In the case of the animation its not showing the "fade" in the dropdown, and there is no field for "delay". Since there are no otpions in the animation dropdowns, i think u are still on that?

    thnx for the work so far!
     

    Alltaken

    Portal Member
    May 11, 2008
    27
    7
    Christchurch
    Home Country
    New Zealand New Zealand
    explodedK is the Multiimage control type similar to the animation control type? or does it do something different?

    Code:
    <control>
          <description>seperator animation</description>
          <type>animation</type>
          <posX>408</posX>
          <posY>200</posY>
          <width>444</width>
          <height>312</height>
          <textures>Animations\Guitar\guitar_0010000.png;Animations\Guitar\guitar_0010001.png;</textures>
          <duration>0:0:2.0</duration>
          <repeatBehavior>0</repeatBehavior>
          <fillBehavior>HoldEnd</fillBehavior>
        </control>

    Sloty, the fade effect should be available in drop down menu. however I may have made an update and your system is caching the old code. (it happens here even). XMLmind cache can be deleted via the Options>Preferences>Advanced>Schema Cache but this doesnt' delete the CSS file, which seems to only refresh on a reboot.

    I've updated the animation event to have a drop down list, but will upload a new version of this later today after I make more changes.

    Cheers for the feedback guys.
     

    Users who are viewing this thread

    Top Bottom