|
Rockbox mail archiveSubject: Re: Re: Icon for your Archos!Re: Re: Icon for your Archos!
From: Mat Holton <mathew.holton_at_surface-inspection.com>
Date: Tue, 18 Jan 2005 11:46:11 +0000 Thanks for that joerch, i'll have a fiddle with that. If I'm succesfull, i'll let you'all know how windows copes with loads of icons. One other thing, do you know where windows caches the icons? I assume it does this as I managed to knacker one of my folders by attempting to set a.jpg to it, and i can't change the icon it uses now! thanks again, mat -----Original Message-----From: joerch.net_at_web.de <joerch.net_at_web.de>To: rockbox_at_rockbox.org <rockbox_at_rockbox.org>Sent: 18/01/2005 11:26Subject: Re: Icon for your Archos!>>That is really cool. Do you know a) if there's a way of automatically creating the desktop.ini files (using an image, I already have in the dir (of the same name))? and b) if there is (much) drain on resources having all those different icons for folders? ......... Hi Mat, I understand... you want have your album covers as icons for every folder... b) i hadn't tested thizz with many icons, try it out if windows gets soft knees... a) i'm not a script or whatever guru, but try this batch: makeico.bat: ......... _at_echo off attrib +S "%1" cd "%1" echo [.ShellClassInfo]>desktop.ini echo ConfirmFileOp=0 >>desktop.ini echo IconIndex=0 >>desktop.ini echo IconFile="%1.bmp" >>desktop.ini attrib +H desktop.ini ........ the line iconindex is not really neccessary here, only if you want to extract icons from exe or dll files as folder icon. run it in the directory were myfolder exists with makeico myfolder it does: -change the folder attribute to system -creates a desktop.ini and fill with constant strings -add a line with variable string. make sure there exists an icon-file named myfolder.bmp. now you must do some for /R stuff to scan the whole drive recursively. By the way: an good commandline tool is included in xnview (free) its called nconvert. with nconvert.exe -quiet -colors 256 -resize 64 64 -rtype linear -out bmp "%1" you can convert nearly all images to bmp /ico or whatever. hope that helps a little... Joerch __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox "Time is an illusion. Lunchtime doubly so!" -- Douglas Adams Surface Inspection Ltd www.surface-inspection.com _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox Received on 2005-01-18 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |