From 190a97087a5af9f474eb725e838c1ec36935cf9e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 6 Oct 2022 15:30:09 -0400 Subject: [PATCH] Move the BK3 setup over to 7zip instead of using wine and xdotool. --- audiogame-manager.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index da8eb4f..94490fb 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1655,12 +1655,7 @@ case "${game}" in export winVer="win7" install_wine_bottle download "https://www.nyanchangames.com/softs/nn3_setup.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" - wine "$cache/nn3_setup.exe" & - xdotool sleep 10 key --clearmodifiers --delay=75 ctrl+a - xdotool sleep 1 key --clearmodifiers --delay=75 BackSpace - xdotool sleep 1 type --delay=75 'c:\nyanchangame\bk3' - xdotool sleep 1 key --clearmodifiers --delay=75 Return - wineserver -w + 7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk3" "${cache}/nn3_setup.exe" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; add_launcher "c:\nyanchangame\bk3\play.exe" ;;