Friday, January 18, 2008

Hacking MSN Messenger Through Resource Hacker- Part 1

It is a simple tutorial on how to use Resource Hacker to remove buttons/banners from MSN Messenger v7.0.0604 . You must 'Compile Script' after you edit something, if you forget, it will prompt you to do so the next time you search for text.

Note:- I have given "{}" at the end and beginning of CODES. U have to replace them with "<>" to make it run successfully.

First of all open Resource Hacker, then open msnmsgr.exe

Main Contact List Window

Removing the MSN Today Button
Find (Ctrl+F):
Result: UIFILE > 923 > 1033

Code:
{cmdbutton cmdid=40234 id=atom(msntodaybtn) class="ToolbarBtn" layout=flowlayout(0,2,0,2) AccName=rcstr(4231) AccRole=57 AccDesc=rcstr(4230) ShortcutString=rcstr(4229)}

Delete id=atom(msntodaybtn)
Change layout=flowlayout(0,2,0,2) to layoutpos=none

Final result should look like this:
Code: {cmdbutton cmdid=40234 class="ToolbarBtn" layoutpos=none AccName=rcstr(4231) AccRole=57 AccDesc=rcstr(4230) ShortcutString=rcstr(4229)}

Removing the My Space Button
Find (Ctrl+F):

Result: UIFILE > 923 > 1033
Code:
{cmdbutton cmdid=40421 id=atom(spacebtn) class="ToolbarBtn" layout=flowlayout(0,2,0,2) AccName=rcstr(4257) AccRole=57 AccDesc=rcstr(61769) ShortcutString=rcstr(4256)}

Delete id=atom(spacebtn)
Change layout=flowlayout(0,2,0,2) to layoutpos=none

Final result should look like this:
Code: {cmdbutton cmdid=40421 class="ToolbarBtn" layoutpos=none AccName=rcstr(4257) AccRole=57 AccDesc=rcstr(61769) ShortcutString=rcstr(4256)}

Removing the Add Contact Button
Find (Ctrl+F):
Result: UIFILE > 923 > 1033

Code:
{cmdbutton id=atom(idAddContact) cmdid=40282 class="TasklistBtn" layout=flowlayout(0,2,0,2) background=ifhc(window, gradient(rgb(222,229,247), rgb(242,242,250), 1)) bordercolor=ifhc(buttonshadow, rgb(214,220,242)) borderthickness=rect(1,1,1,1) padding=rect(3,2,3,2)}

Delete id=atom(idAddContact)
Change layout=flowlayout(0,2,0,2) to layoutpos=none

Final result should look like this:
Code: {cmdbutton cmdid=40282 class="TasklistBtn" layoutpos=none background=ifhc(window, gradient(rgb(222,229,247), rgb(242,242,250), 1)) bordercolor=ifhc(buttonshadow, rgb(214,220,242)) borderthickness=rect(1,1,1,1) padding=rect(3,2,3,2)}

Removing the Search Bar
Find (Ctrl+F):
Result: UIFILE > 923 > 1033

Code:
{element id=atom(idSearchContainer) layout=borderlayout() padding=rect(1,4,1,3)}

Change layout=borderlayout() to layoutpos=none
Change padding=rect(1,4,1,3) to padding=rect(0,0,0,0)

Final result should look like this:
Code:{element id=atom(idSearchContainer) layoutpos=none padding=rect(0,0,0,0)}


Removing the Ad Banner
Find (Ctrl+F):
Result: UIFILE > 923 > 1033

Code:
{element layoutpos=top layout=verticalflowlayout(0,2,2,2) padding=rect(2,0,3,2)}

Change layoutpos=top to layoutpos=none

Final result should look like this:
Code:{element layoutpos=none layout=verticalflowlayout(0,2,2,2) padding=rect(2,0,3,2)}



myLot User Profile