Poodletooth-iLand/linux/start-game.sh

22 lines
590 B
Bash
Raw Normal View History

2015-03-03 16:10:12 -06:00
#!/bin/sh
cd ..
# Get the user input:
2015-05-16 20:04:41 -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 20:04:41 -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 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.ClientStart