Change the folder base thumbnail ❔
Moderators: Hacker, petermad, Stefan2, white
Change the folder base thumbnail ❔
How can I change the folders base thumbnail for a different one? I mean the yellow folder image.
Image: https://i.postimg.cc/rs0fzYZx/image.png
Right now in Windows 11 it displays only half of one thumb from the files inside the folder and it even has aliasing/alpha blending problems in the edges...
Image: https://i.postimg.cc/rs0fzYZx/image.png
Right now in Windows 11 it displays only half of one thumb from the files inside the folder and it even has aliasing/alpha blending problems in the edges...
Re: Change the folder base thumbnail ❔
Also, I am using a custom blue folder icon for the folders, but TC is not using neither my custom blue folder icon nor the system's own yellow folder icon
Image: https://i.postimg.cc/pT8ZHnmJ/image.png
Because the system's yellow folder icon in Explorer doesn't have a pixelated resolution and aliasing/alpha blending problems like it shows in TC...
Image: https://i.postimg.cc/pT8ZHnmJ/image.png
Because the system's yellow folder icon in Explorer doesn't have a pixelated resolution and aliasing/alpha blending problems like it shows in TC...
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change the folder base thumbnail ❔
These are loaded from Windows via OLE2, so unfortunately you will get the same as in Explorer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Change the folder base thumbnail ❔
Loaded from where/which one exactly? I can change Windows icons using Resource Hacker or Customizer God.ghisler(Author) wrote: 2024-02-15, 08:19 UTC These are loaded from Windows via OLE2, so unfortunately you will get the same as in Explorer.
Windows Explorer properly shows up my customized blue folders, and the few it still displays in yellow are high resolution and with proper edge alpha blending/antialiasing, unlike the one displayed in TC...
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change the folder base thumbnail ❔
From the IThumbnailProvider interface: GetThumbnail.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Change the folder base thumbnail ❔
No, I mean... where exactly is this yellow folder icon? which .dll .res .mun or whatever is it taken from?
Image: https://i.postimg.cc/J0crkK2Y/image.png
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change the folder base thumbnail ❔
That's not an icon, it's a thumbnail returned by Windows. It should be the same as in Explorer when you use "Large icons" or "Extra large icons".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Change the folder base thumbnail ❔
This is how they look in Windows file Explorer: Image: https://i.postimg.cc/GhXrnBwD/image.png
And this is how that exact same folder looks in TC: Image: https://i.postimg.cc/52jJ4xbR/image.png
As you can see they look nothing alike...
And this is how that exact same folder looks in TC: Image: https://i.postimg.cc/52jJ4xbR/image.png
As you can see they look nothing alike...
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change the folder base thumbnail ❔
Looks like Explorer isn't using IThumbnailProvider any more, otherwise it would get the same results as Total Commander. Unfortunately there is no documentation of what it is using now, probably some internal code copied and modified from the IThumbnailProvider.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Change the folder base thumbnail ❔
They are icons. It uses 2 icons from the c:\Windows\SystemResources\imageres.dll.mun library:
One for the back of the folder (Icon Group's number 5), which I changed to a blue one:
Image: https://i.postimg.cc/nL4BZ3NR/image.png
and a different one for the front part of the folder (Icon Group's number 6):
Image: https://i.postimg.cc/hjKxG9BS/image.png
which I changed to an empty icon, so the full thumbnail from inside the folder is displayed:
Image: https://i.postimg.cc/FRbMyX8y/image.png
One for the back of the folder (Icon Group's number 5), which I changed to a blue one:
Image: https://i.postimg.cc/nL4BZ3NR/image.png
and a different one for the front part of the folder (Icon Group's number 6):
Image: https://i.postimg.cc/hjKxG9BS/image.png
which I changed to an empty icon, so the full thumbnail from inside the folder is displayed:
Image: https://i.postimg.cc/FRbMyX8y/image.png
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change the folder base thumbnail ❔
I see - so it seems that IThumbnailProvider always uses the unchanged icons, while Explorer uses the changed ones.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Change the folder base thumbnail ❔
2ghisler(Author)
How come - jesped says he has modified the imageres.dll.mun - where would IThumbnailProvider find the unmodified icons then? - from one of the WinSxS subfolders? ( here on my Windows 10 it is: C:\Windows\WinSxS\amd64_microsoft-windows-imageres_31bf3856ad364e35_10.0.19041.3636_none_515539f6ad3a7a6d )
Maybe jesped could try and replace his C:\Windows\WinSxS\amd64_microsoft-windows-imageres_31bf3856ad364e35_10.0.19041.3636_none_515539f6ad3a7a6d\imageres.dll.mun with his modified imageres.dll.mun
How come - jesped says he has modified the imageres.dll.mun - where would IThumbnailProvider find the unmodified icons then? - from one of the WinSxS subfolders? ( here on my Windows 10 it is: C:\Windows\WinSxS\amd64_microsoft-windows-imageres_31bf3856ad364e35_10.0.19041.3636_none_515539f6ad3a7a6d )
Maybe jesped could try and replace his C:\Windows\WinSxS\amd64_microsoft-windows-imageres_31bf3856ad364e35_10.0.19041.3636_none_515539f6ad3a7a6d\imageres.dll.mun with his modified imageres.dll.mun
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Change the folder base thumbnail ❔
Just found out they work ok in TC64...
So where is TC32 getting them from?
So where is TC32 getting them from?
Re: Change the folder base thumbnail ❔
Using Stardock's IconPackager to change the icons make them work both in TC64 and TC32.
Thanks for your time!
Thanks for your time!
Re: Change the folder base thumbnail ❔
Argh, problem not fully solved yet...
I used IconPackager, Customizer God, FileTypesMan and ResourceHacker and changed all the icons in shell32.dll.mun and imageres.dll.mun in c:\Windows\SystemResources\, and the icons are showing up correctly in Explorer, but TC keeps displaying the yellow ones no matter what...
Image: https://i.postimg.cc/hGJN7PfJ/image.png
Where does TC gets these compressed icons from?
I used IconPackager, Customizer God, FileTypesMan and ResourceHacker and changed all the icons in shell32.dll.mun and imageres.dll.mun in c:\Windows\SystemResources\, and the icons are showing up correctly in Explorer, but TC keeps displaying the yellow ones no matter what...

Image: https://i.postimg.cc/hGJN7PfJ/image.png
Where does TC gets these compressed icons from?