Poodletooth-iLand/dev/darwin/start-game-remotedb.sh

27 lines
720 B
Bash
Raw Normal View History

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:
read -p "Username: " ttsUsername
read -s -p "Password: " ttsPassword
2015-03-03 16:10:12 -06:00
echo
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:
export ttsUsername=$ttsUsername
export ttsPassword=$ttsPassword
export TTS_PLAYCOOKIE=$ttsUsername
export TTS_GAMESERVER=$TTS_GAMESERVER
2015-03-03 16:10:12 -06:00
echo "==============================="
echo "Starting Toontown Stride..."
echo "Username: $ttsUsername"
echo "Gameserver: $TTS_GAMESERVER"
2015-03-03 16:10:12 -06:00
echo "==============================="
ppython -m toontown.toonbase.ClientStartRemoteDB