Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!cbmvax!carolyn From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga Subject: Re: Better Icons Message-ID: <1778@cbmvax.cbmvax.cbm.UUCP> Date: Tue, 28-Apr-87 12:22:11 EDT Article-I.D.: cbmvax.1778 Posted: Tue Apr 28 12:22:11 1987 Date-Received: Thu, 30-Apr-87 00:53:43 EDT References: <1489@cadovax.UUCP> <66@esunix.UUCP> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 47 In article <66@esunix.UUCP> blgardne@esunix.UUCP (Blaine Gardner) writes: > > Is this possible? Is there some hack that could be done to change the >default disk icon? You can edit the Disk.info with the IconEditor. One warning though. If you copy your new Disk.info to another disk, reboot before trying to reposition the drawers and icons on the disk. Otherwise, some type of system confusion between what's ON the disk and what the foreign Disk.info contains can cause files and drawers to disappear in a puff of smoke when you attempt to re-arrange them. Rebooting and the subsequent loadwb seem to remove the confusion. (That all sounds real technical, eh?) Note that changing a disk's Disk.info will NOT change what picture FORMAT installs on a disk. The plain vanilla disk and trashcan images are hardcoded in the Format command. If you want to play around and you have data for an replacement image of the same size, you could use a hex file editor and change the image bits in Format. I don't have time to look for them but this should help you find them: UWORD diskBits[] = { 0x0000,0x0000,0x3FFC,0x3F00,0x3FFC,0x3FC0,0x3FFC,0x3FF0, (6 more lines of data, then last line:) 0xC000,0x0003,0xC000,0x0003,0xC000,0x0003,0xFFFF,0xFFFF }; UWORD trashCanBits[] = { 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, 0x0000,0x3FFF,0xFFFF,0xFFF0,0x3FFF,0xFFFF,0xFFF0,0x3FFF, (9 more lines of data, then last line:) 0xFFFF,0xFFFC,0xFFFF,0xFFFF,0xFFFC,0x3FFF,0xFFFF,0xFFF0 }; (Note - If you want to convert an Icon you've drawn to hex data, you can use my Icon2C program on one of the recent Fish Disks) > Also, is there some way to tell Format _not_ to put a trashcan icon on >the disk (when run from the WB, I know it's possible from the cli). No. WorkBench wants (and possibly requires) a Trashcan directory. If you initiated the Format from Workbench, it assumes the disk will be used in the Workbench environment and places a Trashcan on it. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=