From dd1007dce136416dbf8d02f29a7728d7f8bc6618 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Mon, 6 Feb 2023 05:04:26 -0500 Subject: [PATCH] Fixed a bug with Mist World installer. Apparently in ' sneaked it's way into the installer. Added an alert functioon in case there's something that needs to be read for an installer. --- audiogame-manager.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 94ea230..b658ba9 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -45,6 +45,13 @@ EOF export DIALOGOPTS='--no-lines --visit-items' +# Alerts, for when user needs to read something. +alert() { + play -qnV0 synth 3 pluck D3 pluck A3 pluck D4 pluck F4 pluck A4 delay 0 .1 .2 .3 .4 remix - chorus 0.9 0.9 38 0.75 0.3 0.5 -t + echo + read -rp "Press enter to continue." continue +} + # Check for latest news check_news() { trap return INT @@ -1268,6 +1275,7 @@ case "${game}" in add_launcher "c:\Program Files\AudioQuake\AudioQuake.exe" echo echo "After you launch the game, press tab then enter and it should begin speaking." + alert ;; "Battle of the Hunter") export bottle="tunmi13" @@ -2327,7 +2335,7 @@ EOF ;; "Mist World") export winVer="win7" - ' get_installer "Mist World_Setup.exe" "https://drive.google.com/file/d/12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-/view?usp=share_link" + get_installer "Mist World_Setup.exe" "https://drive.google.com/file/d/12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-/view?usp=share_link" install_wine_bottle download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" 7z x -o"$WINEPREFIX/drive_c/Program Files/Mist World" "$cache/Mist World_Setup.exe" @@ -2341,6 +2349,7 @@ EOF echo "Change to the game-scripts directory and run" echo "./mist_world_account_creator.sh and follow the prompts." echo "To login, type your email address, press tab, and type your password. Press enter to confirm." + alert ;; "Monkey Business") export winVer="win7"