PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Pocket PC Themes
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2008, 09:32 PM
fr4nk1yn's Avatar
Regular 'Geeker
Offline
Pocket PC: Palm Prē
Carrier: Sprint
 
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)
How-To: Start Menu Folder Icons

Been searching for an "answer" to this for awhile and haven't found anything ):

Basically I'd like to add icon files to the folders I created in the start menu.
Like the Games and Office mobile has.
I had a Moto Q9c that had more folders with icons.

When opened in a text editor the "icon" is simply 1#shellres.dll,-8229
When that dll is extracted with ResHack the icon isn't used by games isn't there. I was hoping that there would be a selection of resources that could be used.

Is there another way to create these files?
__________________
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 03:49 PM. Reason: made it a tutorial
This post has been thanked 1 times.
  #2 (permalink)  
Old 11-30-2008, 03:48 PM
fr4nk1yn's Avatar
Regular 'Geeker
Offline
Pocket PC: Palm Prē
Carrier: Sprint
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!

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

  PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Pocket PC Themes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:28 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com