diff --git a/audiogame-manager.sh b/audiogame-manager.sh index ef2eb7b..e0a11d5 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -798,6 +798,10 @@ game_launcher() { if [[ "$game" =~ light-battles ]]; then pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi + if [[ "$game" =~ mist-world ]]; then + "${0%/*}/speech/speak_window_title.sh" mw.exe & + pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + fi if [[ "$game" =~ ^bokurano-daibouken-2\| ]]; then "${0%/*}/speech/clipboard_translator.sh" play.exe bokurano-daibouken2 & fi @@ -1066,6 +1070,7 @@ gameList=( "Manamon 2" #"Marina Break" #"Minecraft" + "Mist World" "Monkey Business" "MudSplat French" "MudSplat English" @@ -2317,6 +2322,16 @@ EOF done # And of course, add the launcher. ;; + "Mist World") + export winVer="win7" + 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" + sed -i 's/1024m/768m/g' "$WINEPREFIX/drive_c/Program Files/Mist World/mw.exe.vmoptions" + find "$WINEPREFIX/drive_c/Program Files/Mist World" -iname "nvdaControllerClient32.dll" -exec cp "$cache/nvda2speechd32.dll" "{}" \; + add_launcher 'c:\Program Files\Mist World\mw.exe' + ;; "Monkey Business") export winVer="win7" install_wine_bottle vb6run dx8vb speechsdk quartz