mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 04:32:33 -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
|
@echo off
|
||||||
|
title TTU Game Launcher
|
||||||
rem Read the contents of PPYTHON_PATH into %PPYTHON_PATH%:
|
|
||||||
set /P PPYTHON_PATH=<PPYTHON_PATH
|
set /P PPYTHON_PATH=<PPYTHON_PATH
|
||||||
|
|
||||||
rem Get the user input:
|
rem Get the user input:
|
||||||
set /P ttuUsername="Username: "
|
echo Choose your game server!
|
||||||
set /P TTU_GAMESERVER="Gameserver (DEFAULT: 167.114.28.238): " || ^
|
echo #1 - Localhost
|
||||||
set TTU_GAMESERVER=167.114.28.238
|
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%
|
set TTU_PLAYCOOKIE=%ttuUsername%
|
||||||
|
|
||||||
echo ===============================
|
echo ===============================
|
||||||
echo Starting Toontown Unlimited...
|
echo Starting Toontown Unlimited...
|
||||||
echo ppython: %PPYTHON_PATH%
|
echo ppython: %PPYTHON_PATH%
|
||||||
echo Username: %ttuUsername%
|
echo Username: %ttuUsername%
|
||||||
|
echo Password: %ttuPassword%
|
||||||
echo Gameserver: %TTU_GAMESERVER%
|
echo Gameserver: %TTU_GAMESERVER%
|
||||||
echo ===============================
|
echo ===============================
|
||||||
|
|
||||||
|
if %INPUT%==4 (
|
||||||
|
%PPYTHON_PATH% -m toontown.toonbase.ClientStartRemoteDB
|
||||||
|
) else (
|
||||||
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
%PPYTHON_PATH% -m toontown.toonbase.ClientStart
|
||||||
|
)
|
||||||
|
|
||||||
pause
|
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