21 lines
1.1 KiB
Bash
21 lines
1.1 KiB
Bash
|
download "http://www.gmagames.com/gtc120.exe"
|
||
|
install_wine_bottle vb6run dx8vb speechsdk
|
||
|
wine "${cache}/gtc120.exe" /silent &
|
||
|
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||
|
xdotool sleep 15 type --clearmodifiers --delay 100 "${USER^}" 2> /dev/null
|
||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "${HOSTNAME^}" 2> /dev/null
|
||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null
|
||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||
|
xdotool sleep 10 type --clearmodifiers --delay 100 "uuuuuuu" 2> /dev/null
|
||
|
xdotool key --clearmodifiers Tab 2> /dev/null
|
||
|
xdotool key --clearmodifiers Return 2> /dev/null
|
||
|
xdotool sleep 10 key --clearmodifiers Return 2> /dev/null
|
||
|
${wine}server -w
|
||
|
echo "To accurately set your information, edit the file:"
|
||
|
echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat"
|
||
|
echo "The default country is US. The fields are:"
|
||
|
echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\""
|
||
|
add_launcher "c:\Program Files\GMA Tank Commander\gtc.exe"
|