Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!dog.ee.lbl.gov!nosc!crash!pnet01!pro-sol.cts.com!mdavis From: mdavis@pro-sol.cts.com (Morgan Davis) Newsgroups: comp.sys.mac.programmer Subject: Desktop DB Reading Message-ID: <1991May28.033653.14287@crash.cts.com> Date: 28 May 91 03:36:53 GMT Sender: root@crash.cts.com Organization: Crash TimeSharing, El Cajon, CA Lines: 17 Has anyone figured out the format of the Desktop DB file and how it could be used by applications to access the icon data stored in Desktop DF? In the olden days, the DesktopMgr init used a simple icon storage technique. The DesktopDF contains 512-byte records, each containing two 256-byte fields. The first field is the b/w icon image, and the second field is its mask. Under System 7, the new DF format is more like a pile of icons information, in no set order. The DB file, obviously, includes pointers into the DF file so that the Finder knows what a file's icon should be when it draws out a folder window. The DB file is a special tree format, I know. But I can't glean much from looking at its raw data. Anyone else figured it out? UUCP: crash!pro-sol!mdavis AOL, BIX: mdavis ARPA: crash!pro-sol!mdavis@nosc.mil GEnie: m.davis42 INET: mdavis@pro-sol.cts.com ProLine: mdavis@pro-sol