-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectLocalTest(VR).bat
More file actions
32 lines (24 loc) · 1.07 KB
/
DirectLocalTest(VR).bat
File metadata and controls
32 lines (24 loc) · 1.07 KB
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
@echo off
echo [---------------------------]
echo [-VRChat-LocalTest-Launcher-]
echo [-Author---Extr3lackLiu-----]
echo [---------------------------]
REM string randomDigits = Tools.GetRandomDigits(10);
REM string text4 = "--url=create?roomId=" + randomDigits + "&hidden=true&name=BuildAndRun&url=file:///" + text;
set /a "randomid_a=10000+%random%"
set /a "randomid_b=10000+%random%"
set "randomid=%randomid_a%%randomid_b%"
set /p customid=Custom roomId(10 bits)(leave blank = random):
if not "%customid%"=="" (
set "randomid=%customid%"
)
dir /s /b *.vrcw > temp.txt
set /p path=<temp.txt
del temp.txt
set GameDir="F:\SteamLibrary\steamapps\common\VRChat\"
set GameExe="F:\SteamLibrary\steamapps\common\VRChat\VRChat.exe"
set /p ClientCount=Amount of Clients to create(leave blank = 1):
if "%ClientCount%"=="" set ClientCount=1
for /l %%i in (1, 1, %ClientCount%) do (
start "" /D %GameDir% "%GameDir%VRChat.exe" "--url=create?roomId=%randomid%&hidden=true&name=BuildAndRun&url=file:///%path%" --enable-debug-gui --enable-sdk-log-levels --enable-udon-debug-logging --watch-worlds
)