Poodletooth-iLand/linux/start-game.sh
2015-03-03 17:10:12 -05:00

21 lines
593 B
Bash

#!/bin/sh
cd ..
# Get the user input:
read -p "Username: " ttuUsername
read -p "Gameserver (DEFAULT: 167.114.28.238): " TTU_GAMESERVER
TTU_GAMESERVER=${TTU_GAMESERVER:-"167.114.28.238"}
# Export the environment variables:
export ttuUsername=$ttuUsername
export ttuPassword="password"
export TTU_PLAYCOOKIE=$ttuUsername
export TTU_GAMESERVER=$TTU_GAMESERVER
echo "==============================="
echo "Starting Toontown Unlimited..."
echo "Username: $ttuUsername"
echo "Gameserver: $TTU_GAMESERVER"
echo "==============================="
/usr/bin/python2 -m toontown.toonbase.ClientStart