Added game Revenge of the Undead.

This commit is contained in:
Storm Dragon 2021-05-07 02:40:28 -04:00
parent 8aaf0f6e8a
commit 2defc30671

View File

@ -250,6 +250,8 @@ download() {
for i in "${source[@]}" ; do
local dest="${i##*/}"
dest="${dest//%20/ }"
# Remove the destination file if it is empty.
test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null
# Skip if the item is in cache.
test -e "${cache}/${dest}" && continue
if ! wget -4 -O "${cache}/${dest}" "${i}" ; then
@ -530,8 +532,6 @@ game_launcher() {
wine "$winePath\\$wineExec"
exit 0
fi
# Work around possible wrong path for start.exe
[[ -e "${WINEPREFIX}/drive_c/windows/system32/start.exe" ]] || ln -sr "${WINEPREFIX}/drive_c/windows/command/start.exe" "${WINEPREFIX}/drive_c/windows/system32/start.exe"
if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then
wine64 start /realtime /d "${winePath}" "$wineExec"
else
@ -645,6 +645,7 @@ gameList=(
"Perilous Hearts"
"Pontes Kickups!"
"Q9"
"Revenge of the Undead"
"Rhythm Rage"
#"River raiders"
"RS Games"
@ -1181,6 +1182,14 @@ EOF
wine "${cache}/q9_english_installer.exe" /silent
add_launcher "c:\Program Files\Q9 Action Game\q9.exe"
;;
"Revenge of the Undead")
export winVer="win7"
install_wine_bottle speechsdk
download "https://ims-productions.com/downloads/rotu.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/revenge of the undead" "${cache}/rotu.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\revenge of the undead\rotu.exe"
;;
"Rhythm Rage")
export winVer="win7"
install_wine_bottle speechsdk