-
Notifications
You must be signed in to change notification settings - Fork 0
/
vrjugglua-metal-lab.lua
33 lines (29 loc) · 1.02 KB
/
vrjugglua-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
VRJUGGLUA_ROOT = [[V:\Applications\vrjugglua\windows-snapshot\bin\NavTestbed.exe]]
-- 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"
{VRJUGGLUA_ROOT} {argString}
pause
]]
launchers = {
filename = "VRJuggLua %s.cmd";
fillTemplate = function(argString)
local result = template:gsub("{VRJUGGLUA_ROOT}", VRJUGGLUA_ROOT):gsub("{argString}", argString)
return result
end;
options = {
{
["Adam Factory Navigation Only"] = [[S:/DEMOS/spartaFactoryModel/Factory/standalone_main.lua]];
["Adam Factory Forklift Driving"] = [[S:\DEMOS\adam-factory\Factory\standalone_main.lua]];
["Virtually Magic"] = [[S:/DEMOS/virtually-magic/Scripts/magicmain.lua]];
["Virtual METaL"] = [[S:/DEMOS/Virtual-METaL/main.lua]];
};
{
stereo = [[--jconf S:/jconf30/METaL.tracked.stereo.reordered.withwand.jconf]];
mono = [[--jconf S:/jconf30/METaL.tracked.mono.reordered.withwand.jconf]];
};
};
}
require "generator-shared" (launchers)