Poodletooth-iLand/start_game.bat

47 lines
984 B
Batchfile
Raw Normal View History

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