Old 20th May 2010, 15:51   #1
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,385
File Type Icons

Update This thread has been superseded by Winamp 5.58 (and higher) which provides native support for file type icons via the included update of JTFE plug-in. Also, icon packs are available at the Plug-in Skins section of Winamp.com/Plugins.



Attached is a collection of various file type icons that can be used with Winamp.

Example...



Unzip the file and place the files in a folder that you can easily get to or rember. The three files are

WA File Types.dll | file containing the various file type icons
File.ico | waveform icon for media (audio/video) files
PlayList.ico | playlist icon



The change the file type icons...
1. From Control Panel or a Windows Explorer session > select Folder Options
2. File Types tab
3. scroll down to desired file format and click/select
4. click the Advanced button
5. Change Icon button
6. Browse button
7. browse to the location of the WA File Types.dll file > click the Open button
8. select icon of choice > OK button > OK button
repeat steps (3-8) for the various file types you want custom icons for
9. close out of File Types & Folder options

Admittedly, that is a rather arduous process for each file type. However, some type of support for individual file icons is planed for a future version of Winamp. Please don not ask for an ETA on that.

A bit easier method
Otherwise, if you don't mind something more generic Winamp can change icons for media (audio/video) and playlist files. This is where the File.ico (waveform icon) and PlayList.ico (playlist icon) icons can be used, if you so choose.

1. Winamp > Ctrl+P (for Preferences)
2. General Preferences > File Types
3. there you will be able to customize the File Icon and Playlist Icon from Winamp's set of default icons.

If you want to use the File.ico and PlayList.ico files, you will need to save/move to two files to the Winamp.ini folder/directory (info below).

Then, in Winamp…
1. Winamp > Ctrl+P (for Preferences)
2. General Preferences > Jump To File > Extras
3. checkmark "Enable 'File Types' preferences page additions"
4. you can select the custom icons via the File Icon & Playlist Icon sliders in General Preferences > File Types. They will be at the bottom of the slider.

Winamp.ini location
Depending on the Winamp install, Winamp.ini can be found in...

C:\Program Files\Winamp

-or-

%appdata%\Winamp Where %appdata% is a shortcut to the 'Application Data'/'User Settings' folder. You can click on the Start button > click the Run icon and put %appdata%\Winamp in the Open box and click OK. That should bring you to the Winamp settings folder in 'Application Data'/'User Settings'.

The actual path will vary with the current Windows version you are using. Example...

Windows 2000 & Windows XP
C:\Documents and Settings\UserName\Application Data\Winamp

Windows Vista & Windows 7
c:\users\UserName\AppData\Roaming\Winamp
Attached Files
File Type: zip WA_File_Types.zip (49.1 KB, 351 views)

Please do not PM me for tech support. Any request for tech support through PM will be ignored.
Read the Stickies
---> | | | | <--- Knowledge is power
JonnyMac is offline   Reply With Quote
Old 20th May 2010, 16:10   #2
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
Really great stuff, JM.

Especially that the file contains icons for game music files is great for people like me, who love their game music database.

Edit I only really miss a spc icon (Super Nintendo Game Music)
Koopa is offline   Reply With Quote
Old 20th May 2010, 16:17   #3
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,385
Thanks

I had you in mind when adding the game icons to the library.
JonnyMac is offline   Reply With Quote
Old 20th May 2010, 16:40   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by JonnyMac View Post
Then, in Winamp…
1. Winamp > Ctrl+P (for Preferences)
2. General Preferences > Jump To File > Extras
3. checkmark "Enable 'File Types' preferences page additions"
4. you can select the custom icons via the File Icon & Playlist Icon sliders in General Preferences > File Types. They will be at the bottom of the slider.
I'm trying to see if i can get that handling to automatically provide access to the icon for the selected file type to appear after the file/playlist overrides though some formats are probably going to require custom editing but it'll be a step in the right direction just not sure on where to detect the dll from, was thinking Winamp directory or the current settings folder...

-daz
DrO is offline   Reply With Quote
Old 20th May 2010, 16:50   #5
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
Same folder like Winamp.exe would be fine, or? Or Winamp\Plugins folder maybe?

But first we need a spc icon. :P

Both keep on your good work on it, I'm looking forward to it.
Koopa is offline   Reply With Quote
Old 20th May 2010, 17:05   #6
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,385
I like the idea of detecting the dll from the Winamp directory.
Quote:
Originally Posted by Koopa
But first we need a spc icon. :P
I was thinking about posting “Please do not post replies requesting other file types”, apparently it is too late for that. (double :P)

Thanks Koopa and DrO
JonnyMac is offline   Reply With Quote
Old 20th May 2010, 22:20   #7
DrO
 
Join Date: Sep 2003
Posts: 27,873
attached image is from a working test build made of jtfe which will map the currently associated icons to those in the dll if they match (has a few little issues with it still but is almost there).

only things are that it'd probably be better to have the dll named without spaces in it and use the alternate version for BackStage which works with resource editors nicely, otherwise i think the only thing would be extending the icons supported. as i'll post a list of the icon mappings used (once i've sorted a few things out with koopa) and allow for some expansion as required with alternate versions of the dll (like pawel's one )

only thing i can't do is properly override the playlist icon due to how things work with Winamp's registry associations but nothing is stopping it from working with the individual file formats

-daz
Attached Thumbnails
Click image for larger version

Name:	file_types_custom_dll.png
Views:	206
Size:	67.3 KB
ID:	46995  
DrO is offline   Reply With Quote
Old 20th May 2010, 23:11   #8
JonnyMac
Moderator
 
JonnyMac's Avatar
 
Join Date: Dec 2000
Posts: 14,385
Looks good. Lets keep the discussion backstage, at least for now.

Maybe, just maybe I might include a spc icon for Koopa
JonnyMac is offline   Reply With Quote
Old 21st May 2010, 05:35   #9
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 545
Yeah, will see if I can make alternate icons pack.

Ps: Dro, is there any method to force Windows Explorer to show icon packs icon on music files with Album Art? Like here:
http://shup.com/Shup/344693/expl.png
I can see only big album art (nice), but would be great, if this little winamp icon could be replaced by icon from icon pack)
-Pawel
Pawel is offline   Reply With Quote
Old 21st May 2010, 07:52   #10
DrO
 
Join Date: Sep 2003
Posts: 27,873
pawel: i've no idea but that looks more likely to be a shell extension in use whereas the plug-in just overrides the DefaultIcon registry key to tell Explorer to look at an ico/dll as required. plus what you're looking for then becomes a version specific change and i'm trying to keep the code as generic as possible for the icon handling as it's been done.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump