Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: golem 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.
-
"Disk.info" should be in the root directory of any disk.....
-
"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.
-
Thank you. I found it on the Install3.1 disk under the folder Update.
-
"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
-
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.
-
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
-
I believe those arrived during OS 4.x some time.
No, DefIcons could do this from the beginning.
-
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?
-
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.)