19 lines
1.2 KiB
Bash
19 lines
1.2 KiB
Bash
|
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 winVer="win10"
|
||
|
install_wine_bottle
|
||
|
get_steam "2379780" "https://store.steampowered.com/app/2379780/Balatro/"
|
||
|
mkdir -p "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/Balatro/Mods"
|
||
|
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'
|