Welcome, Guest. Please login or register.

Author Topic: OS3.1 hard disk volume icon  (Read 3583 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline golemTopic starter

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 430
    • Show only replies by golem
OS3.1 hard disk volume icon
« on: March 10, 2019, 12:05:08 AM »
Where is the icon .info located on the 3.1 install floppy disks please? When I reinstalled my Workbench my partitions have the floppy disk icon rather than the nice hard disk icon they used to have.
                                                             
A1200 desktop, Blizzard 1260, OS3.9BB2, Indivision Mk II, SCSI Jaz, Ethernet
A1200 desktop, Blizzard 1230, OS3.1, Ethernet
A500, OS1.3
 

Offline pyrre

Re: OS3.1 hard disk volume icon
« Reply #1 on: March 10, 2019, 12:31:58 AM »
"Disk.info" should be in the root directory of any disk.....
Amiga 1200 Tower Os 3.9
BPPC 603e+ 040-25/200, 256MBram, BVIsionPPC, Indivision AGA MK2.
Amiga 2000 (rev 4.0) Os 1.2/1.3
2088 bridgeboard, 2MB ram card, 2091 SCSI.
Amiga 500+ Os 2.1
Derringer 030, 32MBram, Buddha in sidecar, Indivision ECS.
Amiga CD32
Video decoder
 

Offline paul1981

Re: OS3.1 hard disk volume icon
« Reply #2 on: March 10, 2019, 01:17:21 PM »
"Disk.info" should be in the root directory of any disk.....

He means the white rectangular hard disk icon. It could be anywhere on the disk, it might even be created via some C command used in the install / prep hd scripts.
« Last Edit: March 12, 2019, 01:44:14 PM by paul1981 »
 

Offline golemTopic starter

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 430
    • Show only replies by golem
Re: OS3.1 hard disk volume icon
« Reply #3 on: March 10, 2019, 01:21:57 PM »
Thank you. I found it on the Install3.1 disk under the folder Update.
                                                             
A1200 desktop, Blizzard 1260, OS3.9BB2, Indivision Mk II, SCSI Jaz, Ethernet
A1200 desktop, Blizzard 1230, OS3.1, Ethernet
A500, OS1.3
 

Offline nbache

Re: OS3.1 hard disk volume icon
« Reply #4 on: March 10, 2019, 02:06:36 PM »
"Disk.info" should be in the root directory of any disk.....
He mans the white rectangular hard disk icon. It could be anywhere on the disk, it might even be created via some C command used in the install / prep hd scripts.
A disk icon should always be named Disk.info and reside in the root of the disk in question. It can contain any image you want. So if you have an icon resembling a hard disk, you can rename it to Disk.info, make sure its type is DISK, and put it in the root of the volume. Then it should display on your next boot.

If you don't have any Disk.info in the root of a disk, it will (normally) just use the default floppy icon. (Under OS4, there are some extra defaulting mechanisms, so you can assign a deficon based on the device name etc., but that's not relevant here.)

Best regards,

Niels
 

Offline Thomas

Re: OS3.1 hard disk volume icon
« Reply #5 on: March 11, 2019, 01:07:46 PM »
Under OS4, there are some extra defaulting mechanisms

The idea is not so new. Already since Kick 2.0 you can override some default icons by placing them in Envarc:sys:

def_disk.info
def_drawer.info
def_tool.info
def_project.info
def_trashcan.info
def_kick.info

And the extension called DefIcons was made for OS 3.1 by the NewIcons author. It was later taken over into OS 3.5 as an official interface rather than the hack it was before.

Offline nbache

Re: OS3.1 hard disk volume icon
« Reply #6 on: March 11, 2019, 10:09:20 PM »
Under OS4, there are some extra defaulting mechanisms

The idea is not so new. Already since Kick 2.0 you can override some default icons by placing them in Envarc:sys:

def_disk.info
def_drawer.info
def_tool.info
def_project.info
def_trashcan.info
def_kick.info
Yes, I know. But I was referring to the possibility of having separate def_ icons for each device name.

For instance, I have def_CD0.info (and def_CD1.info etc.), def_DF0.info, def_SMBFS0.info (for my "HomeDisk" NAS, with an image of a networked disk with a house on top ;-)) and many others.

I believe those arrived during OS 4.x some time.

Best regards,

Niels
 

Offline Thomas

Re: OS3.1 hard disk volume icon
« Reply #7 on: March 12, 2019, 07:39:35 AM »
I believe those arrived during OS 4.x some time.

No, DefIcons could do this from the beginning.

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: OS3.1 hard disk volume icon
« Reply #8 on: March 13, 2019, 02:00:05 PM »
I believe those arrived during OS 4.x some time.

No, DefIcons could do this from the beginning.

Really?  Other people seemed to be able to do this, too.  I was always frustrated with the limited 6 items that were there.

So, does one simply create new default icons, for say def_CD1.info or def_Zip1.info, etc. and copy them to Envarc.sys?   Can this work for def_sound.info, def_pic.info, def_IFF.info?

 

Offline Thomas

Re: OS3.1 hard disk volume icon
« Reply #9 on: March 13, 2019, 02:08:04 PM »
Really?

There is a file called deficons.prefs in env: resp. envarc: which defines all recognised file types. It's a binary file but its structure is documented in the NewIcons developer docs. OS 3.9 contains an editor for the file which allows do define new file types.

For each recognised file type you can create a def_<filetype>.info in envarc:sys to override the default icon.

For drives you can use def_<drivename>.info or def_<volumename>.info in OS 3.5+ or def_<drivename>disk.info in OS 3.1 (for example def_RAMdisk.info).


(Note: I wrote all this from memory, so no guarantee that every aspect is correct. If you want the definite truth, you should RTFM.)
« Last Edit: March 13, 2019, 02:10:34 PM by Thomas »