TUTORIAL: All About Resource Hacker! A Brief Tutorial

Discussion in 'Tutorials' started by Vishal Gupta, Jun 30, 2006.

Thread Status:
Not open for further replies.
  1. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    !!! WARNING !!!

    Playing with system files using resource hacker can be Dangerous for your system and it can make your system not working.

    So use it at your own risk!


    Guys!

    So many members hv asked me a lot of questions about Resource Hacker, like:

    => How to replace existing Resources ( Bitmaps, AVI, Icons, etc.) in a file?
    => How to add ur own resources?
    => How to change Menus/ Strings?

    and so on...

    So here I'll try to cover all such questions and many other tips-n-tricks.:)
    So here we go.....

    NOTE: I hv divided this tutorial in 2 parts:

    PART1 : BASIC INFORMATION
    PART2 : ADVANCED INFORMATION

    Basic part contains Basic details, like viewing/replacing resources, etc.
    Advanced part covers some advance information which is described for geeks. Like Adding ur own resources, using scripts with resource hacker, etc.

    PART1 : BASIC INFORMATION​


    What is Resource Hacker:

    Resource Hacker is a Free s/w to edit 32-bit windows files (DLL, EXE, CPL, and many other). U can add/delete/view/rename/modify existing resources in a file using this gr8 piece of s/w.

    Download Link:

    U can d/l Resource Hacker from here.
    U don't need to install it, simply extract the files and run the s/w. It also doesnt make any entry in Registry!:)

    Using Resource Hacker:

    When u open a file in Resource Hacker, it shows various directories in left-side pane, like:

    AVI
    Cursor
    Bitmap
    Icon
    Menu
    Dialog
    String Table
    Accelerators
    Version Info

    and so on...

    [​IMG]

    These directories vary from file to file!
    Following is a small description of these directories:

    AVI : This directory contains AVI files.
    Cursor : This directory contains Cursor files.
    Bitmap : This directory contains Bitmaps.
    Icon : This directory contains Icons.
    Menu : This directory contains various Menus.
    Dialog : This directory contains various Dialog boxes.
    String Table : This directory contains various Strings.
    Accelerators : This directory contains Shortcut keys.
    Version Info : This directory contains version information of the file.

    Viewing Resources:

    U can view any resource embedded in the file. Simply expand the directory and click on the name of the resource.
    Actually each resource contains 3 parts:

    Resource Type
    Resource Name
    Resource Language


    Resource Type : Its indicate that the resource is an AVI/Bitmap/Menu/Cursor/Icon/String/etc.
    Resource Name : It describes the name of a resource, no 2 resource can hv the same name.
    Resource Language : Its the language used in the file. For ENGLISH its 1033.


    Continue Here...


     
    Last edited: Sep 20, 2007
    QwertyManiac likes this.
  2. aditya.shevade

    aditya.shevade Console Junkie

    Joined:
    Jun 29, 2006
    Messages:
    990
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    USA
    Hi

    Great! Can you tell me how to save the changes? I tried to save the shell32.dll but it cannot be replaced. Is there any other way?

    Aditya
     
  3. OP
    OP
    Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    thnx.
    U can't save a system file while running windows.
    It happens bcoz of WFP (Windows File Protection) service running in background.
    But there r several utilities to overcome this problem!
    Either u can use replacer, which works well in such conditions. Simply run the utility and first drag-n-drop the original file in its window then it'll ask for the new one, thendrag-n-drop ur customized file and then press "Y" for confirmation.
    It'll automatically replace the file at next system restart.
    U can find such utilities here.
     
  4. rk

    rk New Member

    Joined:
    Aug 24, 2004
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    nice tutorial vishal
     
  5. pranshu

    pranshu New Member

    Joined:
    Apr 30, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Good one Vishaal! Thanks a lot for all your effort, but why didnt you post all of them in one post rather than posting them in different posts. Increasing your post counts??? Even then it doesn't matter to me till the time good things are brought in.
     
  6. sudipbhowmick

    sudipbhowmick New Member

    Joined:
    Jun 30, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Plz.....Give Me A Brief Tutorial if possible on how to change the "system property box" & "run" dialog box & other windows dialogs & menus.

    thanx to U very much for teaching .....plz keep it on.
     
  7. aditya.shevade

    aditya.shevade Console Junkie

    Joined:
    Jun 29, 2006
    Messages:
    990
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    USA
    Hi

    I don't get it. I asked you a lot of questions by sending you the email. It was all related to this tutorial. Still you say it's the worst tutorial you ever made? It's great. Just give detailed info on how to do things exactly. And please tell me how to create a live windows cd.

    Aditya
     
  8. OP
    OP
    Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    thnx guys for ur kind support :)

    Hacking System Properties Dialog Box (Sysdm.cpl file)

    NOTE: Here I'll describe how to change the first tab "General" in System Properties dialog box. Following is a screenshot of the dialog box which will U get after following hack.

    [​IMG]


    Continue here:
    Hacking System Properties Dialog Box in Windows XP
     
    Last edited: Sep 20, 2007
  9. ax3

    ax3 Cool as a CUCUMBAR ! ! !

    Joined:
    Dec 14, 2003
    Messages:
    5,388
    Likes Received:
    5
    Trophy Points:
    38
    hi VIshal ... instead of v guys doing these above stuff ... can u also upload ur files ... will b useful ...

    well i will b trying this stuff bt time is THE thing ...
     
  10. OP
    OP
    Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    I hv uploaded my Sysdm.cpl filehere.
    But don't forget to take a backup of ur existing Sysdm.cpl file.
    If u face ne problem like version problem, just replace my file with ur default file. :D
     
  11. aditya.shevade

    aditya.shevade Console Junkie

    Joined:
    Jun 29, 2006
    Messages:
    990
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    USA
    Hi

    Nice thing that you are actually telling us how to do things. Not the usual use resource hacker line. Continue with this! You are helping people like me.

    Aditya
     
  12. ayush_chh

    ayush_chh Member

    Joined:
    Nov 25, 2005
    Messages:
    525
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    :confused: don't know that what i m goin to post has already been posted or not.
    if yes then tell me i'll delete this.

    after learning that using res hak one can edit so many files (thanks to vishal gupta for his superb tut on 'list of files to be hacked') i tried to edit logonui.exe and on searching i found that the logon and logoff screen can be changed.:cool:

    how to do it.

    open the 'logonui.exe' file with res hak.
    now goto UIFILE/1000/1033

    on the right side there is a large blank space but as u go down u will find the stuff.

    all u have to do is to change the values where ever u see

    rgb(0-256,0-256,0-256)

    for respective shades

    actually the screen is divided into many parts:

    these can be editted in UIFILE
    the main screen
    top pannel
    bottom pannel
    these can be editted in BITMAP section
    there are many seperating lines(BITMAP/124,125,126/1033)
    the windows logo(BITMAP/123,127/1033)
    one bitmap on left top corner(BITMAP/100/1033)
    one behind user name(BITMAP/112/1033)

    this is all part of my research. i hav not found it from any link;)

    thank you
     
    Last edited: Jul 13, 2006
  13. aditya.shevade

    aditya.shevade Console Junkie

    Joined:
    Jun 29, 2006
    Messages:
    990
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    USA
    @ Ayush

    Well I read this somewhere. But since you say you found it on your own it's good.

    Aditya
     
  14. delivi

    delivi New Member

    Joined:
    Jul 16, 2006
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Tuticorin
    thanx for this wonderful tutorial it was really helpful.
     
  15. ayush_chh

    ayush_chh Member

    Joined:
    Nov 25, 2005
    Messages:
    525
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore

    if it's not useful then as i said before i will delete it.:)
     
  16. __Virus__

    __Virus__ New Member

    Joined:
    Sep 15, 2005
    Messages:
    560
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Hyderabad
    man o man.. trust me I like your helping nature to the max!! awesome dood.. just keep it comin.. wonderful helping nature!!!
     
  17. aditya.shevade

    aditya.shevade Console Junkie

    Joined:
    Jun 29, 2006
    Messages:
    990
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    USA
    @ Ayush

    I am saying donot delete it. It's good that you found that out on your own.

    Aditya
     
  18. knight17

    knight17 New Member

    Joined:
    Oct 16, 2005
    Messages:
    314
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Kerala
    Nice tutorial...
    Thanks for that...please add more....
     
  19. nitish_mythology

    nitish_mythology OSS Enthusiast!

    Joined:
    Sep 9, 2005
    Messages:
    664
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Hills of Kumaoun
    Wow nice work Vishal...
    Thanks!
     
  20. ayush_chh

    ayush_chh Member

    Joined:
    Nov 25, 2005
    Messages:
    525
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    'VISTA' u r gettin FAMOUS. WE like YOU.
     
Thread Status:
Not open for further replies.

Share This Page