View Full Version : Icons for folders? (and possible discovery)
N1c0_ds
13-10-2007, 04:00 AM
Is it possible to make icons for our folders in the apps menu?
I opened the Office Mobile folder and there was a .ink file with the office icon. I moved it to another folder (named Utilities) and this folder now had the office folder icon. Any hint of how this could be used?
fzzyrn
13-10-2007, 05:15 AM
well, windows mobile has a special folder design, no?
Good job on the discovery.
You could probably create custom folders for apps.
levenum
13-10-2007, 09:12 PM
It is really very simple.
It's not ink its lnk, a shortcut file. If you manage to open it in text editor you will see a simple text string pointing to a dll, exe or ico file.
WM looks for a shortcut named 'icon.lnk' in folders and if it finds it will assign the folder the icon shortcut is pointing to.
You can look to windows\start menu\programs\games for an example of such file.
Also make sure it has the 'hidden' attribute or you will see it when opening the folder from start menu.
N1c0_ds
14-10-2007, 06:33 PM
So it was lnk with an "L"? When I opened the file with word, it was pointing to a DLL file and it didn't open quite well with Word.
Thanks for the highlight, I'll try making icons :D
I might post them later.
N1c0_ds
14-10-2007, 06:53 PM
I'm having more trouble to find free glossy folder icons than anything else...
N1c0_ds
14-10-2007, 08:00 PM
Alright, I tried once, failed. Trying again and again!
levenum
14-10-2007, 11:38 PM
Yes thats Lnk with "L" as in lamp (sorry, habit picked up from phone customer support)
Do not use Word or any other fancy editor as they do not handle plain text files well and may shove some garbage in there when you save the file.
Use notepad or even dos edit command.
N1c0_ds
15-10-2007, 12:22 AM
Yes thats Lnk with "L" as in lamp (sorry, habit picked up from phone customer support)
Do not use Word or any other fancy editor as they do not handle plain text files well and may shove some garbage in there when you save the file.
Use notepad or even dos edit command.
Ok I'll try that, thanks!
EDIT: I found a thread on brighthand that says only DLL files can be used as a source. Then if I'm not mistaken you must specify the code line where the icon is situated. The best solution would be to make a really small app with an icon then use this icon.
I'd try it right now but some piece of shit called ActiveSync refuses to work for a random reason.
EDIT 2: Activesync fixed, now working with a ressource editor and some DLLs to get it all working :)
c_shekhar
15-10-2007, 07:34 AM
Simply copy the .lnk to your desktop (PC). use notepad to editi t.
1. open notepad
2. open file xyz.lnk ....simple.
N1c0_ds
16-10-2007, 12:27 AM
Alright, here's my progress:
-Downloaded a copy of shellres.dll, the location of the existing icons (because you can't take it from the phone)
-Using Ressource Hacker, I changed the icons (in Icons Group) for iPhone icons (other free icons aren't nice)
-Now I copy the edited shellres.dll to the Windows folder (didn't work elsewhere)
-I make a copy of a icon.lnk file in every folder I want to see the icons of and edit the ressource number to match the one in the DLL.
Here's a standard icon.lnk file: 1#SHELLRES.dll,-8216
Translated to: 1#[location of the dll],-[ressource number]
And edited to: 1#iconpack.dll,-8210
Screenshots coming soon.
Now the only problem is that the whole process is not automated. I don't know much about programing so I can't make a program that makes .lnk that points to the right icon.
N1c0_ds
16-10-2007, 01:45 AM
There you go! What do you guys think?
BTW it only shows up in 256 colors, which is bad considering how nice the icons were...
EDIT: The whole thing is 1.4 freaking MB in size, so I gotta find icons that come in 32x32 instead of full packs including vista icons. Each icon was 80kb in size...
levenum
17-10-2007, 12:58 AM
Try GIMP. It's free (open source) and it can edit icons. I didn't check if it can manage the different images that are packed in a single ico file but its worth a try.
N1c0_ds
18-10-2007, 05:17 AM
I have gimp but I suck at using it. Anyway those icons are perfect for me but don't hesitate to ask for help to install your own.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.