The ability to use custom icons on any file in the Finder was added in System 7.0. For earlier systems, not all icons could be so easily changed. You could of course change the icon of, say, MacPaint by editing the MacPaint application in ResEdit and changing its ICN# resource. Or you could change what Word documents look like by editing Word. But you couldn't individually change the icon for one specific Word document. Of course you also had to rebuild the desktop for this to take effect, and this is a hassle. Changes made to generic icons used by the Finder, like what the Trash or folders look like, can be seen without rebuilding the desktop, since these icons are not stored in the desktop file (since there's no reason to).

Using vMac, I'm not sure how to change the drive icon. I've abandoned vMac in favor of Mini vMac which crashes less and has better sound and a neat pixel-doubled / fullscreen mode. Mini vMac replaces the standard floppy driver with a new one, which has a different icon (standard floppy icon with a "v" on it). This icon is hard-coded into the app.

One way to change it would be by modifying the mydriver.a file in the source code and recompiling, but that would be tedious. The raw icon data is also within the compiled minivmac executable. You could patch in your own icon data there fairly easily. These instructions assume you're running Mini vMac on a Mac. You'd design a new ICN# icon in ResEdit (or open an existing one), then close the resource and open it again in hex view (Resource menu -> Open in Hex Editor). You'd also open a program called HexEdit and use it to open the minivmac executable located inside the minivmac application package in Contents/MacOS. There you'd locate the raw icon data [1] and select it. Back in ResEdit, you'd select all that hex junk and copy it. And you'd switch back to HexEdit and paste. If you've done this correctly and have pasted in exactly as many bytes as you had selected before, then you save, and it should work with the new icon.

I would expect that the floppy disk icon of a real hardware System 6 box (or possibly even non-mini vMac) could be changed by editing ICN# resource ID 129 in the Finder. Hard disk icons are most always in the driver and therefore not changeable except through the formatting utility. The formatting utility may not offer any choice of icon, or it may offer a limited set of ugly icons. If the latter, you may be able to change them by ResEditing the formatter first. The formatter may require you to erase all data on the hard disk (initialize or format it) in order to change the icon.

\r


[1] In the OS X version of Mini vMac 2.5.0 for example, the hex data for the floppy-with-a-V icon starts at offset C83A. This was discovered by opening the mydriver.a file in the source code, copying some of the raw icon data from the lines at the end of the file, and searching for this within the compiled executable.



On 07.01.2005, at 00:28, Eagle wrote:

On Jan 6, 2005, at 17:59, Byron Q. Desnoyers Winmill wrote:
On Thu, Jan 06, 2005 at 05:34:40PM -0500, Eagle wrote:
Is that even possible? I could have sworn the ability to change the
icon of a disk didn't appear until System 7 (although I could be
remembering incorrectly; it's been a while since I fired up the old
SE/30 ...)

Supposedly it's possible, but probably not in vMac...

The icon will either be in the System or Finder as a resource, or in the disk's driver. (If it is in the ROM, you could override it by adding a resource to the System file anyway.)

Explore a bit. You may find the answer. :)

Byron,

Thanks for the suggestion. I downloaded ResEdit 2.1.3 and used that on the Desktop file, System, and Finder. I looked through all of the resources I could find, but still didn't locate the disk icon. I'm going to keep looking, though, because I know it's gotta be there somewhere! :)


--
System6 is sponsored by <http://lowendmac.com/> and...

123Inkjets.com <http://lowendmac.com/ad/123inkjets.html>

     Support Low End Mac <http://lowendmac.com/lists/support.html>

 System 6 Heaven <http://www.euronet.nl/users/mvdk/system_6_heaven.html>

System6 info:           <http://lowendmac.com/lists/system6.html>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:system6@mail.maclaunch.com>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/system6%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to