In order to gather some info with which to perhaps tidy up the T3 documentation, I thought I’d try installing FrobTADS on my Mac and document the process. I’ve run into a couple of things that I don’t understand. Hopin’ someone can put me in the picture…
Rather than open a Terminal window and type “t3make -d -f TestGame” every time, I created a .command file, TestGame.command, which contains that text. When I do this with Inform 6, double-clicking the .command file opens a Terminal window and runs the compiler, easy as you please.
But when I do this with my new TestGame.command for TADS, Finder pops up an alert box that complains, “The file TestGame.command” could not be executed because you do not have the appropriate access privileges. To view or change access privileges, select the file in the finder and choose File > Get Info." Okay, I can fix that. Except … fixing it doesn’t work. I change the access privileges so that everyone is read/write, and I get the same error message as before.
Conversely, when I copy a TestGame.command file over from the Inform 6 Games directory and change its text to the t3make command, I don’t get the error message. This .command file runs. And its access privileges are actually more restrictive than those of the file that won’t run. I’d sure like to know what’s going on here, because I’d like to tell new users how to do it if they don’t have a properly set up .command file to start with, but are creating one from scratch.
But wait – there’s more.
Now that I have a .command file that (mysteriously) runs, I double-click it and the Terminal window says, "error: unable to read option file “TestGame.t3m”. I get this same message if I type the text in the .command file manually at the Terminal prompt. But that file is certainly present in the same directory with TestGame.command. There’s no typo in the filename. And it contains exactly the text given in the Getting Started Guide. Well, almost. There seems to be a typo in that text. It says -omygame.t3. It should probably have a space after the -o flag. But adding or removing that space makes no difference. I get the same error message. In any case, the error message isn’t about a problem within the file. The error message says it can’t read the file.
I’ve tried closing the .t3m file in my text editor, just on the off-chance the text editor was hanging onto it and refused to let anybody else touch it. That doesn’t help. I tried adding the #include for adv3.h, which is omitted from the GSG instructions, to TestGame.t. That doesn’t help either.
Setting up FrobTADS is easy, I’m sure – once you know what you’re doing. Can anyone help me troubleshoot this stuff so I can document the steps? Thanks hugely!