Poodletooth-iLand/darwin/start-game-localhost.sh
2015-03-26 22:48:23 -04:00

22 lines
550 B
Bash
Executable file

#!/bin/sh
cd ..
export DYLD_LIBRARY_PATH=`pwd`/Libraries.bundle
export DYLD_FRAMEWORK_PATH="Frameworks"
# Get the user input:
read -p "Username: " ttuUsername
# Export the environment variables:
export ttuUsername=$ttuUsername
export ttuPassword="password"
export TTU_PLAYCOOKIE=$ttuUsername
export TTU_GAMESERVER="127.0.0.1"
echo "==============================="
echo "Starting Toontown United..."
echo "Username: $ttuUsername"
echo "Gameserver: $TTU_GAMESERVER"
echo "==============================="
ppython -m toontown.toonbase.ClientStart