More progress on Super Deekout. Unfortunately going to have to run the config.exe program. More xdotool to come.

This commit is contained in:
stormdragon2976 2023-02-07 15:40:25 -05:00
parent bc7cdcfd25
commit 9736e4c000

View File

@ -2687,9 +2687,30 @@ EOF
install_wine_bottle vb6run dx8vb
download "http://www.danielzingaro.com/superdeekout_setup.exe" "http://www.danielzingaro.com/sd_full.exe"
${wine} "${cache}/superdeekout_setup.exe" &
xdotool sleep 15 key --delay 100 y 2> /dev/null
xdotool sleep 3 key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+a 2> /dev/null
xdotool key --delay 250 space 2> /dev/null
xdotool key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+n 2> /dev/null
xdotool key --delay 250 alt+i 2> /dev/null
xdotool sleep 15 key --delay 250 alt+f 2> /dev/null
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"
#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 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"
;;
"Super Dogs Bone Hunt")
install_wine_bottle vb6run dx8vb speechsdk