-
Download the TADS 3 Author's Kit from the official website. If needed, select the folder where you want to install it.
-
Install vscode-tads3tools from VSCode's Marketplace. It's set up for Mac users, so you'll need to do some tweaking to make it work on Windows.
-
Add the Program Files folder for TADS 3 into your Path environment variables
a. Type "Edit the System Environment Variables" into the Start menu search.
b. The System Properties window should pop up and you'll see a button at the bottom that says "Environment Variables". Click it.
c. Scroll down the User variables list until you find the "Path" variable. Click Edit.
d. At the end of the list, click Edit and add the folder where you installed the TADS 3 workbench into the Path. Mine looks like this:
C:\Program Files (x86)\TADS 3\.e. Click OK > OK > OK to exit out of all the windows and save your work.
-
Go to VSCode's Extensions tab and click the vscode-tads3tools Extension. Click the little gear icon to go to the extension's settings.
Make sure these are the same for both the User and Workspace!
t3make
[folder where you installed the TADS 3 workbench]\lib\adv3
Note: You need to install Adv3Lite first if you want to use it! Download here and put it in the folder where you installed the TADS 3 workbench within the \lib folder.
[folder where you installed the TADS 3 workbench]\lib\adv3Lite
Fill this out if you want to have the game run in your terminal.
t3run.exe -plain
[folder where you installed the TADS 3 workbench]\include
[folder where you installed the TADS 3 workbench]\lib
-
Go to the search bar at the top of VSCode and type
> Edits: Tads3 command: Create a new Tads3 template project -
Select your project folder (needs to be empty!) and then decide whether you want to use Adv3 or Adv3Lite from the dropdown.
-
The library files (depending on if you chose Adv3 or Adv3Lite) will be generated in
/objwithin the folder, and you'll also seegameMain.t,GameInfo.txtandMakefile.t3m. Save thegameMain.tfile right away, even if you haven't edited it yet! Otherwise you'll get an error saying it doesn't exist. -
Type
t3makeinto the terminal. It will compile the library andgameMain.tfiles into playable TADS 3 games! The file should automatically compile and run in the terminal. Every time you save, it will recompile.
Note: The default behavior is to restart the game whenever the code is recompiled. You can turn this off in the settings:
Uncheck the box.