Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!bionet!agate!garnet.berkeley.edu!deadman From: deadman@garnet.berkeley.edu (Ben Haller) Newsgroups: comp.sys.mac.programmer Subject: Re: compressed resources Message-ID: <1991Mar24.122807.18625@agate.berkeley.edu> Date: 24 Mar 91 12:28:07 GMT References: <222@hermix.UUCP> <12678@goofy.Apple.COM> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: Stick Software Lines: 24 In article <12678@goofy.Apple.COM> Greg@AppleLink.Apple.Com (Greg Marriott) writes: >In article <222@hermix.UUCP>, lance@hermix.UUCP (Lance Ellinghouse) writes: >> Is there a way for us developers to create compressed resources >> under System 7.0? I have a HUGE (125K now and soon MUCH more >> to be added) string resource. I would love to be able to >> compress this on the disk and have it uncompressed at usage time. >Sorry, but the answer is no. >The reason is...the way decompression is implemented in 7.0... >We are working on a more "complete" solution, one which we will feel >drop of a hat. Of course, you have the alternative of using your own compression/decompression code. I'm afraid this sounds like an advertisement, but I have code available that does LZW decompression and compression of individual resources. I use the code to great advantage in my game Solarian II (~740K compressed, ~1100K uncompressed). The source is available for $25 from me at: Stick Software c/o Ben Haller 32 Deer Haven Dr. Ithaca, N.Y. 14850 -Ben Haller (deadman@garnet.berkeley.edu)