
Easy Spring
By:
fdge on
Apr 16th, 2012 | syntax:
DOS | size: 1.08 KB | hits: 31 | expires: Never
@ECHO Off
@CLS
:TOP
@SET THISDIR=%~dp0
@SET WORKDIR=%THISDIR:~0,-1%
@REM The Following line needs to be set to the directory path of "springlobby.exe"; without the trailing "\".
@SET SPRINGDIR=%WORKDIR%
IF NOT EXIST "%SPRINGDIR%\pool" (
START "pinning Zero-K" /WAIT /HIGH /MAX /D"%SPRINGDIR%" "rapid\rapid.exe" pin zk:stable zk:test
)
IF NOT EXIST "%SPRINGDIR%\rapid\main.cfg" (
echo [tags]>"%SPRINGDIR%\rapid\main.cfg"
echo pinned = zk:stable,zk:test>>"%SPRINGDIR%\rapid\main.cfg"
echo. >>"%SPRINGDIR%\rapid\main.cfg"
)
@REM Use steam or not.
::@SET Lobby=steam://rungameid/16323893729632976896
IF EXIST "%SPRINGDIR%\TASClient.exe.n" (
SET Lobby=%SPRINGDIR%\TASClient.exe
) ELSE (
SET Lobby=%SPRINGDIR%\springlobby.exe
)
@REM the following two lines will update pinned items and remove files that are no longer needed
START "Upgrading Pinned items" /WAIT /HIGH /MAX /D"%SPRINGDIR%" "rapid\rapid.exe" clean-upgrade
START "performing clean-up" /WAIT /HIGH /MAX /D"%SPRINGDIR%" "rapid\rapid.exe" collect-pool
@START "Starting Lobby" "%Lobby%"
:QUIT
EXIT