Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: Inits & Boot Time Message-ID: <21392@cup.portal.com> Date: 18 Aug 89 04:03:47 GMT References: <1179@snjsn1.SJ.ATE.SLB.COM> <451@asterix.drev.dnd.ca> <20731@cup.portal.com> <4430@uhccux.uhcc.hawaii.edu> <3516@internal.Apple.COM> Organization: The Portal System (TM) Lines: 27 If you really want to stuff a bunch of INITs into one file, and are worried about resource ID conflicts among the INITs or resources they use, you could write an INIT to resolve these. It would work like this: The Init Packer application would let you choose a bunch of files containing INITs. It stuffs them all into a file. If there are any resource ID conflicts when stuffing the file, it renumbers the conflicting resources. It places an INIT 0 in the file, and it places a resource that tells what resources it had to renumber, and how it renumbered them. You place the file in your System folder and reboot. INIT 0 patches GetResource ( and whatever else uses resource IDs ). The patch to GetResource watches for attempts to get resources that were renumbered and substitutes the correct number. This could be a fun program/INIT to write. Tim Smith