2015-03-03 16:10:12 -06:00
|
|
|
#!/bin/sh
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
export DYLD_LIBRARY_PATH=`pwd`/Libraries.bundle
|
|
|
|
export DYLD_FRAMEWORK_PATH="Frameworks"
|
|
|
|
|
|
|
|
# Get the user input:
|
2015-05-16 22:00:56 -05:00
|
|
|
read -p "Username: " ttsUsername
|
|
|
|
read -p "Gameserver (DEFAULT: 167.114.28.238): " TTS_GAMESERVER
|
|
|
|
TTS_GAMESERVER=${TTS_GAMESERVER:-"167.114.28.238"}
|
2015-03-03 16:10:12 -06:00
|
|
|
|
|
|
|
# Export the environment variables:
|
2015-05-16 22:00:56 -05:00
|
|
|
export ttsUsername=$ttsUsername
|
|
|
|
export ttsPassword="password"
|
|
|
|
export TTS_PLAYCOOKIE=$ttsUsername
|
|
|
|
export TTS_GAMESERVER=$TTS_GAMESERVER
|
2015-03-03 16:10:12 -06:00
|
|
|
|
|
|
|
echo "==============================="
|
2015-05-16 22:00:56 -05:00
|
|
|
echo "Starting Toontown Stride..."
|
|
|
|
echo "Username: $ttsUsername"
|
|
|
|
echo "Gameserver: $TTS_GAMESERVER"
|
2015-03-03 16:10:12 -06:00
|
|
|
echo "==============================="
|
|
|
|
|
2015-07-08 07:15:51 -05:00
|
|
|
ppython -m toontown.toonbase.ToontownStart
|