Custom File Icons not working?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Custom File Icons not working?

Post 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.
Last edited by kunkel321 on 28 Oct 2022 22:23, edited 1 time in total.
ste(phen|ve) kunkel

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom File Icons not working?

Post 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
1.png (8.13 KiB) Viewed 3525 times
2.png
2.png (37.12 KiB) Viewed 3525 times
One of my scripts helped you out? Please donate via Paypal

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post 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
ste(phen|ve) kunkel

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom File Icons not working?

Post by highend »

One of my scripts helped you out? Please donate via Paypal

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post 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)
ste(phen|ve) kunkel

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom File Icons not working?

Post 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> . "_";
One of my scripts helped you out? Please donate via Paypal

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post 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.
ste(phen|ve) kunkel

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post by kunkel321 »

Output: _C:\Users\steve\AppData\Roaming\XYplorer\Icons_
As expected.
ste(phen|ve) kunkel

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post 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(?)
ste(phen|ve) kunkel

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom File Icons not working?

Post 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)
One of my scripts helped you out? Please donate via Paypal

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom File Icons not working?

Post 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...
One of my scripts helped you out? Please donate via Paypal

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post 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 :biggrin:

Thanks HighEnd! How are you, by the way?
ste(phen|ve) kunkel

admin
Site Admin
Posts: 60623
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Custom File Icons not working?

Post by admin »

Is there still something important for me, or is all fine now?

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Custom File Icons not working?

Post by kunkel321 »

All fine. I just needed to change the syntax of my definitions. Thanks Don.
ste(phen|ve) kunkel

Post Reply