From 9736e4c0001386e81c037ab83aa5a6b2698f986f Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Tue, 7 Feb 2023 15:40:25 -0500 Subject: [PATCH] More progress on Super Deekout. Unfortunately going to have to run the config.exe program. More xdotool to come. --- audiogame-manager.sh | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 11c4d4a..f425640 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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