Announcement

Collapse
No announcement yet.

Proper Place for Plugin "Private" Skins?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Proper Place for Plugin "Private" Skins?

    I've been doing a ton of searching and reading over the last couple of weeks but haven't found an answer to this question: Where should my plugin's installer place the skin files that are needed for my plugin?

    For example, suppose MyPlugin.dll needs MyPlugin.skin and some graphic files; I can write an install script to put MyPlugin.skin into one of the Carwings skin folders and it would work on the default RR installation, but what happens if the user changes skins? Do they somehow have to know about the skins my plugin uses and manually copy all the necessary files into their new skin folders? Or is there a "common" skin folder somewhere where generic skins that aren't dependent on the current skin theme can "live?"

    Thanks for helping a n00b.

  • #2
    your "private" skins, would be just examples how to skin...

    so.. i would make a Sample Skin folder inside the plugin folder...

    {PF}/RideRunne/Plugins/Myplugin/Sample Skins

    i would offer to install it into carwings_dyanmic too since that is the demo skin

    now keep in mind where that is... is based on legacy or profile mode

    if you want a sample inno script, pm me

    ---------- Post added at 12:41 PM ---------- Previous post was at 12:41 PM ----------

    on a side note... the common skin folder isnt a bad idea... thinking about it
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #3
      Originally posted by mitchjs View Post
      your "private" skins, would be just examples how to skin...
      Fair enough.

      so.. i would make a Sample Skin folder inside the plugin folder...

      {PF}/RideRunne/Plugins/Myplugin/Sample Skins

      i would offer to install it into carwings_dyanmic too since that is the demo skin
      Or I could offer to install it into the current skin directory as specified in the rr.ini file, which would be even more convenient for the user.

      on a side note... the common skin folder isnt a bad idea... thinking about it
      I think it would be a win all around.

      Comment


      • #4
        My latest plugins require registration skins, so the default carwings are also copied to a subfolder of my plugins folder.

        If the plugin needs to register then it will check for those files, if they don't exist in the current skin the plugin will copy the default carwings to the current skin.

        Comment

        Working...
        X