Bug fixes and code reorganization.

This commit is contained in:
Storm Dragon 2020-11-20 01:05:04 -05:00
parent c549f12bf4
commit f38190b670

View File

@ -170,8 +170,8 @@ install_wine_bottle() {
export WINEPREFIX="$HOME/.local/wine/${bottle}"
# Arguments to the function are dependancies to be installed.
(DISPLAY="" wineboot -u
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:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /quiet
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /quiet
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
}
@ -438,7 +438,7 @@ done
case "${game}" in
"A Hero's Call")
export winVer="win7"
install_wine_bottle speechsdk corefonts dotnet40 xna31
install_wine_bottle dotnet40 xna31 speechsdk corefonts
download "http://files.OutOfSightGames.com/files/a-heros-call.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call.zip"
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
@ -651,7 +651,7 @@ case "${game}" in
;;
"Shades of Doom")
export winVer="win7"
install_wine_bottle speechsdk vb6run dx8vb
install_wine_bottle vb6run dx8vb speechsdk
download "http://www.gmagames.com/sod20022.exe"
wine "${cache}/sod20022.exe" /silent
add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe"