I know it does work, I just meant that it's not as straightforwrd as with MC (perhaps I should rephrase this to be more accurate... hmm...). In fact, this very introduction tutorial used to have a section describing how to do just that, but it's probably too convoluted and error-prone for the beginner so I deprecated it and replaced it by my blank plug-in.
Heh, in fact I still have it as well as the screenshots:
View PostZacha Pedro, on May 11 2005, 06:24 PM, said:
These are the deprecated instructions for generating an empty plug-in by hand, kept for informational purposes only. Might be useful in cases the empty plug-in can't be included.
Indeed, your file is not a plug-in yet: if you check it in the Finder, it has the appearance of a ResEdit document (actually, it IS a ResEdit document), and Nova will not see it as a plug-in and won't load it. Therefore, you need to modify the file so that it's actualy a plug-in. To do this, you have to go back to your plug-in in ResEdit, and choose "File -> Get info for <plugname>". This will open this window:
GI_Type_Crea_.png
In this window, we're interested in two things: the Type and the Creator fields. These are two 4-char codes (usually hidden to the user). The Type field identifies the kind of file, and its format: a Quick Time movie, a raw text document, a JPEG picture, an aiff sound, an MP3 music file, etc..., all have an unique Type code. Here, rsrc tells it is a simple resource file. The Creator field identifies which application this file belongs to (mainly setting which application will open the file when the user double-clicks it, allowing documents of the same kind to be opened by default by the different applications that created them), usually the application that created it; here RSED identifies ResEdit indeed. Combined, they allow the Finder to know which icon to give to the document, for instance.
For your new file to be considered a Nova plug-in, you need to set the Type field to Npďf (capitalisation and inflexion DO matter), and the Creator field to Növä (capitalisation and inflexion DO matter):
GI2.png
Now close this window, and confirm the save. Now, if you refresh the icon of your plug-in in the Finder (selecting it, reopening the window, or waiting for a few seconds, usually works), it should now sport the apperance of a Nova plug-in (a black square with tools on it). If it doesn't, get info in ResEdit for your plug-in anew and double-check the two fields you modified.
In order not to have to do this again for each plug-in you'll do, copy your file which is now a real plug-in, strip the copy from its resource (i.e. open it with ResEdit, select the resource, hit delete, and save), and rename it "Blank Plug", you will only need to copy this to have a new virgin plug in the future.
Attached File(s)