-
Notifications
You must be signed in to change notification settings - Fork 0
/
sparta-metal-lab.lua
39 lines (34 loc) · 1.47 KB
/
sparta-metal-lab.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
SPARTA_ROOT = "SPARTA-20131029"
-- This is up here instead of inline in fillTemplate
-- so the batch files don't start with a bunch of tabs on
-- each line.
template = [[
pushd "%~dp0"
cd "{SPARTA_ROOT}"
bin\sparta.exe {argString}
pause
]]
launchers = {
filename = "SPARTA %s.cmd";
fillTemplate = function(argString)
local result = template:gsub("{SPARTA_ROOT}", SPARTA_ROOT):gsub("{argString}", argString)
return result
end;
options = {
{
["Adam Factory"] = [[../spartaFactoryModel/Factory/loadIntoSparta.lua]];
["SPARTA Factory"] = "";
};
{
["U-bracket with Switchable Bubble Nav"] = [[../sparta-scripts-and-models/FullDemos/wand-metal-demo.lua --jconf s:/jconf30/mixins/METaL.treetarget.aswand.jconf --jconf s:/jconf30/mixins/METaL.wiimotewandbuttons.jconf ]];
["U-bracket with Virtuose in Bubble"] = [[../sparta-scripts-and-models/FullDemos/haption-metal-demo.lua]];
["U-bracket with Virtuose on Mobile Robot"] = [[ --jconf s:/jconf30/mixins/METaL.handtarget.ashaptionbase.jconf --code "dofile [=[../sparta-scripts-and-models/FullDemos/VirtuoseOnRobotDemo.lua]=]" ]];
["Virtuose on Mobile Robot - No Models"] = [[ --jconf s:/jconf30/mixins/METaL.handtarget.ashaptionbase.jconf --code "dofile [=[../sparta-scripts-and-models/Devices/METaL Haption on Robot.lua]=]" ]];
};
{
stereo = "--jconf s:/jconf30/METaL.tracked.stereo.reordered.jconf";
mono = "--jconf s:/jconf30/METaL.tracked.mono.reordered.jconf";
};
};
}
require "generator-shared" (launchers)