Skinning guide - discussion and download (1 Viewer)

sab-to-go

Portal Pro
October 18, 2012
80
3
Australia Australia
hi is there a way i can create a new skin but based on the "simple default skin for MP2"? not sure i understand how this works? i can see the files under "media"(guessing this is the default skin) but how does a new folder get created under plugins, how do you give it a new name to select inside MP2? where does the dll come from? is there some help or start area i can goto? thank you (sorry if this sounds dumb to anyone)
 

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,069
    3,681
    Lehmden
    Germany Germany
    Country flag
    Hi.
    (guessing this is the default skin)
    The default skin is in "SkinBase"

    how does a new folder get created under plugins, how do you give it a new name
    This can be done with Explorer. Simply create a new empty folder with a name you like. Inside this new folder make another folder named "Skin". Then copy the "plugin.xml" file from "Reflection" skin into the new folder (not in Folder named "Skin") and change the Plugin ID inside the plugin.xml.
    PluginId="{CA7543A8-D7DF-44BC-A6AC-75AB3911FE43}" this long hex number inside {} is a so called GUID. You can find some GUID generators in internet by simply google them...
    You should replace "Reflection" with your chosen name in every part of the xml file.
    In the "DependsOn" section of the xml there are three lines. The first one sets the skin basis to the default skin. The other two lines can be removed if you don't want to use various backgrounds or weather informations...

    Now you have generated a new skin based upon the default skin. You can select this new Skin in the MP2 Client but you won't notice any difference to default as you didn't change any skin files. now.

    The rest you can encounter by looking at e.g. Reflection skin folder. A .dll normally isn't necessary for a skin. This is needed only if the skin needs some extra features (like the main menu in BlueVision or Apollo Skin). Such dll are written in .NET as any other part of MP2.

    But most important is to read the wiki before you start:
    http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/8_Contribute/Skin_Design

    Then you hopefully understand the general structure of skinning in MP2...
     

    sab-to-go

    Portal Pro
    October 18, 2012
    80
    3
    Australia Australia
    thank you for that its starting to make alittle sense? can i ask what files do i need to copy to override/change the multitvguide in the default skinbase?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,388
    6,966
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #24
    All TV related screens and styles are provided by the Slimtv Client plugin. Please check its Skin subfolder
    Edit: plugin is contained in Incubator folder
     
    Last edited:

    sab-to-go

    Portal Pro
    October 18, 2012
    80
    3
    Australia Australia
    ok so you cannot override the multi epg guide? eg remove the tv station icons, change padding etc? was hoping to make it self contained so when new releases of MP2 come alone i dont have to edit anything outside of my skin folder no "system" file need changing.
     

    Attachments

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,069
    3,681
    Lehmden
    Germany Germany
    Country flag
    ok so you cannot override the multi epg guide?
    OFC you can override this. You simply need to add a folder with the name of your skin in "SlimTv.Client\Skin\" folder and place your modified skin files there. If later an MP2 upgrade is done, your folders will be kept...
    Only while a "format C:" or a complete MediaPortal products removal happens, your skin folder get lost. For those rare cases you should keep a copy of your modifications somewhere so you can write it back if needed...
     

    sab-to-go

    Portal Pro
    October 18, 2012
    80
    3
    Australia Australia
    hi thanks for the "SlimTv.Client\Skin\" folder info. sorry not really up to speed with where all the stuff is(this is my first time looking at changing a skin).
    so can i ask another question. can you point me in the general direction of file/how the HOME main menu is created?
    also what does "OFC" mean? thank you for you help.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,069
    3,681
    Lehmden
    Germany Germany
    Country flag
    what does "OFC" mean?
    OF Course...

    general direction of file/how the HOME main menu
    Files to first look at are:
    home.xaml
    master_bare.xaml
    master_menu.xaml

    But I'm no skinner, I only understand about 5% how skinning is working on MP2...
    So you need to "try and error" after reading the wiki and maybe someone else can help better...
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    766
    386
    Germany Germany
    Only while a "format C:" or a complete MediaPortal products removal happens, your skin folder get lost. For those rare cases you should keep a copy of your modifications somewhere so you can write it back if needed...
    Or if your skin gets an update package, and you install this package with the future PackageManager, then any locally modified files would get overridden.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,069
    3,681
    Lehmden
    Germany Germany
    Country flag
    Or if your skin gets an update package, and you install this package with the future PackageManager, then any locally modified files would get overridden.
    Not the best behaviour, I fear... Especially on skins user-modified files are very common. We need to keep them (at least a backup) also a skin update happens.

    In this case this did not matter as he wants to create an own skin that probably never will be updated by plugin manger at all.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    Rob Hexenmeister Quick question - skinning MyPics General Support 7
    S Touchscreen skin? MediaPortal 1 Talk 6
    azzuro [fixed] 5011: Version label in Splash screen - pos, size from skin MediaPortal 1 61
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    V Skin With Menu Editor MediaPortal 1 Skins 13
    wizard123 New Skin Template ? MediaPortal 2 8
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    Mr6686 [solved] Titan skin broken since update to 1.23 Installation, configuration support 6
    doskabouter Skin question Skins and Plugins Installer (MPEI) 1
    Y Titan Skin unter 1.23 nicht mehr so schön Allgemeines Supportforum 1
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    catavolt [solved] FanartHandler - Skin - Holiday and Spotlight support Fanart Handler 5
    ajs [fixed] 4936 - Strange behavior of the font in the skin MediaPortal 1 35
    ajs [solved] 4935: Add string.replace function to Skin engine MediaPortal 1 10
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    T Skin Wechsel Installationsprobleme? 1
    JJDoherty Designing & implementing a new skin... Skins and Design 8
    D [fixed] Image browser crashing in Folder View (WMC skin) 2.2 Archive 10
    CyberSimian Do skin variables have global scope? MediaPortal 1 16
    N Skins to download separately MediaPortal 1 Talk 5
    P WMC Skin full screen/EPG Skins and Design 3
    CyberSimian Fixes for Amped skin MediaPortal 1 10
    Similar threads

























    Top Bottom