White border around '!' on folders/files icons

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

White border around '!' on folders/files icons

Post by *xrundel »

I want to know if there is a possibility to remove white border around '!' symbol from internal iconlib.
I use settings with unchecked option 'Show default folder/file icons from Explorer' and have no 'IconLib=' setting in wincmd.ini so TC overlays icons with this symbol.

I've read these topics:
http://www.ghisler.ch/board/viewtopic.php?t=45252
http://www.ghisler.ch/board/viewtopic.php?t=45358
http://www.ghisler.ch/board/viewtopic.php?t=45523
http://www.ghisler.ch/board/viewtopic.php?t=46634
to figure out how exactly icons are rendered and what problems with it remain unsolved.

I support the suggestion from Zerryk:
change the default icon for junction to something like this, at least when overlays have to be shown:
Image: http://jpeg.cz/images/2016/11/27/lDwaK.png
Last edited by xrundel on 2016-12-29, 19:34 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, but you can use an external icon library.
Author of Total Commander
https://www.ghisler.com
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

Post by *xrundel »

OK, thank you for quick reply.
Then, which exactly icon library should I set as 'IconLib=' value to have folders icons identical to 8.52 icons?
Where may one find it?

If there is none I will rather use 'dimmed' view mode to mark hidden files, it looks nice too.
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

2ghisler(Author)
Perhaps it would be a good idea to either make icons of TC8 available for download, or write some guide to extract them from TC8.

2xrundel
Since this annoyed me as well, I looked into it a month ago. I extracted the icons from TC 8.52a using ICLView.
You can do it like this:
  • Get the plugin and install it (obviously ;)).
  • Press F3 on the older totalcmd.exe (or totalcmd64.exe, the icons are a little bit different) so the plugin shows the embedded icons in TC Lister.
  • Right-click in Lister/ICLView, select "Save all as ICL" and save the file as 32 bit Icons Libraries (*.icl), e.g. "fileicons852.icl".
  • Copy this file to TC9 directory and set IconLib in wincmd.ini like this:

    Code: Select all

    IconLib=%COMMANDER_PATH%\fileicons852.icl
You can also replace single icons with Resource Hacker (ResHack) or similar tools in the ICL.

[EDIT] Typo [/EDIT]

Regards
Dalai
Last edited by Dalai on 2016-12-30, 14:40 UTC, edited 1 time in total.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

Post by *xrundel »

Dalai
Oh, thanks a lot! This instruction is what I needed.
make icons of TC8 available for download
+1
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

xrundel,
In one of mentioned topics I've posted an icon library with modified hidden icon and also a screenshot.
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

Post by *xrundel »

MVV
Yes, when I read that topic I tried to use TC9Lib.icl.
It looks very nice too, but I wanted exactly the same icons as in 8.5 while in your library '!' is shifted (at least with my settings).
How can I get the view from the 2nd column on screenshot you have posted?
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Well, my shifted '!' doesn't obscur file/folder icons while it is still noticeable enough.

You can replace any icon in my lib with another one (using any resource editor, e.g. Resource Hacker tool), e.g. you can take original icon from TC9 executable (using the same Resource Hacker) and remove white borders around '!' to get 2nd column from my screenshot (I use IcoFX for editing icons).
And AFAIK you can simply delete last icon with overlayed '!' and TC will not draw it but will use old folder icon with '!' (but in this case TC won't show '!' on hidden files/folders with custom icons such as reparse points, special folders or just hidden ICO/EXE files). You can simply write path to TC8 executable in IconLib parameter to check how it will look.
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

Post by *xrundel »

MVV
OK, thank you for clarification.
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

Post by *xrundel »

After updating from 9.22 to 9.50 a white border around !-mark on hidden folders/files icons appears again.
I use external icon library (fileicons852.icl - icons from TC8, see above), but now it works different, I suppose since
24.11.19 Added: Load "!" overlay icon from EXE if missing in external icon library, e.g. flat_FileIcons.dll (32/64)
To restore icons appearance I replaced my fileicons852.icl with new fileicons950+.icl which I made from TOTALCMD.EXE 9.50 as described above and in which I edited the 50th and 51st icons to make them look like old fileicons852.icl icons. The modified icon library fileicons950+.icl rests there.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: White border around '!' on folders/files icons

Post by *petermad »

2xrundel
I had already made that back at: viewtopic.php?p=367773#p367773
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
xrundel
Junior Member
Junior Member
Posts: 16
Joined: 2016-12-24, 16:06 UTC
Location: Russia

Post by *xrundel »

2petermad
Yes, I've missed this. Thanks.
Nevertheless my icons are a bit different, I'd say they are more close to 8.52 versions I used before.
So let the both libraries live (or rest) in peace.
Post Reply