Actually include the accessibility features for balatro! Doh lol.

This commit is contained in:
Michael Taboada 2024-09-13 11:17:04 -07:00
parent d1f95e02ef
commit 65a44d2c6b

View File

@ -1477,13 +1477,23 @@ download "https://erion.cf/files/ag_103.zip"
alert alert
;; ;;
"Balatro") "Balatro")
download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://stormgames.wolfe.casa/downloads/Tolk.dll" download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://stormgames.wolfe.casa/downloads/Tolk.dll" "https://github.com/Aurelius7309/BlackHole/releases/download/0.3.1/BlackHole-Release.zip"
export WINEARCH=win64 export WINEARCH=win64
export winVer="win10" export winVer="win10"
install_wine_bottle install_wine_bottle
get_steam "2379780" "https://store.steampowered.com/app/2379780/Balatro/" 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" "{}" \; mkdir -p "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods"
find "$WINEPREFIX/drive_c/Program Files/Balatro" -type f -name 'tolk.dll' -exec cp -v "$cache/Tolk.dll" "{}" \; unzip -d "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro" "$cache/BlackHole-Release.zip"
pushd "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods"
(cat mod_urls.txt ; echo) | while read -r x ; do
git clone "$x"
done
cp -v BlackHole/bin/*.dll "$WINEPREFIX/drive_c/Program Files/Balatro"
cp -v "$cache/Tolk.dll" "$WINEPREFIX/drive_c/Program Files/Balatro/tolk.dll"
cp -v "$cache/Tolk.dll" BlackHole/bin/tolk.dll
cp -v "$cache/nvda2speechd64.dll" "$WINEPREFIX/drive_c/Program Files/Balatro/nvdaControllerClient64.dll"
cp -v "$cache/nvda2speechd64.dll" BlackHole/bin/nvdaControllerClient64.dll
cp -v ../version.dll "$WINEPREFIX/drive_c/Program Files/Balatro"
add_launcher 'c:\Program Files\Balatro\Balatro.exe' 'export WINEDLLOVERRIDES=version=n,b' add_launcher 'c:\Program Files\Balatro\Balatro.exe' 'export WINEDLLOVERRIDES=version=n,b'
;; ;;
"Battlefield 2D") "Battlefield 2D")