Command line
The tir command-line tool builds, checks and sends projects without opening the app.
The tir tool builds and checks projects without the app. The installer puts it on your PATH: open
a new terminal after installing. The portable zip holds it too.
Run tir --help for every command.
Start a project
tir recipes list Recipes
tir scenes list Scenes
tir nodes list every node
tir new my.tir --recipe archipelago
tir new my.tir --scene caldera
The names to use after --recipe and --scene are in
Recipes and Scenes.
Build
tir build my.tir --res 2017 --out out
tir snapshot my.tir --out shot.png
| Option | What it does |
|---|---|
--res | The size of the build, in points along one side |
--out | The folder, or for snapshot the file, to write |
--no-layers | Writes the heights only, with no paint layers |
--cpu | Forces the reference code, which gives the same shape |
Send to Unreal
tir push my.tir --res 1009 --fit
tir pull
tir pull-show
See Send to Unreal.
Check lessons
tir lesson-check my.tir
It prints ok or an error for each lesson file. A project with no lessons prints “This project has
no lessons yet.” and exits normally. Add --require to make that an error. See
For teachers.
The assistant
tir ask my.tir "add a sea at 200 m" --apply
tir ai-test
tir ask proposes a change, and makes it when you add --apply. tir ai-test says hello to a
school’s own server and prints the result. See The assistant.
Tír is free and open source under the MIT licence or the Apache License 2.0. Unreal and Unreal Engine are trademarks or registered trademarks of Epic Games, Inc. Tír is not made, endorsed or sponsored by Epic Games.