2015-03-03 16:10:12 -06:00
|
|
|
@echo off
|
2015-05-22 22:47:35 -05:00
|
|
|
cd..
|
2015-05-22 23:04:35 -05:00
|
|
|
|
2015-05-22 23:53:15 -05:00
|
|
|
title Toontown Stride Game Launcher
|
2015-05-22 23:04:35 -05:00
|
|
|
|
|
|
|
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
|
2015-03-03 16:10:12 -06:00
|
|
|
set /P PPYTHON_PATH=<PPYTHON_PATH
|
|
|
|
|
2015-05-22 23:53:15 -05:00
|
|
|
echo Choose your connection method!
|
|
|
|
echo.
|
2015-03-07 16:06:21 -06:00
|
|
|
echo #1 - Localhost
|
2015-05-22 23:53:15 -05:00
|
|
|
echo #2 - Dev Server
|
|
|
|
echo #3 - Custom
|
2015-03-07 16:06:21 -06:00
|
|
|
echo.
|
|
|
|
|
2015-05-22 23:53:15 -05:00
|
|
|
set /P INPUT=Selection:
|
2015-05-22 23:04:35 -05:00
|
|
|
|
2015-05-22 23:53:15 -05:00
|
|
|
if %INPUT%==1 (
|
|
|
|
set TTS_GAMESERVER=127.0.0.1
|
|
|
|
) else if %INPUT%==2 (
|
|
|
|
set TTS_GAMESERVER=167.114.220.172
|
|
|
|
) else if %INPUT%==3 (
|
2015-03-07 16:06:21 -06:00
|
|
|
echo.
|
2015-05-16 20:04:41 -05:00
|
|
|
set /P TTS_GAMESERVER=Gameserver:
|
2015-05-22 23:53:15 -05:00
|
|
|
) else exit
|
|
|
|
|
|
|
|
echo.
|
|
|
|
|
|
|
|
if %INPUT%==2 (
|
|
|
|
set /P ttsUsername="Username: "
|
|
|
|
set /P ttsPassword="Password: "
|
|
|
|
) else (
|
|
|
|
set /P TTS_PLAYCOOKIE=Username:
|
2015-03-07 16:06:21 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
echo.
|
2015-03-03 16:10:12 -06:00
|
|
|
|
|
|
|
echo ===============================
|
2015-05-16 20:04:41 -05:00
|
|
|
echo Starting Toontown Stride...
|
2015-03-03 16:10:12 -06:00
|
|
|
echo ppython: %PPYTHON_PATH%
|
2015-05-22 23:53:15 -05:00
|
|
|
|
|
|
|
if %INPUT%==2 (
|
|
|
|
echo Username: %ttsUsername%
|
|
|
|
) else (
|
|
|
|
echo Username: %TTS_PLAYCOOKIE%
|
|
|
|
)
|
|
|
|
|
2015-05-16 20:04:41 -05:00
|
|
|
echo Gameserver: %TTS_GAMESERVER%
|
2015-03-03 16:10:12 -06:00
|
|
|
echo ===============================
|
|
|
|
|
2015-05-22 23:53:15 -05:00
|
|
|
if %INPUT%==2 (
|
|
|
|
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB
|
|
|
|
) else (
|
|
|
|
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
|
|
|
)
|
|
|
|
|
2015-05-22 22:47:35 -05:00
|
|
|
pause
|