<?xml version="1.0" encoding="UTF-8" ?> <package xmlns="http://messenger.msn.com/messengercontent/1.0" version="1.0" type="theme"> <item xmlns:emoticon="http://messenger.msn.com/emoticon/1.0" contentid="Pack1" contenttype="P" type="emoticon" emoticon:namespaceprefix="Pack1" mimetype="image/gif" file="whatever.gif" emoticon:displayname="Letter A" emoticon:keysequence="loll" /> </package>Things to change:
contentid - Change this to whatever the name you want, try to use unqiue ones
namespaceprefix - this is how it gets saved it .dat files i believe, again unique to stop your emote icons overwriting others
file - the filename of your icon that will be in the .cab file with the content.xml
displayname - The name that will show up when users browse their custom emotes
keysequence - What needs to be type in a conversation for the icon to appear
mimetype - Depending on the type of your picture you can have image/png for png image/gif for gif and well, you get the idea.
Here is the code for display pictures:
<?xml version="1.0" encoding="UTF-8" ?> <package xmlns="http://messenger.msn.com/messengercontent/1.0" version="1.0" type="theme"> <item xmlns:usertile="http://messenger.msn.com/usertile/1.0" contentid="tux" contenttype="P" usertile:version="1.0" type="usertile" mimetype="image/png" file="tux.png" usertile:default="true" usertile:displayname="Tux" /> </package>Things to change:
contentid - Change this to whatever the name you want, try to use unqiue ones
default - If true, when picture is installed, it will be set as your current display picture. False stops this.
displayname - The name that will show up when users browse their custom display pics
mimetype - Depending on the type of your picture you can have image/png for png image/gif for gif and well, you get the idea.
file - the filename of your icon that will be in the .cab file with the content.xml
Here is the code for backgrounds:
<?xml version="1.0" encoding="UTF-8" ?> <package xmlns="http://messenger.msn.com/messengercontent/1.0" version="1.0" type="theme"> <item xmlns:background="http://messenger.msn.com/background/1.0" contentid="Name" contenttype="P" background:version="1.0" type="background" mimetype="image/jpg" file="back.jpg" background:displayname="Name" /> </package>Things to change:
contentid - Change this to whatever the name you want, try to use unqiue ones
mimetype - Depending on the type of your picture you can have image/png for png image/gif for gif and well, you get the idea.
file - the filename of your icon that will be in the .cab file with the content.xml
displayname - The name that will show up when users browse their custom backgrounds
NOTE:
A custom content file that is going to be installed using the MessengerInstallerLibrary should be a cab file and should contain the following:
-content.xml which lists all content
-The images you are using which are referenced in the content.xml
To create cab files, first create a zip file with the content in and use the utility here to convert it:
http://www.paehl.de/english.php
Also, to add more than one emote in a content pack, the code would look like this, and you can see, it is easily done with display pictures:
<?xml version="1.0" encoding="UTF-8" ?> <package xmlns="http://messenger.msn.com/messengercontent/1.0" version="1.0" type="theme"> <item xmlns:emoticon="http://messenger.msn.com/emoticon/1.0" contentid="Pack1" contenttype="P" type="emoticon" emoticon:namespaceprefix="Pack1" mimetype="image/gif" file="whatever.gif" emoticon:displayname="Letter A" emoticon:keysequence="loll" /> <item xmlns:emoticon="http://messenger.msn.com/emoticon/1.0" contentid="Pack1" contenttype="P" type="emoticon" emoticon:namespaceprefix="Pack1" mimetype="image/gif" file="whatever2.gif" emoticon:displayname="Letter B" emoticon:keysequence="lol2" /> </package>
You can even mix two types of content like this:
<?xml version="1.0" encoding="UTF-8" ?> <package xmlns="http://messenger.msn.com/messengercontent/1.0" version="1.0" type="theme"> <item xmlns:emoticon="http://messenger.msn.com/emoticon/1.0" contentid="Pack1" contenttype="P" type="emoticon" emoticon:namespaceprefix="Pack1" mimetype="image/gif" file="whatever.gif" emoticon:displayname="Letter A" emoticon:keysequence="loll" /> <item xmlns:background="http://messenger.msn.com/background/1.0" contentid="Name" contenttype="P" background:version="1.0" type="background" mimetype="image/jpg" file="back.jpg" background:displayname="Name" /> </package>
WINKS:
You cannot create custom winks, this is due to them requiring keys that only microsoft have or can be purchased for 400 dollars
Forgot to add extra info and credits:
Thanks to those at msnfanatic for the code, I forgot where I actually got it from but thanks to all those involved, pm me and I'll add our name gladly.
This post has been edited by BluePheenix: 16 May 2005 - 12:30 PM

Sign In
Register
Help


MultiQuote