View Single Post
  #2 (permalink)  
Old 11-30-2008, 03:48 PM
fr4nk1yn's Avatar
fr4nk1yn
Regular 'Geeker
Offline
Threadstarter
 
Join Date: Jul 2008
Posts: 382
Reputation: 200
fr4nk1yn is keeping up the good workfr4nk1yn is keeping up the good workfr4nk1yn is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Start Menu Folder Icons(?).

OK..
I found a website that had some info then did some playing.

Here's: the website I found. It's a good starting point, but..
The "shortcuts" given in step3 are incorrect, at least for my dll. And even so the choices would be limited.
The tutorial link in step7 doesn't work. The link to XDA does, which contributed.

Here's my take on it:


First things first. Ico files needed to be found.
I used some Vista Folder icons sourced from DeviantArt.com.
There's plenty of places such as IconArchive.com to find them. Google is our friend.

Next ResHack isn't the best these days, it's no longer being updated and there's other choices now, it often gives "out of resources" errors when editing the dll.
A quick search, and some good luck, found IcoFX which will do everything needed.

I opened shelres.192.dll for a reference, it has the most icon resources I found.
The largest icon was 64x64-8bit. So that was the goal.

In IcoFX I opened the ico I downloaded and it had a lot more sizes.



side note: I first used ResHack and simply added the icos to the dll.
While it worked it appeared to try and use a 32bit graphic with shadow and it came out "ugly".
That's when I found IcoFX and made the next changes.

I stripped out the unwanted sizes simply by deleting them.



When all but 16x16-8, 32x32-8, 48x48-8 and 64x64-32 I converted the 64x64-32 to 64x64-8..



..and saved the ico with another file name.

------------------

Easy enough so far.
On the menu I went to "Tools" > "Resource Editor" and chose the dll.
Oh yeah. I was not able to copy the dll from the phone directly, fortunately I disassemble a ROM and had the file available.
Right click > "Add" then I chose the ico I just modified then saved.
The icon is given a number when interested, that had to be remembered for later.
BTW, The program automatically backs up the dll.



I then copied the dll to the phones \Windows folder.
Note: I saved it as newshellres.dll and deleted all the other icons from it.
Saving it as is and replacing the original file in the \Windows folder wouldn't hurt anything as long as it was done correct.


I took an existing icon file from the phone and copied it to the desktop.
note: If the "hidden files and folders" option is checked in folder options that file will "disappear" when copied.
Opened in a text editor the file contains "1#shellres.dll,-xxxxx".
The xxxxx was replaced with the number of the inserted icon.
As an alternative the XDA thread gives the proper instructions for creating the file from scratch:
Create a text file with "1#shellres.dll,-xxxxx" then save it as "icon.lnk" INCLUDING the quotation marks, then set the properties as "hidden".

Create the folder in the start menu and copy the icon file to it and it should show the chosen icon.

Screen02.jpg

That's it. Hope it helps somebody else looking to customize their start menu.
Attached it a plain shellres.dll file to be modified.
Attached Files
File Type: zip shellres.zip (19.5 KB, 138 views) Click for barcode!
__________________
Phone: Touch Pro
Skinned Cat ROM: 20771 SYS w/ FPOS 3E XIP cooked in Calu's v1.3 Kitchen w/ Calcu 20954 & PPCKitchen OEMs
Skinned Cat Return: 21232 SYS + Modded eRice Ktichen + lots different bits = Joy (O.o)
Radio: Sprint 1.11.00F

Last edited by fr4nk1yn; 11-30-2008 at 04:14 PM.
This post has been thanked 4 times.