Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: RE:QuickLookSHR Date: Mon, 18 May 2015 16:17:02 +0000 (UTC) Organization: Mac GUI Lines: 34 Message-ID: References: <024b886f-3bbe-41bf-b441-233bb0ac64e8@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 18 May 2015 16:17:02 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="20355"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IWQ4m+ZFWmJw3RCVvWjYU" User-Agent: Mac GUI Usenet In-Reply-To: <024b886f-3bbe-41bf-b441-233bb0ac64e8@googlegroups.com> Cancel-Lock: sha1:Xz/cos0FcVyJAae9hPndg/ZeQlY= Xref: csiph.com comp.sys.apple2.programmer:1655 markpmlim wrote: > Hi, > > QuickLookSHK was developed as per request by D Finnigan. It is based on > the > NuFX library developed by Andy Fadden. > > The binary code of QuickLookSHK is bloated because the entire NuFX library > is compiled together with its source code. To get the job done, only > several functions of NuFX library are called. > > There are 3 ways to develop a lean and mean version of QuickLookSHK: > > 1) prune all the unnecessary source code from NuFX Library. > > 2) write a module to extract the necessary information from an SHK > archive. 1 and 2 are good. 1 is good because the NuFX library will change seldomly, I would presume. 2 is good too because you will learn more about the NuFile format. I actually took this route when writing Format Converter for Mac GUI Vault. I just wrote a new implementation based on the specification document. The downside to option 2 is that it'll take more time and you'll have to make all the special case code for wacko-case ShrinkIt archives. If your time is limited, I suggest option 1. -- ]DF$ The Marina IP stack for Apple II-- http://marina.a2hq.com/