Page 1 of 1

Custom icons

Posted: 27 Mar 2008 18:45
by tatzi
Hi all 8)

I use the xyplorer because of its wonderfull portable filetype assosiation ,
but every time I ask myself the same question.

Why can't Xyplorer display custom icons for filetypes ?

It woul'd be so perfect for users who uses xyplorer together with portables ^^

Re: Custom icons

Posted: 27 Mar 2008 18:51
by admin
Yes, makes some sense. But how would you define those custom icons: where are the image data?

Posted: 27 Mar 2008 19:15
by serendipity
Yes, good idea. could icons be extracted from exes?

Posted: 27 Mar 2008 19:21
by admin
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.

Posted: 27 Mar 2008 20:08
by serendipity
admin wrote:
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.
I did a quick check on that, most of my exes have atleast 16 and 32 sizes embedded. But you are right, what about those dont have? Maybe a folder inside XY for icons? atleast it wont make things complicated. I wonder what others think.

Posted: 27 Mar 2008 20:43
by admin
serendipity wrote:
admin wrote:
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.
I did a quick check on that, most of my exes have atleast 16 and 32 sizes embedded. But you are right, what about those dont have? Maybe a folder inside XY for icons? atleast it wont make things complicated. I wonder what others think.
I also thought about a folder with icons first. But all of this is a can of worms... Extracting from the XY-associated EXEs would be the most natural thing, but there are problems lurking... it's not worth the trouble right now, I'm afraid.

Posted: 27 Mar 2008 21:01
by TheQwerty
admin wrote:
serendipity wrote:
admin wrote:
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.
I did a quick check on that, most of my exes have atleast 16 and 32 sizes embedded. But you are right, what about those dont have? Maybe a folder inside XY for icons? atleast it wont make things complicated. I wonder what others think.
I also thought about a folder with icons first. But all of this is a can of worms... Extracting from the XY-associated EXEs would be the most natural thing, but there are problems lurking... it's not worth the trouble right now, I'm afraid.
I definitely wouldn't extract from the associated-EXEs. I think users (or at least myself) would rather be able to define the icon separately, and for that using .ico and .icl for icons is probably best.

Posted: 28 Mar 2008 10:44
by tatzi
the icons woul'd be perfect in .ico file format ( in my opinion ) and this could be placed in %xyplorerdir%\Icons\iconfile.ico

:wink:

e.g. %xyplorerdir%\Icons\psd.ico < xyplorer will display all .psd files with this icon in the folder

Posted: 28 Mar 2008 10:53
by admin
tatzi wrote:the icons woul'd be perfect in .ico file format ( in my opinion ) and this could be placed in %xyplorerdir%\Icons\iconfile.ico

:wink:

e.g. %xyplorerdir%\Icons\psd.ico < xyplorer will display all .psd files with this icon in the folder
Yep, looks like a clean solution.

However, when I look at my list, I can't see this happen before 7.5... you are free to remind me then...

Posted: 28 Mar 2008 14:14
by tatzi
yes , thank you very much :wink:

Posted: 28 Mar 2008 15:41
by TheQwerty
One small issue, really it's just an annoyance, I have with doing it ext.ico is the fact that there are some types that have multiple valid extensions and that would result in needing duplicate icon files.

I'm thinking it being almost a copy of the XY file associations, where you give the extensions and the icon file would be better.

It would also allow for a better interface if this is ever extended to support extracting the icons from exe, dll, icl, or what have you.

Posted: 28 Mar 2008 16:05
by j_c_hallgren
TheQwerty wrote:I'm thinking it being almost a copy of the XY file associations, where you give the extensions and the icon file would be better.

It would also allow for a better interface if this is ever extended to support extracting the icons from exe, dll, icl, or what have you.
This is a valid point, and a good idea for a solution! I know that I have some extensions that are just minor variants of each other and should share the same icon, if I used this feature.