Poodletooth-iLand/darwin/start-game.sh

25 lines
670 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: " 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 "==============================="
2015-03-10 17:36:03 -05:00
echo "Starting Toontown United..."
2015-03-03 16:10:12 -06:00
echo "Username: $ttuUsername"
echo "Gameserver: $TTU_GAMESERVER"
echo "==============================="
ppython -m toontown.toonbase.ClientStart