From 4c428bed29631bf61eb0de90694f91f92105a999 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 23 Oct 2022 09:32:54 -0700 Subject: [PATCH 1/4] River raiders seems to work now. Woot! Please test. --- audiogame-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b25b13c..e1f73a6 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1050,7 +1050,7 @@ gameList=( "Q9" "Revelation" "Rhythm Rage" - #"River Raiders" + "River Raiders" "Road to Rage" "Road to Rage Offline" "RS Games" @@ -2372,8 +2372,8 @@ EOF add_launcher "c:\Program Files\rhythm rage\game.exe" ;; "River Raiders") - # Choppy sound under water. - install_wine_bottle + # No more choppy sound under water, woot! + install_wine_bottle dsound directmusic download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe" wine "$cache/River Raiders 1.3.5.exe" & xdotool sleep 5 type y 2> /dev/null From 147e38b16d8aea0c5b13dca990f592de2ad0d2eb Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 23 Oct 2022 09:34:34 -0700 Subject: [PATCH 2/4] Remove ole32 from VIPMud installer, as it seems to break most things --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e1f73a6..7fc9639 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2777,7 +2777,7 @@ EOF ;; "VIP Mud") export winVer="win7" - install_wine_bottle vb6run dx8vb speechsdk ole32 + install_wine_bottle vb6run dx8vb speechsdk download "http://gmagames.com/vipmud20016.exe" wine "${cache}/vipmud20016.exe" /silent mkdir -p "${HOME}/.local/wine/vip-mud/drive_c/users/${USER}/Documents/VIP Mud" From 92213c21e0647988cdca3182c5883cf7bbff4783 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 23 Oct 2022 10:47:59 -0700 Subject: [PATCH 3/4] Try to increase timeouts on River Raiders --- audiogame-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 7fc9639..e5bdf04 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2376,9 +2376,9 @@ EOF install_wine_bottle dsound directmusic download "https://www.agarchive.net/games/XSight/River%20Raiders%201.3.5.exe" wine "$cache/River Raiders 1.3.5.exe" & - xdotool sleep 5 type y 2> /dev/null - xdotool sleep 1 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 10 type y 2> /dev/null + xdotool sleep 2 type y 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 add_launcher "c:\Program Files\River Raiders\raid.exe" ;; From 21fa5d625a94878e30242653dc1b3af8f687dbf6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 23 Oct 2022 18:14:55 -0400 Subject: [PATCH 4/4] Fix bugs in Top Speed 3 server configuration utility. --- game-scripts/topspeedserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-scripts/topspeedserver.sh b/game-scripts/topspeedserver.sh index db1340b..64b4d95 100755 --- a/game-scripts/topspeedserver.sh +++ b/game-scripts/topspeedserver.sh @@ -43,7 +43,7 @@ read -r -e server if ! [[ "${server}" =~ ^[0-9.]*$ ]]; then 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." exit 1 fi