diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a2fe53b..c841379 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -712,7 +712,7 @@ install_wine_bottle() { game_installer() { export LANG="en_US.UTF-8" # Try to deal with systems in other languages - mapfile -t installedGames < <(sed '/^$/d' "${configFile}" 2> /dev/null | cut -d '|' -f3) + mapfile -t installedGames < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null | cut -d '|' -f3) # Create the menu of installed games declare -a menuList for i in "${gameList[@]}" ; do @@ -1126,6 +1126,7 @@ gameList=( "Angel Gift" "AudioDisc" "AudioQuake" + "Balatro" "Battlefield 2D" "Battle of the Hunter" "Battle Zone" @@ -1474,6 +1475,16 @@ download "https://erion.cf/files/ag_103.zip" echo "After you launch the game, press tab then enter and it should begin speaking." alert ;; + "Balatro") + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://stormgames.wolfe.casa/downloads/Tolk.dll" + export WINEARCH=win64 + export winVer="win10" + install_wine_bottle + get_steam "2379780" "https://store.steampowered.com/app/2379780/Balatro/" + find "$WINEPREFIX/drive_c/Program Files/Balatro" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; + find "$WINEPREFIX/drive_c/Program Files/Balatro" -type f -name 'tolk.dll' -exec cp -v "$cache/Tolk.dll" "{}" \; + add_launcher 'c:\Program Files\Balatro\Balatro.exe' 'export WINEDLLOVERRIDES=version=n,b' + ;; "Battlefield 2D") get_installer "bf.zip" "https://tunmi13.itch.io/battlefield-2d" download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"