Finished adding Super Deekout. Xdotool is very important dependency for this one.

This commit is contained in:
stormdragon2976 2023-02-07 18:35:20 -05:00
parent 9736e4c000
commit 68af5c8710

View File

@ -2699,18 +2699,24 @@ EOF
xdotool sleep 3 key --delay 250 n 2> /dev/null
${wine}server -k
#7z x -o"$WINEPREFIX/drive_c/Program Files/Super Deekout" "${cache}/sd_full.exe"
add_launcher "c:\Program Files\Super Deekout\super.exe"
echo "Super Deekout needs some information before it will run:"
alert
read -erp "Please enter your first and last name separated by a space: " name
read -erp "Please enter your first name: " fname
read -erp "Please enter your last name: " lname
read -erp "Please enter your email address: " email
read -eri "US" -p "Please enter your 2 letter country code. If it is not US, be sure to backspace first: " country
country="${country:0:2}"
country="${country^^}"
echo "\"${name}\:" > "$WINEPREFIX/drive_c/Program Files/Super Deekout/config.dat"
echo "\"${email}\"" >> "$WINEPREFIX/drive_c/Program Files/Super Deekout/config.dat"
echo "\"${country}\"" >> "$WINEPREFIX/drive_c/Program Files/Super Deekout/config.dat"
unix2dos "$WINEPREFIX/drive_c/Program Files/Super Deekout/config.dat"
${wine} "c:\Program Files\Super Deekout\config.exe" &
xdotool sleep 5 key --delay 100 Return 2> /dev/null
xdotool sleep 3 type --clearmodifiers --delay 100 "${fname}"
xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null
xdotool sleep 1 type --clearmodifiers --delay 100 "${lname}"
xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null
xdotool sleep 1 type --clearmodifiers --delay 100 "${email}"
xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null
xdotool sleep 15 key --delay 100 u 2> /dev/null
xdotool key --clearmodifiers --delay 100 Tab 2> /dev/null
xdotool sleep 1 key --delay 250 Return 2> /dev/null
${wine}server -k
add_launcher "c:\Program Files\Super Deekout\super.exe"
;;
"Super Dogs Bone Hunt")
install_wine_bottle vb6run dx8vb speechsdk