Some help needed if possible please

Discussion and development of skins for XBMC4XBOX
Post Reply
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Some help needed if possible please

Post by chunk1982 »

hey all im after a little help if possible please
1) what would you have to do in order to make the background go darker when entering movies/tv shows library?, like the old confluence did when you entered showcase view. see pic below for what i mean and why i need it. Is it a case of it darkening? or does it display some form of a semi transparent background from the textures.xpr? if so what and from where?
2) if iv moved something from below the home screen menu bar to above it, why do i still have to press down to select it? how do i change it so i would press up to select it and make it feel more natural
3)how do i make it say Showcase here?
Image

many thanks

paul
Last edited by chunk1982 on Wed Aug 07, 2013 2:44 pm, edited 1 time in total.
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some helped needed if possible please

Post by chunk1982 »

added pic to help people understand my jibbajabba lol
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Some help needed if possible please

Post by xbs »

1 - Load a transparent background on top of the fanart (keep in mind that this will increase mem usage).

2 - Edit the up down left right id numbers. If pressing up goes down you need to switch the up and down id number.

3 - In the views.xml's there's a label that can be edited to whatever you like.

Reading this will help...

http://wiki.xbmc.org/?title=XBMC_Skinning_Tutorials

http://wiki.xbmc.org/index.php?title=Skinning

http://wiki.xbmc.org/index.php?title=Li ... _functions
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
2 Bunny
Posts: 99
Joined: Mon Dec 31, 2012 4:55 pm
Location: United States
Has thanked: 13 times
Been thanked: 3 times
Contact:

PICTURES Reply

Post by 2 Bunny »

Woah - mine doesn't have all those pictures and stuff in it. Maybe clear the picture folder out a bit?
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some help needed if possible please

Post by chunk1982 »

xbs wrote:1 - Load a transparent background on top of the fanart (keep in mind that this will increase mem usage).

2 - Edit the up down left right id numbers. If pressing up goes down you need to switch the up and down id number.

3 - In the views.xml's there's a label that can be edited to whatever you like.

Reading this will help...

http://wiki.xbmc.org/?title=XBMC_Skinning_Tutorials

http://wiki.xbmc.org/index.php?title=Skinning

http://wiki.xbmc.org/index.php?title=Li ... _functions
cheers xbs but it has now become apparent how much out of my depth i am lol.
all that goes right over my head, which has pissed me right off as i believe id be pretty much done with these last 3 things sorted :(
i spent 3 hours last night trying to do any of the 3 things and didnt get anywhere apart from braking the ViewsVideoLibrary.xml.
i couldnt even find the correct onup and ondown code
2 Bunny wrote:Woah - mine doesn't have all those pictures and stuff in it. Maybe clear the picture folder out a bit?
what do you mean all those pictures and stuff?
User avatar
2 Bunny
Posts: 99
Joined: Mon Dec 31, 2012 4:55 pm
Location: United States
Has thanked: 13 times
Been thanked: 3 times
Contact:

REPLY TO UNCREATIVE TITLE III Reply

Post by 2 Bunny »

chunk1982 wrote: cheers xbs but it has now become apparent how much out of my depth i am lol.
all that goes right over my head, which has pissed me right off as i believe id be pretty much done with these last 3 things sorted :(
i spent 3 hours last night trying to do any of the 3 things and didnt get anywhere apart from braking the ViewsVideoLibrary.xml.
i couldnt even find the correct onup and ondown code
2 Bunny wrote:Woah - mine doesn't have all those pictures and stuff in it. Maybe clear the picture folder out a bit?
what do you mean all those pictures and stuff?
All those extra pictures of cars.
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some help needed if possible please

Post by chunk1982 »

hahaha its the showcase view im trying to incorporate into my mod lol, the only thing wrong with it is i need to make it so the background darkens.
switch skin to the original confluence and select showcase view in the movie library and you will see what i mean

all the best

paul
User avatar
2 Bunny
Posts: 99
Joined: Mon Dec 31, 2012 4:55 pm
Location: United States
Has thanked: 13 times
Been thanked: 3 times
Contact:

BACKGROUND Reply

Post by 2 Bunny »

chunk1982 wrote:hahaha its the showcase view im trying to incorporate into my mod lol, the only thing wrong with it is i need to make it so the background darkens.
switch skin to the original confluence and select showcase view in the movie library and you will see what i mean

all the best

paul
Ho ho ho... I guess...

If your skin uses the same background across all pages, perhaps you should just feed it a darker background. I know the default one does do this, but I don't think JX720 does (although it can be configured this way if I'm not mistaken)
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some help needed if possible please

Post by chunk1982 »

i got it sorted couple of days ago ;) well still need to sort the up/down thing with tje addon shortcuts

all the best

paul
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Some help needed if possible please

Post by NOTTHESAME »

you can add a colordiffuse code like this

<colordiffuse>code</colordiffuse>

this would have to be in the background picture look for it im sure that its in the myvideonav.xml

if you want it in filemode myvideo.xml

maybe in the top area of the xml file you will see background

add this code to the that has the width 1280 and height 720

you maybe want to find a dim color like black

so you try 10ffffff and change the 1 to 2 and then 3 see what it gives you i always use the glass clear code which is 60ffffff this gives you like a glass see through when you see transparnecy skins.


okay about the up and down and left and right, okay you need to find <onright>
or ondown the way you want to fix this,

so heres an example

in filemodeviews.xml depends on the skin but 50 is inside there, but since your using the showcase you need to go inside showcase.xml and change this both the ids are inside and also the view change name

view list

you got the left menu so its <onleft>

the right scroll <onright>

<ondown>

<onup>

so on up and down are 50 which is the list default number if you dont have 50 it wont work you may see alot of errors happen somethings the view ownt work even where you want to enter programs,music and so on.

say onleft is 60

on right is 9000

which this is how most of the skins have theses ids

you want to change the <onleft> to the number you want the way you want it, this means you wil have to change the number else where, on scroll or on the left view menu.

in that same area of you will see something like this

<includes>
<include name="CommonRootView">
<control type="group">
<visible>Control.IsVisible(50)</visible>
<include>VisibleFadeEffect</include>
<control type="list" id="50">
<posx>70</posx>
<posy>78</posy>
<width>690</width>
<height>561</height>
<onleft>2</onleft>
<onright>60</onright>
<onup>50</onup>
<ondown>50</ondown>
<viewtype label="535 <--- CHANGE ">list</viewtype> here is where you want to change it the number on the left to the name you want or add since its not appearing
<pagecontrol>60</pagecontrol>
<scrolltime>200</scrolltime>
<visible>Window.IsActive(Programs)</visible>
<itemlayout height="40" width="580">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>690</width>
<height>41</height>
<texture border="0,2,0,2">MenuItemNF.png</texture>
</control>
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some help needed if possible please

Post by chunk1982 »

i did figure it all out in the end and got it doing what i wanted lol im pretty much going to give up on the preview video thing as that is well out of my skill set and if i cant get it they way i want then there is no point but thank you for taking the time to talk

all the best

paul
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Some help needed if possible please

Post by NOTTHESAME »

im trying to put the info out there so people learn this and get to know how to mod the skins, we barely have skinnners.
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some help needed if possible please

Post by chunk1982 »

that's just it i want to learn, god knows i want to learn so bad but when your skill set is pretty much non existent it's hard.
i don't really understand xml code yet i get bits and bobs but it's complex, i can take code and "merge" it, once i got my head around the id's for the home screen items i managed to edit the <onup> and <ondown> functions and i know how to re-size and move items but that is pretty much it. lol i showed how much of a dumbass i am in my pm hahahaha
i will keep at it though and hopefully i will get there one day

all the best

paul
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Some help needed if possible please

Post by byron »

@ chunk1982...If you want to learn more there are some things you could do to understand the structure of xbmc xml code. A couple of things that are hard to grasp at first are:
  • includes
  • animations
  • conditional visibility
  • default.xml (if you have a <control> and it's going to be the same over and over again, whatever you leave out will be taken from this file)
I would first start by taking MyVideo.xml (from confluence lite since you're already somewhat acclimated), and replace all of the includes in that file. Take your time and make sure that you are accurate as to not ruin the file, and use some sort of comment structure that YOU can understand. For instance...

<include>BehindDialogFadeOut</include>

becomes much easier to understand as:

Code: Select all

<!--"BehindDialogFadeOut"-->
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
  			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="400">Visible</animation>
			<animation effect="fade" time="200">Hidden</animation>
			<visible>Window.IsActive(MovieInformation) | Window.IsActive(MusicInformation) | Window.IsActive(SongInformation) | Window.IsActive(FileBrowser) | Window.IsActive(TextViewer) | Window.IsActive(ContentSettings) | Window.IsActive(SelectDialog) | Window.IsActive(FileStackingDialog)	| Window.IsActive(MediaSource) | Window.IsActive(PictureInfo) | Window.IsActive(PlayerControls) | Window.IsActive(VirtualKeyboard) | Window.IsActive(NumericInput) | Window.IsActive(ProfileSettings) | Window.IsActive(LockSettings) | Window.IsActive(SmartPlaylistEditor) | Window.IsActive(SmartPlaylistRule) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml) | Window.IsActive(script-Apple_Movie_Trailers-settings.xml) | Window.IsActive(script-Apple_Movie_Trailers-chooser.xml) | Window.IsActive(script-Apple_Movie_Trailers-search.xml) | Window.IsActive(script-Apple_Movie_Trailers-showtimes.xml) | Window.IsActive(script-XBMC_Lyrics-main.xml) | Window.IsActive(script-XBMC_Lyrics-settings.xml)</visible>
      </control>
<!--"BehindDialogFadeOut"-->
Once the page is laid out in code instead of includes you can see it for what it is instead of flipping back and forth between MyVideo.xml and includes.xml.
If you take the time to do an exercise like this (making sure that all of your tags are closed and that your columns are in order), you will begin to understand the way the controls are laid out, the way that the page is set up when you see it on the screen, and how everything works together. It's not exactly thrilling, but it will help you to understand the manner in which xbmc utilizes .xml and give you some insight at the same time.
chunk1982
Posts: 180
Joined: Sat Apr 13, 2013 3:58 am
Has thanked: 53 times
Been thanked: 15 times

Re: Some help needed if possible please

Post by chunk1982 »

Many thanks byron I will defo have a look and a play
Post Reply