PDA

View Full Version : Visor, XBMC skin by bobrooney_78


bobrooney_78
2004-02-22, 01:09
i submitted a new skin to www.mediaplayer.it/upload.

it`s a one-day-port of a skin called visor from myth-tv.org, so if you like it, please improve it :)

i hope there aren`t too many bugs :d

Gamester17
2004-02-22, 14:16
k, rememeber to upload it to www.allxboxskins.com (http://www.allxboxskins.com) too http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/cool.gif

A600
2004-07-25, 17:49
@bobrooney_78: are you going to update this skin? i love it and can't live without it :)

t029248
2004-07-25, 18:32
@bobrooney_78: are you going to update this skin? i love it and can't live without it :)
i'm also a visor addict, can't wait for an update. right now i’m waiting for the xnmc skin tools to give it a try myself..

KoTiX
2004-07-27, 12:33
the link is not working

bobrooney_78
2004-07-29, 11:14
@bobrooney_78: are you going to update this skin? i love it and can't live without it :)
visor should work with xbmc 1.0 or do you mean the cvs-updates like cd-ripping?

A600
2004-07-30, 22:49
yes, that's what i mean. there are some options that only can be changed using pm skin (like flicker filter)

bobrooney_78
2004-08-02, 22:02
yes, that's what i mean. there are some options that only can be changed using pm skin (like flicker filter)
my xbox is not at home at the moment so i am not able to update the skin, so if anybody would like to, feel free to update and publish.

btw: improvements are also appreciated. :)

A600
2004-08-04, 17:51
i've updated it. download it here (http://perso.wanadoo.es/uukrul/xbmc/visor_new.zip) and overwrite the files of the \visor\pal\ folder

t029248
2004-08-04, 22:02
thanks a lot... my favorite skin upto date and running!

A600
2004-08-05, 18:28
the new skinnable virtual keyboard works with the old visor skin but not with the changes i made :(

i'll try to fix it.

A600
2004-08-06, 21:30
fixed the problem and updated to the latest cvs (video osd, screen calibration,...)

visor (http://perso.wanadoo.es/uukrul/xbmc/visor_new.zip)

bobrooney_78
2004-08-28, 12:23
fixed the problem and updated to the latest cvs (video osd, screen calibration,...)

visor (http://perso.wanadoo.es/uukrul/xbmc/visor_new.zip)
great work! :thumbsup:

gerner
2004-09-03, 11:26
cool skin! i'm using it as my default at the moment and loving it.

a600: could you give me some tips on how you implemented the volume slider (the one that works with the right thumbstick) in the video osd?

i'm trying to update the old media center skin to work with the new features. the keyboard seems to work fine i just can't get the volume slider to go.

tia.

t029248
2004-09-03, 13:24
great skin it's only not completely up to date compared to project mayhem.i wish there good be a skin maintenance team!

flybynite
2004-09-14, 09:54
can you please add 16x9 support in this skin. i think this is the best skin out there

bobrooney_78
2004-09-14, 17:36
here you can find a skin-update to cvs 09-09, should also work on 09-12:
*link removed*

the textures are unpacked in the media-folder, so you can play around with them.

changes, updates or 16x9 versions are appreciated.

greetz

bobrooney_78
2004-09-27, 19:06
visor for xbmc 1.1 is now on www.xbox-skins.net (http://www.xbox-skins.net)

i will not make any updates in future, so if somebody is kind enough to update the skin, it would be great.

as always: change what you want - the files are unpacked in the subfolders.

KoTiX
2004-09-28, 01:37
there is a bug in the settings button in the sub menu, it reboot the xbox instead of switching to the setting screen.
please take care of it.
ciao.

bobrooney_78
2004-09-28, 10:44
there is a bug in the settings button in the sub menu, it reboot the xbox instead of switching to the setting screen.
please take care of it.
ciao.
really?

which version do you use? i tested it with 25-09 and it works (besides this bug with the black screen, which should be fixed now)

KoTiX
2004-09-28, 11:45
well i made my own build of 27/9/04 and downloaded yesterday the new vers of your skin.
the problem was that i couldn't go back to the other skins because i coudn't access to the settings screen, the only way was editing my settings.xml in the saves.

bobrooney_78
2004-09-28, 12:00
well i made my own build of 27/9/04 and downloaded yesterday the new vers of your skin.
the problem was that i couldn't go back to the other skins because i coudn't access to the settings screen, the only way was editing my settings.xml in the saves.
shit, it seems the fixes in the dialogsubmenu.xml after 25-09 causes the "id" of the button to override the "hyperlink". really bad thing.

for now, i will remove visor 1.1, since i can test it with newer versions.

thank you very much for testing.

jmarshall
2004-09-28, 13:15
bobrooney: this is how it is meant to work, and was how it did work before a bug that was introduced in 25-09. we reverted the code shortly after. the reason it is done this way is that the window/dialog needs to know that something has been clicked so that it can (for instance) close it's dialog etc. before the hyperlink takes over.

this is due to the way that messages are handled in xbmc - they are executed on a lifo manner.

basically, just make sure the id of the buttons doesn't conflict with the "known special buttons" such as reboot, dash etc. and you'll be fine.

their ids can be found in guidialogsubmenu.cpp or guiwindowhome.cpp

cheers,
jonathan

bobrooney_78
2004-09-28, 14:23
can somebody with a cvs version >26-09 please test the submenu?

download here: *link removed*

thanks!

KoTiX
2004-09-28, 20:46
i've tested it and it works great now, good job!
tnx also for the font tip.
ciao. :d

bobrooney_78
2004-09-29, 10:55
tnx, kotix. :thumbsup:

visor 1.1 is now back on www.xbox-skins.net (http://www.xbox-skins.net)

and (hopefully) :fixed:

KoTiX
2004-09-29, 11:34
i forgot to tell you that maybe also the zippo have the same problem.

i had a lot of fun yesterday night playing with fonts in my skin, it's pretty easy to add ttf in the skin (tnx again :d ).
i noticed how much they take the resurce of the system, my pulsing buttons becomes slower when i use ttf instead of the default one.
do you have any idea how to make xpr fonts? any link?

bobrooney_78
2004-09-29, 12:34
the only thing i know about xpr-fonts is that there should be a fontmaker-application in the microsoft xdk, but i don't know how it looks like.

Wuslon
2004-10-05, 05:27
hi,

there is a little bug in your font.xml.

there is a link to common-font14c.xpr, but this font dosnīt exist.

<font>
<name>font14c</name>
<filename>common-font14c.xpr</filename>
</font>

i removed it and voila no more memory problems with your skin ,-)

bobrooney_78
2004-10-05, 23:14
thank you very much, wuslon!

i didn't see the problem :blush:

anyway, it should be fixed now -> www.xbox-skins.net

jmille01
2004-10-22, 05:49
i'm working on rearranging my skin to have easier access to the things i use more often. *rearranging the buttons was easy, but there are some elements of the skins that are not documented anywhere that i can find and that i can't figure out.

1) i can see that the <hyperlink>id</hyperlink> tag causes a button to load the xml file with <id>id</id>. *i can repeat this by modifying any of my buttons to point to an existing file. *however, if i create a new file with a new (unique) id, it doesn't work. *this implies that there is a registry of pages, but i can't find anything like that.

2) i would like to make more use of submenus, like dialogsubmenu.xml. *i am guessing that this is the key:

* * * *<coordinates>
* * * * *<system>1</system>
* * * * *<posx>500</posx>
* * * * *<posy>80</posy>
* * * *</coordinates>

posx and posy are obvious, but what is <system>1</system>? *is this some unique id? *or a note to xbmc as to what kind of window to load?

3) the reboot and shutdown buttons have no <hyperlink/> and no <execute/>. *how do they know what to do?

thanks to anyone willing to help!

bobrooney_78
2004-10-22, 13:11
1) you can't make new (not already existing) files
2) you can only use one dialog sub menu
3) some id's of some buttons (reboot, power off...) are hardcoded in the .cpp-source of xbmc, so they only need the right id's and no hyperlink.

good luck!

jmille01
2004-10-25, 15:30
hmmm...that turns out to be much more restrictive than i thought. *i have changed the source code now to allow multiple submenus. *now i just have to figure out how to work cvs and post to appropriate forums :oops:

bool capplication::loaduserwindows()
{
tixmldocument xmldoc;

// load the "userwindows.xml" file
resolution restouse = invalid;
cstdstring strpath = g_skininfo.getskinpath("userwindows.xml", &restouse);

* *if ( !xmldoc.loadfile(strpath.c_str()) )
* *{
* * * *clog::log(logerror, "unable to load:%s", strpath.c_str());
* * * *return false;
* *}

tixmlelement* prootelement = xmldoc.rootelement();
cstdstring strvalue=prootelement->value();
if (strvalue!=cstdstring("pages"))
{
clog::log(logerror, "file :%s doesnt contain <pages>", strpath.c_str());
return false;
}

// loop through the "page" elements
const tixmlnode *ppage = prootelement->firstchild("page");
while (ppage != null)
{
const tixmlnode *pfile = ppage->firstchild("filename");
if (pfile == null)
{
clog::log(logerror, "page section contains no filename element");
}
else
{
cstdstring strfilename = pfile->firstchild()->value();

// create the window
cguiwindow* pwindow;

const tixmlnode *ptype = ppage->firstchild("type");
if (ptype != null)
{
cstdstring strtype = ptype->firstchild()->value();
if (strtype == "dialog")
{
pwindow = new cguidialog(0);
}
else if (strtype == "submenu")
{
pwindow = new cguidialogsubmenu();
}
else
{
pwindow = new cguiwindow(0);
}
}
else
{
pwindow = new cguiwindow(0);
}

* * * *clog::log(lognotice, "loading user page:%s", strfilename.c_str());

// try to load the page. *if the load fails, delete the pointer
if (pwindow->load(strfilename))
{
m_gwindowmanager.add(pwindow);
}
else
{
delete pwindow;
}
}
ppage = ppage->nextsibling();
}

return true;
}

jmarshall
2004-10-25, 16:42
just a few notes.

first off, make sure you're not deleting an invalid pointer. initialize pwindow to null, and only delete if it's not null.

secondly, we need to think through exactly how this system would best operate. another "solution" to this problem would to change the current system so that it loads all *.xml files from the skin directory.

please discuss this (and other issues) in the thread in feature suggestions regarding post 1.1 skinning system features.

cheers,
jonathan