23 lines
991 B
Batchfile
23 lines
991 B
Batchfile
|
@echo off
|
||
|
SETLOCAL ENABLEDELAYEDEXPANSION
|
||
|
set ExcName="None"
|
||
|
for /f %%i in ('dir %cd% /a:D /b') do (
|
||
|
if exist %%i/Engine (if exist %%i/*.exe (
|
||
|
set ExcName=%%i
|
||
|
goto :FindDir
|
||
|
)))
|
||
|
echo Not Find ExePath....
|
||
|
pause
|
||
|
goto :Exit
|
||
|
:FindDir
|
||
|
for /f %%i in ('dir %cd%\%ExcName%\*.exe /b') do (
|
||
|
set ExcName=%ExcName%/%%i
|
||
|
goto :FindExeFile
|
||
|
)
|
||
|
echo Not Find ExeFile....
|
||
|
pause
|
||
|
goto :Exit
|
||
|
:FindExeFile
|
||
|
|
||
|
|
||
|
cmd.exe /c Start %ExcName% ?listen -PC0=CAVE_Front -PC1=CAVE_Down -PC2=CAVE_Up -PC3=CAVE_Right -PC4=CAVE_Left -IsClusterMaster -ConfigFile=CAVE-AK.ini -SplitScreen={0.5294117647058824_0.5789473684210526_0_0}{0.4701286764705882_0.4210526315789474_0_0.5789473684210526}{0.4701286764705882_0.4210526315789474_0.4701286764705882_0.5789473684210526}{0.2352941176470588_0.5789473684210526_0.5294117647058824_0}{0.2352941176470588_0.5789473684210526_0.7647058823529412_0} -ResX=4352 -ResY=2432 -WinX=0 -WinY=0 -vsync -LockFPS=60 -execcmds="scalability 4, r.shadow.MaxCSMResolution 2048, r.Streaming.PoolSize 4000"
|