Kodi Community Forum

Full Version: This could be a feature request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i would love something like this

to be able to put in media folder other folders
eg media/blue/
and media/red/
and media/green
and a setting in appearence for skin and one for subset (eg in this case project mayhem 3 and default/blue/red or green spin controls)
then the textures in this folder would over ride textures in media folder.
i could use this in many ways eg diff colors/designed more for media or more for games or just use a big selection of backgrounds for skins (eg pm3 default pics or car pics or woman pics or famous movie pics)
:bowdown: this would rock and could make new graphics or additions in 10minutes that people would love. this would help modders to add mods without stuffing orig skin and credit and also mean an author could make many presets quickly without huge downloads eg 10megs for each color )
would also be great if start.wav was in sounds folder and/or splash.png was in media folder of skin it would over ride start.wav annd/or splash.png in xbmc media folder, so if you made a batman skin you could customise bootup to skin and splash to skin
the splash screen is loaded b4 the skin is initialized...

its mainly there to have something on screen while xbmc is initializing - so it needs to be appart from the skin

folders inside the xpr are possible allready - you just have to syncronize your xmls to use the extra foldername aswell

the problem then would be that you need different xml for all your mods - and that would be the point where its getting too tricky

only advabntage would be that you can release a new skin with xml only (telling people to use the xpr from the other skin that holds all the textures)



mainly wanted this so i could make a skin with 10 diff colors, or different theme pics (so xmls would be same ) at the moment you have to change xmls or give them a complete new skin to do this. (eg pm3 could then be about 20megs for xpr plus extra media folders and have pm3 default, pm3 car edition,pm3 girl edition, pm3 nature edition and pm3 with splashs of color and the skin would still always work in the way you wanted but with more variation without mods, and people could then add there own folders of pictures or icon changes)

also choke have done an even more major mod on your skin that i think people would like, it changes the way it works totally and will finish this weekend id say, can i release a build that is even more chopped up with your stuff or keep it to myself. oh and ill be releasing a new skin totally diff from pm3 soon if kotix and me can come to agrement on stuff, to prove im not only butchering pm3.
i was just wondering how xbmc would be supposed to know w*hich files to use

lets say you folder is...media/skinblue/... - in the xml it would have to say: <texture>skinblue/background.png</texture> - so you still need different xmls...

feel fre to post whatever you want - everybody does so why not you... its open source anyways
example
texture for a background = 16x9_pic_back.png in xml
skin = xxx

it would use 16x9_pic_back.png from texture.xpr in skin/xxx/media folder, unless there is more folders in skin/xxx/media folder. then if you had a folder called blue and have selected skin xxx and subselection blue in gui it would get 16x9_pic_back.png from skin/xxx/media/blue and any other graphic in blue folder called by xmls and would over ride skin/xxx/media folder (this way each folder you do would still work exactly the same xml wise but give a different look and then background image packs could be added to a skin easy as along with other mods without effecting much and make a few skins have many themes, id say you could make 10 different preset packs for background pics on home page like cars, nature, woman, tv shows, movies.......in a few hours and people would love your skin even more cause of variation but still consistancy of use).
ok well im not much of a cars, girls, nature etc themer. i pick one look i like and since the source images are open source now, everybody can do this.

you might aswell release a skin with the textures you wanna theme outside of the xpr and then just release modpacks with these textures only - that way u dont have to download a huge pack of 10 themes on every update, but only the one(s) you actually like

but hey, its not my call - lets see what the coders think...
its pretty hard on people to select quickly different background pics they have to edit xmls or add pics and rebuild texture.xpr, or delete texture.xpr and suffer from a sluggish interface. color packs at moment are impossible without having 10 versions of same skin that only have about 10 pngs changed. no one thinks its a good idea?  Blush

id like to make it easy for people and give more scope for skinners but keep consistancy and add flexiblity. just that windows and other skins you can change colors etc and they are not new skins but just a few changes.
maybe i understand what britney want.
lets say we have a media folder with inside:
media\default
media\red
media\blu
media\xxx

all the folders contain the same named files but with different colors, so we don't have to worry about xmls.
when the user select from the gui a different color from default, xbmc will override the default textures with the ones contained in the selected folder.
for example instead of looking for textures only in q:\skin\pm3\media
it should look also in q:\skin\pm3\media\blu\ (selected color)
and use the textures that are in this folder in place of the default one.

i don't know if this will be doable because we are using compressed textures, probaly it will be possible with uncompressed ones  as they are single images/files.

btw right know britney you can leave the files that can be in  different colors uncompressed, include in the skin the alternative ones in a separated folder and let the user switch them manually with ftp
umm yes and no
all the folders dont contain same files
only ones changed in new folder over ride or else it will use the ones from media
so it would go something like this skin is xxx and media folder is blue  and picture in xml is pic.png
when xxx skin is set to default it would load media/pic.png
if skin was set to blue it would look for media/blue/pic.png and use that or else it would use media/pic.png

i know you can manually do all of this now but a dummy cant Smile and it would mean a skin could have have more than one look
although i wouldn't really want this feature (can you imagine the memory usage! Shocked) you could probably do it by adding another xml file which defines themes/colours, path and any additional info inside the xpr:

Quote:>themes.xml
<xml>
<themes>
<theme>
<name>pm3 original</name>
<path>black</path>
<default>yes</default>
</theme>
<theme>
<name>pm3 royal</name>
<path>blue</path>
<default>no</default>
</theme>
</themes>
</xml>
then in the other xml files you could define a variable (e.g $_theme) and replace this with the selected theme from within xbmc. any image without a $_theme reference could just redirect to the root of the xpr.
Smile
Confused mem usage is same, texture only load once when requested it wouldnt load both (ill look into this soon to make sure). i truly believe this would be a great addition that would be used heaps if put in, once people see examples of possiblilities. i may put a new skin on hold this weekend and look at coding logisics to put this is in

xml solution you have means its not for gen public. all stuff i want in place is normally for dumb arses that cant alter anything but gui spin controls and on off buttons Smile
(britneyspairs @ july 01 2005,01:10 Wrote:xml solution you have means its not for gen public. all stuff i want in place is normally for dumb arses that cant alter anything but gui spin controls and on off buttons Smile
personally i think themes should remain within a skinner's control, allowing 'dumb' users to alter the gui without actually knowing what they're doing is just asking for trouble... :bomb:
i think what bp is talking about has nothing to do with "altering"...
it has to do with "changing" the skin to a color that is already built and ready to go. basically creating color "themes" within his skin.

so he is saying, "what if i built three color versions of the images for skin (xml) and i wanted to switch them on the fly from within the xbmc interface. i also want a method to allow me to distrobute them as if they were a single skin."

this is not uncommon... it is a feature of many apps. this acutally gets closer to what a true "theme". images and feature/function definitions are completely separate.

xmbc skins include/impliment, or exclude, features of xbmc instead of acting like a more traditional skin and be 'nearly' oblivious as to what it is skinning.

iow... instead of our skins saying...
'this image is assigned to this predefined control'... like winamp (and dozens of other app skins do), xbmc skins actually creates the controls as well.

yes, more power but also less like a traditional skin.
more like an executable (or script) that calls functions from with the os.

i know people will disagree and that is fine. i'm not stating an opinion, i'm using definitions as they are intended... http://en.wikipedia.org/wiki/skin_(computing)
Pages: 1 2