default windows icons in TC?

English support forum

Moderators: Hacker, petermad, Stefan2, white

icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

OnDisplay and similar tools change the desktop.ini in the corresponding folders, they don't resource hack anything.

Total Commander doesn't use Explorer icons because it has nothing to do at all with Explorer, so why should it use its icons?
You can change the default icons in buttonbar to your liking and I bet that there will be a better solution for the drivedll soon, at least I hope so because right now it looks like a patchwork, not a serious concept.

With a resource hacker you can change default TC icons and drivedll as well, it's more complicated than to change icons in Explorer but that's the price you have to pay when you use TC. It's a great program with an antique GUI. Nice looking icons just won't fit. ;)

Icfu
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2icfu
OnDisplay and similar tools change the desktop.ini in the corresponding folders, they don't resource hack anything.
Global icons for some files and for folders are not stored in desktop.ini files, they are stored in the registry, see below.

2zeflash

I found the registry location!

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\Explorer\Shell Icons\

This key contains for example

0=Unknown File Type
1=Default Document
2=Default Application
3=Closed Folder
4=Open Folder

many more...see the adress below

Example:

1=C:\MyIcons\DefaultDocument.ico,0
3=C:\MyIcons\MyClosedFolders.icl,5

If you don't have this key on your system or some entries are missing windows loads the default icons from Shell32.dll.

Trushworthy sources ( http://www.faqweb.de/tip0162.htm ) report that the location applies to all windows versions.

If you want to see changes to these entries in Explorer you will have force windows refreshing the system item cache.
Last edited by Lefteous on 2004-01-09, 00:36 UTC, edited 3 times in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Oops, didn't read correctly. You are right, works like a charme for CLSID objects.

Changes for single folders are stored in desktop.ini. More information on MSDN:
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/custom.asp

Icfu
This account is for sale
zeflash
Junior Member
Junior Member
Posts: 47
Joined: 2003-08-28, 09:08 UTC

Post by *zeflash »

Well then it seems that every technical details needed to do this is there :)
Read from the specific keys in the registry to locate the icons if specified - or get them from shell32 and the other system libraries

Now we only need the advice of the master coder!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

One word:...

Post by *Clo »

2zeflash
Now we only need the advice of the master coder!
:) Hi!
¤ I've just one word to add:
AMEN
:mrgreen: Friendly,
Clo
Last edited by Clo on 2004-01-09, 07:46 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
tombik
Member
Member
Posts: 155
Joined: 2003-02-10, 21:19 UTC
Location: Berlin

Post by *tombik »

Hi!

A good introduction in changing systemfiles:
http://www.jonmega.com/~iceman/stuff/tutorials/replacing_sysfiles/

Tool to change Icons:
RESHACKER http://www.users.on.net/johnson/resourcehacker/
Tool to change the modified systemfiles EASILY:
REPLACER http://www3.telus.net/_/replacer/

I´ve changed my whole shell32.dll, explorer.exe and iexplore.exe and it works fine.

AT YOUR OWN RISK,BE CAREFULLY!!

Tombik
License # 37884 @ TC 7.56a
zeflash
Junior Member
Junior Member
Posts: 47
Joined: 2003-08-28, 09:08 UTC

Post by *zeflash »

2 Tombic: checkout GUIReplacer: a tools that's coming along quite nicely to do that automatically.

http://madd.no-ip.com

There is only one icon theme for now (iCandy junior) but the author is working on more. I tried to proggy (v1.4) and it worked pretty well
User avatar
tombik
Member
Member
Posts: 155
Joined: 2003-02-10, 21:19 UTC
Location: Berlin

Post by *tombik »

@zeflash:

Thx for this link!

I´ll take a look! 8)

Tombik
License # 37884 @ TC 7.56a
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Last---

Post by *Clo »

2zeflash
:D Hi!
¤ Just a last detail:
(just open the shell32.dll in a icon editor like axialis or microangelo and you'll see all the available icons)
:( Like you could see in other quoted topics, Axialis IconWorkShop doesn't recognize the XP 24*24 icons currently, it "sees" them as 32*32!
:P But it's quite right using Microangelo.
:) Cordialement,
KR
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

No other program recognizes the icons correctly and the problem is not TC related, at least not here.

I tried all different apps, IrfanView, XNView, ICO-Plugin and some other apps, they all don't display the 24*24 icons but instead zoom the 16*16 icons, that's why they look so ugly.

Only in Microangelo raw view the 24*24 icons are displayed, in desktop view they are not, so it definetely has something to do with either the ICL or some settings in XP. Maybe we have disabled alpha blending? No idea, sorry.

Icfu
zeflash
Junior Member
Junior Member
Posts: 47
Joined: 2003-08-28, 09:08 UTC

Post by *zeflash »

Please, this thread is not about 24x24 icons.
It's about using the default windows icons in TC. I'd like an answer from Christian about this :)
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Oops, wrong thread...
Clo, why do you mention the 24*24 icons here? I thought it was the other thread. :)

Icfu
This account is for sale
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Linked...

Post by *Clo »

2icfu
:D Hi
¤ It's so linked... Actually, the Win default icon-dll under XP contains 24*24!
:oops: Sorry to have caused you this detour - though this thread worths to be browsed too- …
:mrgreen: Kind regards,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
zeflash
Junior Member
Junior Member
Posts: 47
Joined: 2003-08-28, 09:08 UTC

Post by *zeflash »

No news on that matter yet?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm using my own icon caching mechanism because the one in Windows is very slow.
Author of Total Commander
https://www.ghisler.com
Post Reply