[comp.sys.mac.system] What's in an sfil?

ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (05/21/91)

I created a "snd " resource last night, and just for fun I thought I'd
try and make it into an "sfil" file that Finder 7.0 recognizes. This
isn't as straightforward as you might think. The procedure that I
finally came up with is as follows:

* Find an existing "sfil" file to make a copy of, or option-drag
  (i e make a copy of) a sound out of your System file to create one.
* Change the name of the copy to match the name of your new sound.
* Open the renamed sfil with ResEdit. Check the ID of the "snd "
  resource that's already in there. Delete this sound, paste in your
  new sound, and give it the same ID as the old one.

The reason why you can't just create a new resource file, stick a
sound in it, and give it the type "sfil" and creator "movr", seems
to be that there's also an "alis" resource that has to be present.
As I understand it, this is actually an alias record. So what's it
doing there? What, if anything, is it aliasing?

Elucidations gratefully received.

Lawrence D'Oliveiro                       fone: +64-71-562-889
Computer Services Dept                     fax: +64-71-384-066
University of Waikato            electric mail: ldo@waikato.ac.nz
Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
The money saved for a rainy day now buys a smaller umbrella.