2015-03-03 22:10:12 +00:00
|
|
|
@echo off
|
2015-05-23 04:04:35 +00:00
|
|
|
|
2015-05-23 04:53:15 +00:00
|
|
|
title Toontown Stride Game Launcher
|
2015-05-23 04:04:35 +00:00
|
|
|
|
2015-05-23 04:53:15 +00:00
|
|
|
echo Choose your connection method!
|
|
|
|
echo.
|
2015-03-07 22:06:21 +00:00
|
|
|
echo #1 - Localhost
|
2015-05-23 04:53:15 +00:00
|
|
|
echo #2 - Dev Server
|
|
|
|
echo #3 - Custom
|
2015-06-04 23:59:27 +00:00
|
|
|
echo #4 - Local RemoteDB
|
2015-08-26 21:43:41 +00:00
|
|
|
echo #5 - Prod Server
|
2015-03-07 22:06:21 +00:00
|
|
|
echo.
|
|
|
|
|
2015-05-27 08:22:15 +00:00
|
|
|
:selection
|
|
|
|
|
|
|
|
set INPUT=-1
|
2015-05-23 04:53:15 +00:00
|
|
|
set /P INPUT=Selection:
|
2015-05-23 04:04:35 +00:00
|
|
|
|
2015-05-23 04:53:15 +00:00
|
|
|
if %INPUT%==1 (
|
|
|
|
set TTS_GAMESERVER=127.0.0.1
|
|
|
|
) else if %INPUT%==2 (
|
|
|
|
set TTS_GAMESERVER=167.114.220.172
|
2015-06-04 23:59:27 +00:00
|
|
|
) else if %INPUT%==4 (
|
|
|
|
set TTS_GAMESERVER=127.0.0.1
|
2015-08-26 21:43:41 +00:00
|
|
|
) else if %INPUT%==5 (
|
|
|
|
SET TTS_GAMESERVER=lw2.ez-webz.com:7198
|
2015-05-23 04:53:15 +00:00
|
|
|
) else if %INPUT%==3 (
|
2015-03-07 22:06:21 +00:00
|
|
|
echo.
|
2015-06-05 05:32:41 +00:00
|
|
|
set /P TTS_GAMESERVER=Gameserver:
|
2015-05-27 08:22:15 +00:00
|
|
|
) else (
|
|
|
|
goto selection
|
|
|
|
)
|
2015-05-23 04:53:15 +00:00
|
|
|
|
|
|
|
echo.
|
|
|
|
|
|
|
|
if %INPUT%==2 (
|
|
|
|
set /P ttsUsername="Username: "
|
|
|
|
set /P ttsPassword="Password: "
|
2015-06-04 23:59:27 +00:00
|
|
|
) else if %INPUT%==4 (
|
|
|
|
set /P ttsUsername="Username: "
|
|
|
|
set /P ttsPassword="Password: "
|
2015-05-23 04:53:15 +00:00
|
|
|
) else (
|
|
|
|
set /P TTS_PLAYCOOKIE=Username:
|
2015-03-07 22:06:21 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
echo.
|
2015-03-03 22:10:12 +00:00
|
|
|
|
|
|
|
echo ===============================
|
2015-05-17 01:04:41 +00:00
|
|
|
echo Starting Toontown Stride...
|
2015-06-17 02:59:19 +00:00
|
|
|
echo ppython: "C:\Panda3D-1.10.0\python\ppython.exe"
|
2015-05-23 04:53:15 +00:00
|
|
|
|
|
|
|
if %INPUT%==2 (
|
|
|
|
echo Username: %ttsUsername%
|
2015-06-05 05:32:41 +00:00
|
|
|
) else if %INPUT%==4 (
|
|
|
|
echo Username: %ttsUsername%
|
2015-05-23 04:53:15 +00:00
|
|
|
) else (
|
|
|
|
echo Username: %TTS_PLAYCOOKIE%
|
|
|
|
)
|
|
|
|
|
2015-05-17 01:04:41 +00:00
|
|
|
echo Gameserver: %TTS_GAMESERVER%
|
2015-03-03 22:10:12 +00:00
|
|
|
echo ===============================
|
|
|
|
|
2015-05-29 10:03:48 +00:00
|
|
|
cd ../../
|
|
|
|
|
2015-08-26 21:43:41 +00:00
|
|
|
:main
|
2015-05-23 04:53:15 +00:00
|
|
|
if %INPUT%==2 (
|
2015-07-08 12:15:51 +00:00
|
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStartRemoteDB
|
2015-06-04 23:59:27 +00:00
|
|
|
) else if %INPUT%==4 (
|
2015-07-08 12:15:51 +00:00
|
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStartRemoteDB
|
2015-05-23 04:53:15 +00:00
|
|
|
) else (
|
2015-07-08 12:15:51 +00:00
|
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStart
|
2015-05-23 04:53:15 +00:00
|
|
|
)
|
2015-05-23 03:47:35 +00:00
|
|
|
pause
|
2015-08-26 21:43:41 +00:00
|
|
|
|
|
|
|
goto main
|