Decryption of MSN Winks files

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.