Hi Steve,
Yes it's rather easy. Let's take an example :
[Login to see the link]
Here we have a folder Lua Project\
that contains all the Lua scripts needed, and a subfolder data\
which contains other files and even subdirectories.
To compile mainscript.lua
(our main Lua script, that will be first executed) with the same files/directory structure we have two possibilites :
Open a console prompt and type the following commands :
cd "D:\Lua Project"
rtc mainscript.lua .
In this case, we go to the root directory of our project and tell rtc
to use the current directory as embedded content (the dot)
Alternatively, you can give fullpaths to rtc
from anywhere :
rtc "D:\Lua Project\mainscript.lua" "D:\Lua Project"