Page 1 of 1
Custom File Icons not working?
Posted: 28 Oct 2022 22:15
by kunkel321
Have you guys been using CFIs lately? I just tried using the ones from here:
viewtopic.php?f=3&t=11635
Haven't used them for several years. Can't get them to work... The rule definitions, icon folder, and everything should be the same--yes?
Edit: I also tried
-starting a ::Fresh session and creating a single rule for a single icon.
-getting rid of the /d flags.
-putting the full path to my icons folder.
Re: Custom File Icons not working?
Posted: 28 Oct 2022 22:21
by highend
In general, I'm using CFIs, e.g.:
Code: Select all
C:\>Drives\C.ico
D:\>Drives\D.ico
R:\>Drives\R.ico
T:\>Drives\T.ico
And they are working just fine:

- 1.png (8.13 KiB) Viewed 6057 times

- 2.png (37.12 KiB) Viewed 6057 times
Re: Custom File Icons not working?
Posted: 28 Oct 2022 22:29
by kunkel321
Thanks Highend. I see that you don't have the <xyicons> part at all. I tried removing that from mine. No joy.
Edit here is a screenshot btw..
https://app.screencast.com/TI7jkonWRsa38
Re: Custom File Icons not working?
Posted: 28 Oct 2022 22:39
by highend
Re: Custom File Icons not working?
Posted: 28 Oct 2022 22:57
by kunkel321
There's actually a similar, but different problem in my above linked screenshot....
It is true (and annoying) that my ICO files never show the image of the icon. The default icons on my folders are all good though. (btw this happens in Window Explorer too)
Also related to icons (but off topic for this thread) is this:
https://app.screencast.com/Z31tqChF00SYy
If I do a MDBU of one of the icons, I get the generic 256x256 white icon seen in the XY preview window. There *is* a 256x256 icon image in there however... You can see it in my icon editor on the left. All of my ICO files do this in XYplorer. (Can't view them in Windows Explorer)
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:09
by highend
Regarding your screenshot:
https://app.screencast.com/TI7jkonWRsa3 ... 8Wd2ZfLHfL
Your 6 definitions all show a question mark for the icon. This is normally the case, if the file doesn't exist / XY doesn't find it
So just to make sure, post the output of:
text "_" . <xyicons> . "_";
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:10
by kunkel321
Again on the CFI problem...
I created a new rule, then browsed to the icon file. If I do that, the little icon next to the rule does show the generic white rectangle (rather than the gray circle question mark). So that's an improvement, I guess.
The CFI is still not appearing though (Note the "0 folder" folder that is in my downloads location.)
https://app.screencast.com/HLLhw7vz9Of3e
Also,
Important for Don: If I hilight that top rule and then click "Browse," all is well. But if I try to browse after selecting one of the definitions that contain <xyicons>, then it hangs and I have to kill XY. This happens every time.
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:18
by kunkel321
Output: _C:\Users\steve\AppData\Roaming\XYplorer\Icons_
As expected.
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:24
by kunkel321
Again with the missing icon images in xy and in Win Exp...
After posting, I remembered that I learned a workaround a long time ago: Get the old beta version of Real World Icon Editor, go to Preferences > File associations. Then let RWIE be associated with Windows Icons. After doing that, they appear correctly:
https://app.screencast.com/0hMGvAloLiBSv
Note that RWIE is not free. There might be a trial version(?)
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:25
by highend
Then the problem with your old definitions is: the space before your <xyicons> (which you don't need anyway because that's the default path)
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:26
by highend
After posting, I remembered that I learned a workaround a long time ago: Get the old beta version of Real World Icon Editor, go to Preferences > File associations. Then let RWIE be associated with Windows Icons. After doing that, they appear correctly:
Then resetting your file associations should have worked as well...
Re: Custom File Icons not working?
Posted: 28 Oct 2022 23:28
by kunkel321
Hey the CFIs are working now!!!
https://app.screencast.com/tRBRGEwpsw69T
Started working after I did the above RWIE trick. I can't image why that would fix it(??) Oh well.. I won't complain
Thanks HighEnd! How are you, by the way?
Re: Custom File Icons not working?
Posted: 04 Nov 2022 12:59
by admin
Is there still something important for me, or is all fine now?
Re: Custom File Icons not working?
Posted: 04 Nov 2022 14:35
by kunkel321
All fine. I just needed to change the syntax of my definitions. Thanks Don.