Added sox for audio support. Fixed a bug in Screaming Strike 2 installer.
This commit is contained in:
parent
039ae7dc96
commit
d0bf910f45
@ -203,6 +203,12 @@ checklist() {
|
||||
errorList+=("Warning: qjoypad is not installed. Qjoypad allows you to play keyboard only games with a gamepad.")
|
||||
fi
|
||||
packageList+=("qjoypad")
|
||||
if command -v sox &> /dev/null ; then
|
||||
[[ $# -eq 0 ]] && echo "Sox is installed."
|
||||
else
|
||||
errorList+=("Warning: Sox is not installed. Audio will not work.")
|
||||
fi
|
||||
packageList+=("sox")
|
||||
if command -v unix2dos &> /dev/null ; then
|
||||
[[ $# -eq 0 ]] && echo "Dos2unix is installed."
|
||||
else
|
||||
@ -780,6 +786,11 @@ gameList=(
|
||||
#"World of War"
|
||||
)
|
||||
|
||||
# Make sure sox is installed
|
||||
if ! command -v sox &> /dev/null ; then
|
||||
echo "Please install sox before continuing."
|
||||
exit 1
|
||||
fi
|
||||
# With no arguments, open the game launcher.
|
||||
if [[ $# -eq 0 ]]; then
|
||||
game_launcher
|
||||
@ -979,7 +990,7 @@ case "${game}" in
|
||||
;;
|
||||
"Breed Memorial")
|
||||
export winVer="win7"
|
||||
install_wine_bottle corefonts speechsdk
|
||||
install_wine_bottle cjkfonts speechsdk
|
||||
download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breed_memorial.zip"
|
||||
#find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
||||
@ -1446,7 +1457,7 @@ EOF
|
||||
"Screaming Strike 2")
|
||||
export winVer="win7"
|
||||
install_wine_bottle cjkfonts speechsdk
|
||||
download "https://www.nyanchangames.com/softs/screamingStrike2.exe"
|
||||
download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||
wine "${cache}/screamingStrike2.exe" &
|
||||
xdotool sleep 10 key Return
|
||||
wineserver -w
|
||||
|
Loading…
Reference in New Issue
Block a user