Merge branch 'testing' latest games and bug fixes.

This commit is contained in:
Storm Dragon 2022-10-23 19:08:01 -04:00
commit 8b7704167a
2 changed files with 8 additions and 8 deletions

View File

@ -1050,7 +1050,7 @@ gameList=(
"Q9" "Q9"
"Revelation" "Revelation"
"Rhythm Rage" "Rhythm Rage"
#"River Raiders" "River Raiders"
"Road to Rage" "Road to Rage"
"Road to Rage Offline" "Road to Rage Offline"
"RS Games" "RS Games"
@ -2372,13 +2372,13 @@ EOF
add_launcher "c:\Program Files\rhythm rage\game.exe" add_launcher "c:\Program Files\rhythm rage\game.exe"
;; ;;
"River Raiders") "River Raiders")
# Choppy sound under water. # No more choppy sound under water, woot!
install_wine_bottle install_wine_bottle dsound directmusic
download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe" download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe"
wine "$cache/River Raiders 1.3.5.exe" & wine "$cache/River Raiders 1.3.5.exe" &
xdotool sleep 5 type y 2> /dev/null xdotool sleep 10 type y 2> /dev/null
xdotool sleep 1 type y 2> /dev/null xdotool sleep 2 type y 2> /dev/null
xdotool sleep 1 key --clearmodifiers alt+n sleep 2 key alt+n sleep 2 key alt+n sleep 2 key alt+i sleep 5 key alt+f 2> /dev/null xdotool sleep 2 key --clearmodifiers alt+n sleep 2 key alt+n sleep 2 key alt+n sleep 2 key alt+i sleep 10 key alt+f 2> /dev/null
wineserver -w wineserver -w
add_launcher "c:\Program Files\River Raiders\raid.exe" add_launcher "c:\Program Files\River Raiders\raid.exe"
;; ;;
@ -2777,7 +2777,7 @@ EOF
;; ;;
"VIP Mud") "VIP Mud")
export winVer="win7" export winVer="win7"
install_wine_bottle vb6run dx8vb speechsdk ole32 install_wine_bottle vb6run dx8vb speechsdk
download "http://gmagames.com/vipmud20016.exe" download "http://gmagames.com/vipmud20016.exe"
wine "${cache}/vipmud20016.exe" /silent wine "${cache}/vipmud20016.exe" /silent
mkdir -p "${HOME}/.local/wine/vip-mud/drive_c/users/${USER}/Documents/VIP Mud" mkdir -p "${HOME}/.local/wine/vip-mud/drive_c/users/${USER}/Documents/VIP Mud"

View File

@ -43,7 +43,7 @@ read -r -e server
if ! [[ "${server}" =~ ^[0-9.]*$ ]]; then if ! [[ "${server}" =~ ^[0-9.]*$ ]]; then
ip="$( ping -c1 "${server}" 2> /dev/null | head -1 | cut -d '(' -f2 | cut -d ')' -f1)" ip="$( ping -c1 "${server}" 2> /dev/null | head -1 | cut -d '(' -f2 | cut -d ')' -f1)"
if [[ ${#p} < 3 ]]; then if [[ ${#ip} -le 3 ]]; then
echo "Ip address not found, nothing changed." echo "Ip address not found, nothing changed."
exit 1 exit 1
fi fi