![]() Skinning: Let's learn how to skin! - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10) +----- Thread: Skinning: Let's learn how to skin! (/showthread.php?tid=56256) Skinning: Let's learn how to skin! by absorbation on 02-26-2006 at 02:20 PM
Now I have finshed this, and I am so happy now. This is probably going to get popular with the right promotion. I have decided I will keep this on msgstuff.com and on msghelp.net and nothing else. You can link to either this thread or the msgstuff version, you cannot copy and paste it to your own website. That being said I don't mind how you speak about it, send me a PM if you have any questions concering this or if you need any help code: Now this will find the information in the style which is "ToolbarIcon". The MSN Messenger team have named the classes conveniently so we can guess what they are in this case "ToolBarIcon" is what the PNGS do on the top toolbar in the contact list. (MSN Today button etc) But your not expected to know anything like that. I didn't at this stage. Just looking at that small code you are probably thinking ... run, I give up. I don't blame you, finish reading all of this and it will all come together. UIFILES also, do have a basic syntax. First, everything must be in an <element> tag of some form. But some parts of the code do have large blocks of element tags whereas some have one line. You may find something like: code: That is a normal way of opening and closing the tags however you may find a lot of code in the <element> tags in <element> tags in <element> tags: code: But there is another way. Sometimes there is not much information in the <element< tags so they just add a </< at the end of one tag: code: The trailing slash automatically ends the tag for you. If you do not close any tags, the uifiles will break and will not work. So beware when adding big lines or taking away big lines. So that is out basic UIFILE tutorial. Do not be put off by it so far you will see much easier things to come now after this part do not worry. Lesson 4: Skinning Other Parts So so, so I told you how to skin the main section, the PNGS and things are pretty much the same for others. However, a few tweaks need to be made to do so. This is there you will learn what they are, and how simple the changes are when they are in front of you. Bitmaps: The bitmaps as said before mainly are the system tray images as well as the scrollbars. However, they are a bit more than that, such as that buddy icons and sign in details background. You may have noticed some have a bright kind of pinky purply background. This is important. It is what makes the images transparent and in order to get those images transparent they must be that colour (255,0,255) in RGB format. In addition, one image can make up 8 images, this may seem odd but MSN Messenger slices up the areas, so beware when skinning them because the end result can look odd. The buddy images: They are also sliced images but in PNG format that make up the buddy images in the contact list. Open them in your image editor and place your new images on top of them, trying to get the size right. Just export and overwrite as normal and the buddy images are done: ![]() String Table: The first section of the string table is the contact card colours. Basically, the contact card is made up of three gradients. If you look at the code, it blends so hex colours (just standard HTML colours like #FFFFFF) go into each other to create a nice effect on the contact card. The first set of gradients being the top bar, the second being the middle and the third being the bottom bar. Skinning the contact cards is simple and once your done just click compile script, wait a few seconds, and restart MSN messenger. The colour values are: background=\"C0D0F0,F8F8F8\ (Section 1) background=\"F8F8F8,E2EAF3\ (Section 2) background=\"CDD9EE,EEF2F8\ (Section 3) Just find those parts of the code (they are in order) and change the values to what you want. Also by editing the foreground="#hex colour" part you change the text colour on the contact card. ![]() Lesson 5: UIFILE Reference So you're a little confused. Well I don't blame you. Here is some basic UIFILE references starting with what each UIFILE does: (Note: these are UIFILES for MSN Messenger 7.5) 919 = MSN Today/ Tab Content 920 = Conversation Window 921 = Toast Window 922 = Group Conversation Container 923 = Contact List 924 = Activities Menu?? 925 = Style?? 926 = Message Box 928 = Menu Design 930 = My Games 931 = Contact Card (layout only, not gradient colors) 932 = My Activities 933 = Wink?? 934 = My Emoticons 935 = My Winks 936 = Contact Buddy 937 = Download MSN Messenger Content 939 = Wink History 940 = Dropdown Emoticons/ Winks/ Backgrounds 941 = Deluxe Display Container 942 = Auto Share Background Window 943 = Connection Tester 947 = Sign In Windows Ok lets learn how to actually make the UIFILES change in MSN Messenger. This time there is a load of text and a compile button. I edit the UIFILES in a text editor and then copy and paste them in resource hacker. Go to the UIFILE you want to edit and copy it all and paste it in your text editor. The edit the values you want (you will learn all this later) and copy your new UIFILE data. Then go back into Resource Hacker and delete at least one character (this enables you to copy your new data in) paste your new UIFILE data in. Then click "Compile Script". Wait a few seconds. Restart MSN Messenger and view the changes for yourself. ![]() Lesson 6: UIFILE Parts Now below is pretty much what every command in UIFILES are. In this section, it tells you how to and what by changing them it does to the appearance of MSN Messenger. After practice, you will be able to start coding your own sections. This is something you probably would want to print or save. I also suggest looking at some examples, in the examples section. Layoutpos Layoutpos is the way you can change the layout of an element or an object. There are 4 types, which are left, right, client (center) and none. e.g. layoutpos=left. To edit these just change the last part to what you want and it should change the position of that object. However, as you can see in the image below MSN Messenger is a slice up of elements. Some elements are small and by changing an object in them, you will not see much change in the layout. Nevertheless, in the conversation window (UIFILE 920) if you change the send button from left to right, you see a huge change as the element is very big. This movement varies a lot, and you should note that in your head. ![]() Idres This one is very easy. It is the way to insert images into the UIFILES. You will see something like idres=1000, which is the PNG image 1000, which you can see in the skinning resources. You can change the number to what you want or remove the line totally to not show that image. An example of the code is: code:(MSN Today butterfly) Padding=rect() For all those who are familiar with CSS you probably could guess what this is. It is nearly the exact same as padding of divs and tables, however, it has a slight twist. There are four ways it does it, top, bottom left, and right. It moves depending on which way you padded and the amount you done it. You tend to find these more in elements. Look at this code below: code: Foreground This applies to the style information however, it is very important. Foreground means the text colour in rgb format. By editing the colours you edit the text colour of that class: code: If you do not know what the numbers mean, Then open a program such as paint and go to colours > edit colours. You can mix colours and it will give you the rgb format. (Look at the image below) ![]() Mousefocued, selected, pressed Notice the effects when you rollover a certain area, the text may change the background changes etc. Well this is controlled in the style information and is a great effect to use. code: The idres : ifhc (0, 100) means the PNG to show. You probably gathered this from before, but this time it is a little different, in this case it shows PNG 100. Mousefocued means what it does when the cursor is over that object, in this case it will show PNG 100. Selected means the effect after you pressed the object and while the command is running. Finally pressed is what it does while you are pressing it. I could give a different image for each one which will provide a unique effect. In this case it just shows one image. Now boys and girls those were just a few examples, what there must be hundreds all together and I am not going to go through each one. These were the main ones and with practice, you will understand them and when you do, wham! Everything seems easier. I never had this luxury, I had to go trough pain staking trail and error to learn UIFILES and I did not find it that hard, I am sure you can understand this with time. Lesson 7: UIFILE Examples The best way I learnt UIFILES was by viewing source examples and practice. I suggest viewing this thread, as it will help you so much. Enjoy! View Thread Lesson 8: Skinning Windows Live Messenger Hold on there buddy, Windows Live Messenger has some dramatic changes. But don't worry I'll tell you them. First all resources are stored in msncore.dll and not msnmsgr.exe, doesn't sound too bad, well just prepare yourself. The main change is the image format PNG has been removed and replaced by an extension knows as .rle. Problem with that is, no image editor will edit it nor convert it. With this set back, replacing images are impossible at the moment. However, with great minds in the MSN Messenger community we discovered if you know your UIFILES well you can manually re-add the PNG code. Then later on, we got half way there, we found a way to convert the image to a PNG and edit them. Unfortunately we still cant convert them back. Read how to do this here. There are also some changes to the UIFILES. You may have noticed all the style classes are stored at the top and all the main code at the bottom. Now each UIFILE has been spilt up, into two, 1 for style the other for the main code. In addition, some UIFILE names are totally different with ridiculously long numbers. I don't want to go into full detail as it keeps on changing but soon a full report will be published for you. There are no skins for Windows Live Messenger at the moment for these reasons. So, that it is. The ins and outs you need to know. But not everything can be taught by writing, no practice is key, this tut gives you a great idea to get started, from doing basic skins to doing advanced UIFILE editing. I hoped you enjoyed it ![]() RE: Skinning: Let's learn how to skin! by Nathan on 02-26-2006 at 02:23 PM
Very nice absorbation, RE: Skinning: Let's learn how to skin! by RebelSean on 02-26-2006 at 02:25 PM Very nice work, something I've been waiting on. I'll certainly show people this! RE: Skinning: Let's learn how to skin! by xJ + on 02-26-2006 at 02:32 PM
Seriously, it's cool!! A brilliant tutorial! RE: Skinning: Let's learn how to skin! by Zahid™ on 02-26-2006 at 02:46 PM
Nice tutorial RE: Skinning: Let's learn how to skin! by albert on 02-26-2006 at 03:52 PM
Great Job! RE: Skinning: Let's learn how to skin! by Chris4 on 02-26-2006 at 03:55 PM
Thanks Absorbation. If I get soem spare time, I'll give it a go RE: Skinning: Let's learn how to skin! by Voldemort on 02-26-2006 at 05:43 PM
ITS VERY GOOD RE: Skinning: Let's learn how to skin! by GiantSpider on 02-26-2006 at 05:48 PM
Nice one Absorbation RE: Skinning: Let's learn how to skin! by Rik on 02-26-2006 at 06:21 PM
Awesome work Absorbation! RE: Skinning: Let's learn how to skin! by aNILEator on 02-26-2006 at 10:51 PM
don't forget that there is a program being developped called skin+ that will allow memory skins (interchangable skins for all versions of msn) looks promising RE: RE: Skinning: Let's learn how to skin! by TheSteve on 02-27-2006 at 03:23 AM
quote:I hope you're not refering to my program call MemSkin+... It allows you to run memory skin indeed. It works on all versions of messenger than use Resources. (Which is pretty much all of them ![]() Back on topic: Good job. Fix your mistake in the WLM section. ![]() RE: Skinning: Let's learn how to skin! by sunny81 on 02-27-2006 at 12:54 PM
RE: Skinning: Let's learn how to skin! by absorbation on 02-27-2006 at 03:50 PM
quote: Probably is, only checked it once, I want to post tools as well such as yours and Huff's skinning tool ![]() RE: Skinning: Let's learn how to skin! by tony on 02-27-2006 at 03:57 PM
good jobs abs, im currently making white msn skin RE: Skinning: Let's learn how to skin! by absorbation on 03-21-2006 at 04:11 PM
http://www.zolexmsn.com/index.php?name=Tuto |