Games that require speechsdk now also install espeak sapi5 version.
This commit is contained in:
parent
d8825acdf9
commit
d007933106
@ -120,6 +120,11 @@ install_wine_bottle() {
|
|||||||
# Arguments to the function are dependancies to be installed.
|
# Arguments to the function are dependancies to be installed.
|
||||||
(wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
|
(wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
|
||||||
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
|
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
|
||||||
|
# If the game requires speechsdk, get the espeak voices.
|
||||||
|
if [[ "$*" =~ speechsdk ]]; then
|
||||||
|
download "http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/setup_espeak-1.48.04.exe"
|
||||||
|
wine "${cache}/setup_espeak-1.48.04.exe" /silent
|
||||||
|
fi
|
||||||
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -385,6 +390,7 @@ case "${game}" in
|
|||||||
install_wine_bottle speechsdk
|
install_wine_bottle speechsdk
|
||||||
download "http://www.samtupy.com/games/bloodshed.exe"
|
download "http://www.samtupy.com/games/bloodshed.exe"
|
||||||
cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/"
|
cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/"
|
||||||
|
add_launcher "c:\Program Files\bloodshed.exe"
|
||||||
;;
|
;;
|
||||||
"Adventurers At C")
|
"Adventurers At C")
|
||||||
install_wine_bottle speechsdk
|
install_wine_bottle speechsdk
|
||||||
|
Loading…
Reference in New Issue
Block a user