Poodletooth-iLand/client.bat

47 lines
981 B
Batchfile
Raw Normal View History

2015-03-03 22:10:12 +00:00
@echo off
2015-03-07 22:06:21 +00:00
title TTU Game Launcher
2015-03-03 22:10:12 +00:00
set /P PPYTHON_PATH=<PPYTHON_PATH
2015-03-07 22:06:21 +00:00
echo Choose your game server!
echo #1 - Localhost
echo #2 - DenialMC
2015-03-08 22:33:45 +00:00
echo #3 - Development Server
2015-03-08 22:11:39 +00:00
echo #4 - Custom
echo #5 - Custom w/ RemoteDB
2015-03-07 22:06:21 +00:00
echo.
set /P INPUT=
set TTU_GAMESERVER=unset
if %INPUT%==1 set TTU_GAMESERVER=127.0.0.1
if %INPUT%==2 set TTU_GAMESERVER=5.15.21.225
2015-03-08 22:11:39 +00:00
if %INPUT%==3 set TTU_GAMESERVER=23.92.75.62
2015-03-07 22:06:21 +00:00
if %TTU_GAMESERVER%==unset (
echo.
set /P TTU_GAMESERVER=Gameserver:
)
echo.
set /P ttuUsername=Username:
2015-03-08 22:11:39 +00:00
if %INPUT%==5 (
2015-03-07 22:06:21 +00:00
echo.
set /P ttuPassword=Password:
)
2015-03-03 22:10:12 +00:00
set TTU_PLAYCOOKIE=%ttuUsername%
echo ===============================
2015-03-10 22:36:03 +00:00
echo Starting Toontown United...
2015-03-03 22:10:12 +00:00
echo ppython: %PPYTHON_PATH%
echo Username: %ttuUsername%
2015-03-07 22:06:21 +00:00
echo Password: %ttuPassword%
2015-03-03 22:10:12 +00:00
echo Gameserver: %TTU_GAMESERVER%
echo ===============================
2015-03-08 22:11:39 +00:00
if %INPUT%==5 (
2015-03-07 22:06:21 +00:00
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB
) else (
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
)
pause