What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » Using UIBs in a skin

Pages: (2): « First [ 1 ] 2 » Last »
Using UIBs in a skin
Author: Message:
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. Using UIBs in a skin
I checked the documentation and there's no mention of being able to replace actual re-encoded UIB files in skins. Do I just have to reference the same file for both Style and Definition, or is it just impossible?
05-16-2009 02:29 AM
Profile PM Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: Using UIBs in a skin
quote:
Originally posted by ryxdp
I checked the documentation and there's no mention of being able to replace actual re-encoded UIB files in skins. Do I just have to reference the same file for both Style and Definition, or is it just impossible?
Just refer to both style and definition, you won't use uib in skinning =)
[Image: Empty.png]
05-16-2009 05:17 PM
Profile PM Web Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: Using UIBs in a skin
quote:
Originally posted by blessedguy
quote:
Originally posted by ryxdp
I checked the documentation and there's no mention of being able to replace actual re-encoded UIB files in skins. Do I just have to reference the same file for both Style and Definition, or is it just impossible?
Just refer to both style and definition, you won't use uib in skinning =)

Well, that makes the MPTools convertor kinda useless ^o) plus if you use UIBs in a skin it'll save space. I wanted to use UIBs to make my skins a bit more tidy, but oh well :/

This post was edited on 05-16-2009 at 10:54 PM by ryxdp.
05-16-2009 10:53 PM
Profile PM Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: Using UIBs in a skin
MPTools is, among others, to encode and decode UIBs so that you can make your own add on =P, plus you don't need to use all styles and all definitions, only the ones you'll use =)
[Image: Empty.png]
05-16-2009 10:56 PM
Profile PM Web Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: Using UIBs in a skin
quote:
Originally posted by blessedguy
plus you don't need to use all styles and all definitions, only the ones you'll use =)

Yes, but it's a well known fact here that just replacing a window's style or definition will slow down the skin's performance :P
05-16-2009 11:13 PM
Profile PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: RE: RE: Using UIBs in a skin
quote:
Originally posted by ryxdp
Yes, but it's a well known fact here that just replacing a window's style or definition will slow down the skin's performance :P
Really? unless you know of a test scenario that reproduces the problem, I have to say I doubt it. I did a lot of efforts in optimizing the decoding/encoding of UIB files. On a decent computer, it takes a tenth of a second to encode a file and it's done only once, then the result is cached into memory :)
[Image: signature2.gif]
05-19-2009 04:20 AM
Profile PM Web Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: RE: RE: Using UIBs in a skin
quote:
Originally posted by Patchou

Really? unless you know of a test scenario that reproduces the problem, I have to say I doubt it. I did a lot of efforts in optimizing the decoding/encoding of UIB files. On a decent computer, it takes a tenth of a second to encode a file and it's done only once, then the result is cached into memory :)

quote:
Originally posted by Skinning Documentation
...when a skin is loaded, if either a definition file or a style file is missing for one window, Messenger Plus! decodes the internal UIB data to generate the missing piece before re-encoding the whole thing. It slows things down a little but this way, nothing needs to be changed in the way you're used to write your skins.

I understand that this is a very small amount of time, but still, it would be nice to only need to include just one file, even if you have both files present. For example if you modified all 59 windows, it would take about six seconds longer for Messenger to load according to what you've said. Of course, I also see that hardly anyone would need to do this (take Willz's current skins, which modify only about 35-40 windows) but it would still be a considerable amount of time wasted just by encoding these files.
05-19-2009 10:13 AM
Profile PM Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: Using UIBs in a skin
Hey, it's a supposed 6 seconds (or shorter) time, once in a skin's use. Normally, people won't even notice it, as they'd only click the icon and do anyother thing while Messenger doesn't load.
Take it easy =)

It's a fraction of a second, according to patchou's next post, so don't worry.

This post was edited on 05-21-2009 at 12:57 AM by blessedguy.
[Image: Empty.png]
05-19-2009 10:48 PM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Using UIBs in a skin
I toyed with the idea of allowing pre-compiled files to be bundled but decided the encoder was fast enough to avoid the need for it (and keep things more simple to everybody).

Note that as far as loading 59 windows is concerned, it doesn't work this way. Messenger Plus! creates the UIB data only when the window is displayed by Messenger. That means that only one window is loaded/encoded at a time, making the whole thing completely transparent.
[Image: signature2.gif]
05-20-2009 10:48 PM
Profile PM Web Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: Using UIBs in a skin
quote:
Originally posted by Patchou
I toyed with the idea of allowing pre-compiled files to be bundled but decided the encoder was fast enough to avoid the need for it (and keep things more simple to everybody).

Note that as far as loading 59 windows is concerned, it doesn't work this way. Messenger Plus! creates the UIB data only when the window is displayed by Messenger. That means that only one window is loaded/encoded at a time, making the whole thing completely transparent.

Alright then, thanks :P I just thought it may have made skin ripping that little bit harder to do, due to all the decoding and re-encoding just to change a single picture or something.
05-21-2009 06:06 AM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On