Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
13th May 2011, 01:05 | #41 | Link |
*****
Join Date: Feb 2005
Posts: 5,643
|
You can significantly reduce the size of the DLL by modifying the icons to only include sizes/colordepths that are actually used by Windows. Enabling PNG compression also helps a lot.
Useful sizes are: 256x256 (XP colors) 48x48 (XP colors) 32x32 (XP colors) 32x32 (256 colors) 16x16 (XP colors) 16x16 (256 colors) With this you can fit 40+ icons in less than 2 MB!
__________________
MPC-HC 2.1.7.2 |
14th May 2011, 15:28 | #42 | Link | ||
quack quack
Join Date: Apr 2009
Posts: 259
|
Quote:
Quote:
Next icon pack will just have the sizes 256, 48, 32, 16px. I've made a couple more tweaks and cosmetic changes too. The DLL file is almost ready. |
||
14th May 2011, 16:27 | #43 | Link | |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Quote:
Below are the extension icon's I have done, If you see a mistake or one missing please let me know. Code:
if(ext.CompareNoCase(_T(".3g2")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".3gp")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".3gp2")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".3gpp")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".aac")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".ac3")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".aif")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".aifc")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".aiff")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".alac")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".amr")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".amv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ape")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".apl")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".asf")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".asx")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".au")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".avi")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".bdmv")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".bik")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".cda")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".d2v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".dat")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".divx")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".dsa")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".dsm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".dss")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".dsv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".dts")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".evo")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".f4v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".flac")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".flc")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".fli")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".flic")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".flv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".hdmov")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".iflv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ifo")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ivf")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".m1a")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".m1v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".m2a")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".m2p")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".m2t")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".m2ts")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".m2v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".m3u")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".m4a")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".m4b")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".m4v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mid")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".midi")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".mka")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".mkv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mov")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mp2")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".mp2v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mp3")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".mp4")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mp4v")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mpa")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".mpc")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".mpcpl")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".mpe")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mpeg")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mpg")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mpls")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".mpv2")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mpv4")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".mts")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ofr")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".ofs")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".oga")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".ogg")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".ogm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ogv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".pls")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".pva")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ra")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".ram")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ratdvd")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".rm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".rmi")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".rmm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".rmvb")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".rp")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".rpm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".rt")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".smi")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".smil")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".smk")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".snd")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".swf")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".tp")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".trp")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".ts")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".tta")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".vob")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".wav")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".wax")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".webm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".wm")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".wma")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".wmp")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".wmv")) == 0) { iconindex = IDI_VIDEO_ICON; }else if(ext.CompareNoCase(_T(".wmx")) == 0) { iconindex = IDI_PLAYLIST_ICON; }else if(ext.CompareNoCase(_T(".wv")) == 0) { iconindex = IDI_AUDIO_ICON; }else if(ext.CompareNoCase(_T(".wvx")) == 0) { iconindex = IDI_PLAYLIST_ICON;
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) Last edited by VipZ; 14th May 2011 at 17:53. |
|
14th May 2011, 20:45 | #44 | Link |
quack quack
Join Date: Apr 2009
Posts: 259
|
Normal version preview...
Download from here: http://davidm147.deviantart.com/art/...rary-208825230 Glowing look version preview... Download from here: http://davidm147.deviantart.com/art/...wing-208826509 Last edited by mr.duck; 14th May 2011 at 20:48. |
14th May 2011, 22:34 | #45 | Link | |
Registered User
Join Date: Nov 2009
Posts: 2,352
|
Quote:
I was just trying to help. BE edition already does this. Its a bit contradictory trying to make shiny icons and then recommend an old fashioned file manager (not discussing is bad but...)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
15th May 2011, 01:26 | #46 | Link | |
quack quack
Join Date: Apr 2009
Posts: 259
|
Quote:
I did try different colors. The closest one I was almost happy with was a greeny color. But since all the media files are handled by the same program, it makes sense that the logo on the icons are the same too. |
|
16th May 2011, 07:43 | #48 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
no, and i would guess a lot of this magic is due to some native osx components.
p.s. and exuse me ignorance, but what are format/file icons used for this days? (i suppose most of the modern desktops would generate actual media thumbnails?) Last edited by smok3; 16th May 2011 at 07:47. |
16th May 2011, 08:10 | #49 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,343
|
Not everyone likes the thumbnail view
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
16th May 2011, 09:57 | #50 | Link | |
User of free A/V tools
Join Date: Jul 2006
Location: SK
Posts: 826
|
Quote:
Please do world a favour and start using switch() { case: } statements instead. The code will be far more readable, less error-prone and easier to maintain for everyone. |
|
16th May 2011, 11:18 | #51 | Link |
Registered User
Join Date: Oct 2010
Location: The Netherlands
Posts: 1,083
|
If a case-set is used to resolve a single variable, use a compact case-set:
Code:
iconindex = (ext.CompareNoCase(_T(".3g2") == 0)? IDI_VIDEO_ICON : (ext.CompareNoCase(_T(".3gp")) == 0)? IDI_VIDEO_ICON : (ext.CompareNoCase(_T(".3gp2") == 0)? IDI_VIDEO_ICON : IDI_???_ICON;// the last item doesn't have an evaluator, but can often use a comment to clarify why this item is the last option If possible, resolve some more math: Code:
iconindex = (!ext.CompareNoCase(_T(".3g2")) || !ext.CompareNoCase(_T(".3gp")) || !ext.CompareNoCase(_T(".3gp2")))? IDI_VIDEO_ICON : IDI_???_ICON;
__________________
development folder, containing MPC-HC experimental tester builds, pixel shaders and more: http://www.mediafire.com/?xwsoo403c53hv |
21st May 2011, 10:36 | #53 | Link | |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Quote:
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
|
21st May 2011, 13:48 | #54 | Link | |
Virtual_ManPL
Join Date: Sep 2009
Posts: 170
|
Quote:
Nope, clapperboard is identified with film industry. Film stock is analog, but not clapperboard. t's only tool used before recording. So can you create icon pack with clapperboard ? |
|
21st May 2011, 14:32 | #55 | Link |
quack quack
Join Date: Apr 2009
Posts: 259
|
Identified with the film industry, not with media playerback software then
As you say, it is a production tool. So it would be more suited to a video editor maybe. The icon needs to be unique and recognisable to that specific program. Who says it has to make sense? Firefox makes no sense for an internet browser. Or how about foobar2000... they use an alien cat head thing for their logo. It works. |
21st May 2011, 15:55 | #56 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
mr.duck, in case of firefox it must be a story about registered names (i think it was firetruck before, just kidding). with foobar it's about developer having a cat, so no it doesn't make sense in a general view. for players i find filmroll http://radio.ubbcluj.ro/ro/wp-conten...-film_roll.jpg to have some sense, if you need to have a retro-look...
|
21st May 2011, 18:07 | #57 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Hey guys.
First of i want to say that i think mr. duck's icons look very nice, although personally I'm still getting used to the whole equalizer. Now on the discussion being had right now. Virtual_ManPL is asking if mr.duck could make a 2nd version of his iconpack, using the same style and colors, but based on a clapper instead of the equalizer. I think its clear that mr.duck personally does not really like this and does not want to spend any time creating it (if I'm wrong, please do go ahead and make it)
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC |
21st May 2011, 20:42 | #59 | Link |
quack quack
Join Date: Apr 2009
Posts: 259
|
I am slightly surprised by the amount of people that think it looks like an equalizer and appear to not already recognise the logo.
But I did think that this was the default logo already. I typically see it several times a day if I watch any TV or videos. The logo concept was copied from MPC-HC itself... So I was not expecting anyone to have to get used to a new logo/icon for the media files so much. Yes, I don't really like the idea of doing a capplerboard logo. I wanted the same logo for all the files. If I could make a clapperboard logo in the same style and colors as the 'equalizer' logo then I would try. But I would not say I am an artist, so the chance of that happening looks low at best right now. |
Tags |
gui, mpc-hc |
Thread Tools | Search this Thread |
Display Modes | |
|
|