mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Add new batch game launcher.
This commit is contained in:
parent
f9bd0279d5
commit
fd9c3c945b
4 changed files with 32 additions and 73 deletions
|
@ -1,23 +1,46 @@
|
|||
@echo off
|
||||
|
||||
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
|
||||
title TTU Game Launcher
|
||||
set /P PPYTHON_PATH=<PPYTHON_PATH
|
||||
|
||||
rem Get the user input:
|
||||
set /P ttuUsername="Username: "
|
||||
set /P TTU_GAMESERVER="Gameserver (DEFAULT: 167.114.28.238): " || ^
|
||||
set TTU_GAMESERVER=167.114.28.238
|
||||
echo Choose your game server!
|
||||
echo #1 - Localhost
|
||||
echo #2 - DenialMC
|
||||
echo #3 - Custom
|
||||
echo #4 - Custom w/ RemoteDB
|
||||
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
|
||||
if %TTU_GAMESERVER%==unset (
|
||||
echo.
|
||||
set /P TTU_GAMESERVER=Gameserver:
|
||||
)
|
||||
|
||||
echo.
|
||||
set /P ttuUsername=Username:
|
||||
|
||||
if %INPUT%==4 (
|
||||
echo.
|
||||
set /P ttuPassword=Password:
|
||||
)
|
||||
|
||||
rem Export the environment variables:
|
||||
set ttuPassword=password
|
||||
set TTU_PLAYCOOKIE=%ttuUsername%
|
||||
|
||||
echo ===============================
|
||||
echo Starting Toontown Unlimited...
|
||||
echo ppython: %PPYTHON_PATH%
|
||||
echo Username: %ttuUsername%
|
||||
echo Password: %ttuPassword%
|
||||
echo Gameserver: %TTU_GAMESERVER%
|
||||
echo ===============================
|
||||
|
||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
||||
pause
|
||||
if %INPUT%==4 (
|
||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB
|
||||
) else (
|
||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
||||
)
|
||||
|
||||
pause
|
|
@ -1,22 +0,0 @@
|
|||
@echo off
|
||||
|
||||
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
|
||||
set /P PPYTHON_PATH=<PPYTHON_PATH
|
||||
|
||||
rem Get the user input:
|
||||
set /P ttuUsername="Username: "
|
||||
|
||||
rem Export the environment variables:
|
||||
set ttuPassword=password
|
||||
set TTU_PLAYCOOKIE=%ttuUsername%
|
||||
set TTU_GAMESERVER=5.15.21.225
|
||||
|
||||
echo ===============================
|
||||
echo Starting Toontown Unlimited...
|
||||
echo ppython: %PPYTHON_PATH%
|
||||
echo Username: %ttuUsername%
|
||||
echo Gameserver: %TTU_GAMESERVER%
|
||||
echo ===============================
|
||||
|
||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
||||
pause
|
|
@ -1,22 +0,0 @@
|
|||
@echo off
|
||||
|
||||
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
|
||||
set /P PPYTHON_PATH=<PPYTHON_PATH
|
||||
|
||||
rem Get the user input:
|
||||
set /P ttuUsername="Username: "
|
||||
|
||||
rem Export the environment variables:
|
||||
set ttuPassword=password
|
||||
set TTU_PLAYCOOKIE=%ttuUsername%
|
||||
set TTU_GAMESERVER=127.0.0.1
|
||||
|
||||
echo ===============================
|
||||
echo Starting Toontown Unlimited...
|
||||
echo ppython: %PPYTHON_PATH%
|
||||
echo Username: %ttuUsername%
|
||||
echo Gameserver: %TTU_GAMESERVER%
|
||||
echo ===============================
|
||||
|
||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
||||
pause
|
|
@ -1,20 +0,0 @@
|
|||
@echo off
|
||||
|
||||
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
|
||||
set /P PPYTHON_PATH=<PPYTHON_PATH
|
||||
|
||||
rem Get the user input:
|
||||
set /P ttuUsername="Username: "
|
||||
set /P ttuPassword="Password: "
|
||||
set /P TTU_GAMESERVER="Gameserver (DEFAULT: 167.114.28.238): " || ^
|
||||
set TTU_GAMESERVER=167.114.28.238
|
||||
|
||||
echo ===============================
|
||||
echo Starting Toontown Unlimited...
|
||||
echo ppython: %PPYTHON_PATH%
|
||||
echo Username: %ttuUsername%
|
||||
echo Gameserver: %TTU_GAMESERVER%
|
||||
echo ===============================
|
||||
|
||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB
|
||||
pause
|
Loading…
Reference in a new issue