Poodletooth-iLand/linux/start-game-remotedb.sh

24 lines
642 B
Bash
Raw Normal View History

2015-03-03 16:10:12 -06:00
#!/bin/bash
cd ..
# Get the user input:
2015-05-16 20:04:41 -05:00
read -p "Username: " ttsUsername
read -s -p "Password: " ttsPassword
2015-03-03 16:10:12 -06:00
echo
2015-05-16 20:04:41 -05:00
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 20:04:41 -05:00
export ttsUsername=$ttsUsername
export ttsPassword=$ttsPassword
export TTS_PLAYCOOKIE=$ttsUsername
export TTS_GAMESERVER=$TTS_GAMESERVER
2015-03-03 16:10:12 -06:00
echo "==============================="
2015-05-16 20:04:41 -05:00
echo "Starting Toontown Stride..."
echo "Username: $ttsUsername"
echo "Gameserver: $TTS_GAMESERVER"
2015-03-03 16:10:12 -06:00
echo "==============================="
/usr/bin/python2 -m toontown.toonbase.ClientStartRemoteDB