Since MSN7 was installed, it seems that Winks among them are quite interesting, but it is just like this. When I took a bath last night, I thought it would be fun if I could DIY Winks.
I came to the company early this morning and did not do anything before the event was over (Ha, don't think my colleagues will see it ). I am busy studying Winks.
First, find the MSN Winks directory
Generally, the following path indicates that zhuguoping and 3662667825 in the middle should be different from the account and environment.
C: \ Documents and Settings \ zhuguoping \ Application Data \ Microsoft \ MSN Messenger \ 3662667825 \ Winks3
Open this directory and find many dat files. First open the file with a binary editor. I found that it was a file generated after merging multiple files. After reading it for a while, it turned out to be a CAB package file.
You can change the Dat name to Cab and use the Cab package software to open it.
Generally, it contains one Swf, one PNG, and one Content. xml file.
The role of the three files is described below.
Swf is a Flash file.
PNG can be understood as a thumbnail file of Flash.
Content. Xml is a definition and configuration file containing a Cab.
The format is as follows:
<? Xml version = "1.0" encoding = "UTF-8"?>
<Package xmlns = "http://messenger.msn.com/messengercontent/1.0" version = "1.0" type = "wink" xmlns: wink = "http://messenger.msn.com/winks/1.0" wink: version = "1.0" wink: name = "Toasting Glasses" partnerid = "AG">
<Item contentid = "AGW3065297" contenttype = "P" type = "animation" mimetype = "application/x-shockwave-flash" file = "3065297f.swf" wink: sizex = "640" wink: sizey = "429"/>
<Item type = "thumbnail" mimetype = "image/png" file = "3065297m.png"/>
</Package>
Microsoft's development is still very standard, and the name defined by the Xml node can basically guess what it means.
Write it here first. There are N more things to wait for, and I will try again later in the evening. If you are interested, you can take a closer look and use C # To write a custom Winks.