Poodletooth-iLand/dev/darwin/start-game-localhost.sh
2015-07-08 08:15:51 -04:00

22 lines
552 B
Bash

#!/bin/sh
cd ..
export DYLD_LIBRARY_PATH=`pwd`/Libraries.bundle
export DYLD_FRAMEWORK_PATH="Frameworks"
# Get the user input:
read -p "Username: " ttsUsername
# Export the environment variables:
export ttsUsername=$ttsUsername
export ttsPassword="password"
export TTS_PLAYCOOKIE=$ttsUsername
export TTS_GAMESERVER="127.0.0.1"
echo "==============================="
echo "Starting Toontown Stride..."
echo "Username: $ttsUsername"
echo "Gameserver: $TTS_GAMESERVER"
echo "==============================="
ppython -m toontown.toonbase.ToontownStart