Bigbruin.com
Home :: Reviews & Articles ::
Forum :: Info :: :: Facebook :: Youtube :: RSS Feed
Search  :: Register :: Log in
View Single Post  Topic: "Modding Explorer - Walkthrough Guide" 
Author Message
advance
Rated PG


PostPosted: Wed, 27 Apr 2005 21:04:22    Post Subject: "Modding Explorer - Walkthrough Guide" Reply with quote

Explorer.exe is probally the most important app in windows. I am going to should you how to hack it to how you like it, and downsizing it from 984 KB to 292 KB, keeping only necessary icons and bitmaps. Most of the hacks done here will be noticeable in the classic windows, not the one with all the graphics.


DISCLAIMER: I DON'T TAKE ANY RESPONSIBILITY FOR WHAT HAPPENS TO YOUR COMUPTER AS A RESULT OF THIS GUIDE, OR MY SCRIPT.

I wrote this guide assuming you have used ResHacker before, but will explain most of it anyway.

Categories we will edit: BITMAPS, ICONS / ICON GROUPS, MENUS, and STRING TABLES.

First we need to know where this file is, it is in "c:\windows\" under "explorer.exe."


Bitmaps: These are the pictures you see in explorer, which you can delete. I kept only the necessary ones, the ones I wanted which were #'s 172 - 175. The way you can quickly delete these are to open the folder containing the bitmaps and hit Alt + A then d. The first time you will click yes, that you want to delete them, then you can just hit alt + a and d from that point. The bitmaps I kept were the arrows that are used for the quick launches and grouping the parts of the start bar. You can also edit these bitmaps. The way you edit them, is to first right click the bitmap and copy it, then paste it into paint or something similar. Edit it, save it, and then click "Action," then "Replace Bitmap." Then browse to the correct area where you saved it and click ok. That's it to bitmaps. Most of them are used for the dialogs when customizing your start menu.

Note: If you, like me, use the classic start menu and taskbar beware: Bitmap 142 is the windows picture next to "Start" on your start button. If you want to keep it there, DON'T DELETE IT.


Icons and Icon Groups: Most of the icons in explorer are pretty much useless, no one uses them. There are two ways to go about getting rid of them.

a) Deleting them: You would delete them the same way you delete bitmaps.

Pros: Reduces file size.

Cons: You have to also edit "user32.dll." and you have to download a blank icon.

b) Replacing them: You would replace them with a blank icon, which you can get more information on ________________HERE________________ .

Pros: Avoids editing "user32.dll."

Cons: You have to download a blank icon.

They really include the same amount of work, because you will need a blank icon along the way no matter what, so its your choice on what you want to do, here is how to do both of them:

Deleting them:

You delete all the icons you don't want here by deleting the ICON GROUPS. That will save you much time. Be careful, after deleting an icon group, the selection of what to delete next will slide down a few spaces and you might not want to delete that. Make sure you know what you are deleting.

Editing user32.dll:

You open up ResHacker and browse to "c:/windows/system32/user32.dll." Then browse to the icon groups and replace the first group (100) with a blank icon. Find more information on blank icons ________________HERE________________ .

Replacing them: Once you have the blank icon, you would replace the icons by finding the group you want to replace, selecting it, clicking "Action," then "Replace Icon," then find the blank icon where ever it is stored on your computer and 'opening' it. Then click ok and it is replaced!

That's it for icons, it is your choice on how you want to go about changing them, I prefer deleting.


Menus: There are only 5 menus in explorer, and I only know about two of them and what they do, these changes will effect the classic menu the most.

Incase you aren't sure you the menus work, I'll give you a brief summary:

"POPUP" can be considered a folder. Examples of these are "Search," "Programs," and "Documents." If you want to delete one of these folders, you must not only delete the popup line, but the brackets and what's inside them as well.

POPUPS generally look like this:

Code:

   POPUP "NAME FOR THE "FOLDER"", #'s, WORDS, 0
   {
  MENUITEM "(WORDS)    ", #'s, WORDS
   }



You would delete all of that to delete the popup.

To delete Menu items, just delete the line in which they are.

If you want to change the actual lines otherwise then deleting them (IE: the names), you would delete ONLY the part with the with the words, for example to change "Shut Down" to "Off" you would change:
Code:

   MENUITEM "Sh&ut Down...", 506, MFT_STRING, MFS_ENABLED

to
Code:

   MENUITEM "Off", 506, MFT_STRING, MFS_ENABLED

and nothing else.

Menu 204: The menu originally should look like this:
Code:

204 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
   MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
   POPUP "&Programs", 504, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "(Empty)    ", 513, MFT_STRING, MFS_GRAYED
   }
   POPUP "F&avorites", 507, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "(Empty)    ", 65535, MFT_STRING, MFS_GRAYED
   }
   POPUP "&Documents", 501, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "(Empty)    ", 514, MFT_STRING, MFS_GRAYED
   }
   POPUP "&Settings", 508, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "&Control Panel", 505, MFT_STRING, MFS_ENABLED
  MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
  MENUITEM "&Windows Security...", 5001, MFT_STRING, MFS_ENABLED
  MENUITEM "&Network Connections", 557, MFT_STRING, MFS_ENABLED
  MENUITEM "&Printers and Faxes", 510, MFT_STRING, MFS_ENABLED
  MENUITEM "&Taskbar and Start Menu", 413, MFT_STRING, MFS_ENABLED
   }
   POPUP "Sear&ch", 520, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
   }
   MENUITEM "&Help and Support", 503, MFT_STRING, MFS_ENABLED
   MENUITEM "&Run...", 401, MFT_STRING, MFS_ENABLED
   MENUITEM "", 450, MFT_SEPARATOR, MFS_ENABLED
   MENUITEM "S&ynchronize", 553, MFT_STRING, MFS_ENABLED
   MENUITEM "&Log Off %s...", 402, MFT_STRING, MFS_ENABLED
   MENUITEM "D&isconnect...", 5000, MFT_STRING, MFS_ENABLED
   MENUITEM "Undock Comput&er", 410, MFT_STRING, MFS_ENABLED
   MENUITEM "Sh&ut Down...", 506, MFT_STRING, MFS_ENABLED
}
}

Right away you can delete a few thing, because you don't use them, you don't need
Code:

   MENUITEM "S&ynchronize", 553, MFT_STRING, MFS_ENABLED
   MENUITEM "D&isconnect...", 5000, MFT_STRING, MFS_ENABLED
   MENUITEM "Undock Comput&er", 410, MFT_STRING, MFS_ENABLED

unless you see them on your computer now.

This is really up to you what you do here, you can rename a ot of it, and delete a lot of it.

Mine looks really cool like this:
Code:

204 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
   POPUP ">", 504, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "(Empty)    ", 513, MFT_STRING, MFS_GRAYED
   }
   POPUP ">", 501, MFT_STRING, MFS_ENABLED, 0
   {
  MENUITEM "(Empty)    ", 514, MFT_STRING, MFS_GRAYED
   }
   MENUITEM ">>", 401, MFT_STRING, MFS_ENABLED
   MENUITEM ">>>", 506, MFT_STRING, MFS_ENABLED
}
}

I have the shut down thing, the run box, documents, and applications on this menu. It is very minimal and looks really cool.

The only other MENU in explorer I will be showing you to hack is Menu 205. You see this menu when you right click the time and date on your taskbar. It will originally look like this:
Code:

205 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP ""
{
   MENUITEM "&Adjust Date/Time",  408
   MENUITEM "&Customize Notifications...",  421
   MENUITEM SEPARATOR
   MENUITEM "Ca&scade Windows",  403
   MENUITEM "Tile Windows &Horizontally",  404
   MENUITEM "Tile Windows V&ertically",  405
   MENUITEM "&Show the Desktop",  407
   MENUITEM "&Undo",  416
   MENUITEM SEPARATOR
   MENUITEM "Tas&k Manager",  420
   MENUITEM SEPARATOR
   MENUITEM "&Lock the Taskbar",  424
   MENUITEM "P&roperties",  413
}
}

I brought mine to:
Code:

205 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP ""
{
   MENUITEM "Date/Time",  408
   MENUITEM "Lock",  424
   MENUITEM "Properties",  413
}

Do what you want here, and that's the end of menus.


String Tables: These are the biggest part of explorer and we can think of them as labels. They label most of what you see in explorer.

There are 22 folders we will be looking through, I'll point to the significant ones.

The first number will be the folder to go to, and the next number is the offset:

38 - (595) = The start button label. To leave blank, hit alt + 0160 inside the quotations.
46 - (731) = The label for the Shut Down in the start menu
515 = The labels for the right clicks in the new start menu


There you go, a complete guide to hacking explorer!


Edit, see here to find a bitmap and icon delete script.
-Advance
View user's profile Send private message

Contact Us :: On Facebook :: On Youtube :: Newsletter :: RSS Feed :: FAQ :: Links :: Sponsors :: Privacy Policy
Copyright © 2000 - 2023 Bigbruin.com - All rights reserved