mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 08:47:54 +00:00
70 lines
1.4 KiB
Batchfile
70 lines
1.4 KiB
Batchfile
@echo off
|
|
|
|
title Toontown Stride Game Launcher
|
|
|
|
echo Choose your connection method!
|
|
echo.
|
|
echo #1 - Localhost
|
|
echo #2 - Dev Server
|
|
echo #3 - Custom
|
|
echo #4 - Local RemoteDB
|
|
echo.
|
|
|
|
: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%==4 (
|
|
set TTS_GAMESERVER=127.0.0.1
|
|
) else if %INPUT%==3 (
|
|
echo.
|
|
set /P TTS_GAMESERVER=Gameserver:
|
|
) else (
|
|
goto selection
|
|
)
|
|
|
|
echo.
|
|
|
|
if %INPUT%==2 (
|
|
set /P ttsUsername="Username: "
|
|
set /P ttsPassword="Password: "
|
|
) else if %INPUT%==4 (
|
|
set /P ttsUsername="Username: "
|
|
set /P ttsPassword="Password: "
|
|
) else (
|
|
set /P TTS_PLAYCOOKIE=Username:
|
|
)
|
|
|
|
echo.
|
|
|
|
echo ===============================
|
|
echo Starting Toontown Stride...
|
|
echo ppython: "C:\Panda3D-1.10.0\python\ppython.exe"
|
|
|
|
if %INPUT%==2 (
|
|
echo Username: %ttsUsername%
|
|
) else if %INPUT%==4 (
|
|
echo Username: %ttsUsername%
|
|
) else (
|
|
echo Username: %TTS_PLAYCOOKIE%
|
|
)
|
|
|
|
echo Gameserver: %TTS_GAMESERVER%
|
|
echo ===============================
|
|
|
|
cd ../../
|
|
|
|
if %INPUT%==2 (
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStartRemoteDB
|
|
) else if %INPUT%==4 (
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStartRemoteDB
|
|
) else (
|
|
"C:\Panda3D-1.10.0\python\ppython.exe" -m toontown.toonbase.ToontownStart
|
|
)
|
|
|
|
pause
|