🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #25126

Re: Changing the Hard Disk Icon?

#25126
From: ephraim vishniac
Date: Tue, 16 Feb 1988 16:19
30 lines
1939 bytes
In article <322@esquire.UUCP> sbb@esquire.UUCP (Stephen B. Baumgarten) writes:
>In article <46700007@uxf.cso.uiuc.edu> thompson@uxf.cso.uiuc.edu writes:
>>I have found the icons for the trash can, the "generic document", the folder,
>> and just about everything else on the Mac, but cannot find the icon
>> for the hard disk.
>>
>>Where is it, and how can I change it?
>
>The icon is actually stored in the driver for the disk (so you can forget about
>using ResEdit to change it -- although in theory it should be possible to
>change).  So... I hope you like your disk icon.  :-)

It's not *that* difficult!  The icon has the same format as an ICN#
resource, though it's not stored as a separate resource.  It's not too
hard to find using ResEdit, as it's immediately followed by the
"Where:" string for the drive.

To replace it, make a new ICN# using ResEdit.  Close that ICN#, then
option-open it again so that you're looking at the hex representation.
Paste that in place of the exact same number of bytes in the driver,
where you've located the old icon by looking for the "Where:" string.
Then, use your modified installer to re-install the driver on your
hard disk.

Since this is a moderately hazardous procedure (not difficult, just
dangerous), be sure to modify a *copy* of your installer, and run it
on a scratch hard disk :-).

Ephraim Vishniac					  ephraim@think.com
Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214
Technical Details
Message-ID: <16836@think.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!ima!think!ephraim
References: <46700007@uxf.cso.uiuc.edu> <322@esquire.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!ima!think!ephraim
From: ephraim@think.COM (ephraim vishniac)
Newsgroups: comp.sys.mac
Subject: Re: Changing the Hard Disk Icon?
Message-ID: <16836@think.UUCP>
Date: 16 Feb 88 16:19:27 GMT
References: <46700007@uxf.cso.uiuc.edu> <322@esquire.UUCP>
Sender: usenet@think.UUCP
Reply-To: ephraim@vidar.think.com.UUCP (ephraim vishniac)
Organization: Thinking Machines Corporation, Cambridge, MA
Lines: 30