What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » [Help] Adding resources

[Help] Adding resources
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. [Help] Adding resources
Hi,

I am currently familiar with replacing resources, but adding a brand new "Options" button to window 923 isn't really working (well, not for me).

Can somebody please explain me how it should work?

Tnx in advance..
03-18-2008 05:53 PM
Profile PM Find Quote Report
Basilis
Veteran Member
*****

Avatar
Olympiacos CFP

Posts: 1366
Reputation: 46
31 / Male / Flag
Joined: Dec 2007
RE: [Help] Adding resources
You have to specify the exact place the image will be and also give it a new id. Then you replace that image under the <New> section in your SkinInfo file.
[Image: logo1nu1.png]
03-18-2008 05:55 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [Help] Adding resources
SkinInfo: no problemo, but the Definition isn't exactly organized (even the Consolidated windows).. I think they're very hard to read, let alone to add a new button..

The id is 59001..
03-18-2008 06:02 PM
Profile PM Find Quote Report
Basilis
Veteran Member
*****

Avatar
Olympiacos CFP

Posts: 1366
Reputation: 46
31 / Male / Flag
Joined: Dec 2007
RE: [Help] Adding resources
Check skins that have done it like "Horton hears a who" or "Beaver and Steve"

This post was edited on 03-18-2008 at 07:33 PM by Basilis.
[Image: logo1nu1.png]
03-18-2008 07:33 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [Help] Adding resources
Well, I temporarily inserted your code between the <* PlusSkin > tags..
Doesn't work, I get this error:

code:
08/03/19 15:54:50| DUIParserFailure: Value creation failed '' 115

EDIT:: Used this in the SkinInfo file:

code:
            <Restrictions>
                <SkinOptions>
                    <OptionSet>
                        <Conditions>ShowOptions = "true"</Conditions>
                    </OptionSet>
                </SkinOptions>
            </Restrictions>

(...)

            <Resources>
                <Replace>
                    <Windows>
                        <Definitions>
                            <Definition Id="923">
                                <File>MessengerSkin\ResGroup\Resources\Replace\Windows\Definitions\msgres_4004_923.txt</File>
                            </Definition>
                        </Definitions>
                        <Styles>
                            <Style Id="923">
                                <File>MessengerSkin\ResGroup\Resources\Replace\Windows\Styles\msgres_4005_923.txt</File>
                            </Style>
                        </Styles>
                    </Windows>
                </Replace>
            </Resources>


But of course, it didn't work :S

EDIT 2:: Same error if I move this section into the restrictions group of WLM 8.5.. Line 115 of my file is:

code:
<element class="ToolbarIcon" content=rcimg(59001)/>

This post was edited on 03-19-2008 at 03:14 PM by SmokingCookie.
03-19-2008 02:44 PM
Profile PM Find Quote Report
Basilis
Veteran Member
*****

Avatar
Olympiacos CFP

Posts: 1366
Reputation: 46
31 / Male / Flag
Joined: Dec 2007
RE: [Help] Adding resources
You have to replace the 59001 like this
<New><Pictures>
<Picture Id="59001">yourimagename.png</Picture>
</Pictures></New>
[Image: logo1nu1.png]
03-19-2008 03:55 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [Help] Adding resources
Great...

I have a sign-in problem with Messenger, so I cannot test anything for a while :S

EDIT:: Still doesn't work :S

code:
08/03/19 17:24:27| **** The trace has started ****
08/03/19 17:24:27| Skin: GTA IV Skin 1.01
08/03/19 17:24:27| Messenger version: 8.5.1302.1018 (nl-nl)
08/03/19 17:24:27| Messenger Plus! version: 4.50.312
08/03/19 17:24:27| Last definition file loaded: 923
08/03/19 17:24:27| Last picture file loaded: 59001
08/03/19 17:24:27| DUIParserFailure: Value creation failed '' 115

Line 115:

code:
            <element class="ToolbarIcon" content=rcimg(59001)/>

This post was edited on 03-19-2008 at 04:27 PM by SmokingCookie.
03-19-2008 04:19 PM
Profile PM Find Quote Report
Nagamasa
Skinning Contest Winner
*****

Avatar

Posts: 1842
Reputation: 30
31 / Male / Flag
Joined: May 2006
RE: [Help] Adding resources
Life of Vista has:
code:
<Button cmdid=7460 id=atom(Whalemen) AccRole=57 Class="TransparentButton" Layout=flowlayout(0,2,0,2) Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)>
                                                    <element class="ToolbarIcon" content=rcimg(59107)/>
                                                </Button>
You're probably miss the <Button> part. And because of that, you're probably missing the Style file part:
code:
button[id=atom(Whalemen)]
{
AccName:rcstr(80);
accdesc:rcstr(80);
}

This post was edited on 03-19-2008 at 08:18 PM by Nagamasa.
[Image: unled1uo.png]
Joined this forum 6769 days, 13 hours, 1 minute, 56 seconds ago.



03-19-2008 08:17 PM
Profile PM Web Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [Help] Adding resources
No I'm not..

SkinTrace errors:

code:
08/03/20 08:30:31| **** The trace has started ****
08/03/20 08:30:31| Skin: GTA IV Skin 1.50
08/03/20 08:30:31| Messenger version: 8.5.1302.1018 (nl-nl)
08/03/20 08:30:31| Messenger Plus! version: 4.50.312
08/03/20 08:30:31| Last definition file loaded: 923
08/03/20 08:30:31| Last picture file loaded: 59001
08/03/20 08:30:31| DUIParserFailure: Value creation failed '' 115

This is what I have:

code:
    <*PlusSkin Conditions(ShowOptions = true) *>
        <Button cmdid=7460 id=atom(skinbtn) AccRole=57 Class="TransparentButton" Layout=flowlayout(0,2,0,2) Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)>
            <element class="ToolbarIcon" content=rcimg(59001)/> <-- This is line 115
        </Button>
    </*PlusSkin*>

SkinInfo:

code:
                <New>
                    <Pictures>
                        <Picture Id="59001">MessengerSkin\ResGroup\Resources\New\Pictures\BtnOpt.png</Picture>
                    </Pictures>
                </New>

Style file:

code:
Button[id=atom(skinbtn)]
{
accdesc:rcstr(80);
AccName:rcstr(80);
}

EDIT::

I think, for some really weird reason, that the style file isn't loaded..


Thanx lads :D Got it workin' :D

This post was edited on 03-20-2008 at 01:29 PM by SmokingCookie.
03-20-2008 07:24 AM
Profile PM Find Quote Report
« 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