Poodletooth-iLand/dev/win32/start-game.bat

61 lines
1 KiB
Batchfile
Raw Normal View History

2015-03-03 22:10:12 +00:00
@echo off
title Toontown Stride Game Launcher
echo Choose your connection method!
echo.
2015-03-07 22:06:21 +00:00
echo #1 - Localhost
echo #2 - Dev Server
echo #3 - Custom
2015-03-07 22:06:21 +00:00
echo.
2015-05-27 08:22:15 +00:00
:selection
set INPUT=-1
set /P INPUT=Selection:
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 22:06:21 +00:00
echo.
2015-05-17 01:04:41 +00:00
set /P TTS_GAMESERVER=Gameserver:
2015-05-27 08:22:15 +00:00
) else (
goto selection
)
echo.
if %INPUT%==2 (
set /P ttsUsername="Username: "
set /P ttsPassword="Password: "
) 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-05-29 10:03:48 +00:00
echo ppython: "dependencies/panda/python/ppython.exe"
if %INPUT%==2 (
echo Username: %ttsUsername%
) 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 ../../
if %INPUT%==2 (
2015-05-29 10:03:48 +00:00
"dependencies/panda/python/ppython.exe" -m toontown.toonbase.ClientStartRemoteDB
) else (
2015-05-29 10:03:48 +00:00
"dependencies/panda/python/ppython.exe" -m toontown.toonbase.ClientStart
)
2015-05-23 03:47:35 +00:00
pause