From f8fac3b74fb070c0d06b45a924ae905b077f115b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 29 Apr 2021 19:00:17 -0400 Subject: [PATCH 1/5] Fixed launcher for AudioDisc --- audiogame-manager.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0921f3a..1ea4261 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -522,6 +522,10 @@ game_launcher() { if [[ "$game" =~ sequence-storm ]]; then [[ -x ~/.SequenceStormReader ]] && ~/.SequenceStormReader & fi + if [[ "$game" =~ audiodisc ]]; then + wine "$winePath\\$wineExec" + exit 0 + fi if [[ "$game" =~ audioquake ]]; then wine "$winePath\\$wineExec" exit 0 From 4bd54f78288b487efd6ea65ef72941147fdf9611 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 1 May 2021 00:43:08 -0400 Subject: [PATCH 2/5] Improved the documentation search. --- audiogame-manager.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1ea4261..9aa1a1a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -286,15 +286,15 @@ echo "Loading documentation, please wait..." # Try to find documentation based on common naming conventions. local gamePath="$(winepath -u "$2" 2> /dev/null)" gamePath="${gamePath%/*}" - local gameDoc="$(find "$gamePath" -type f -iname 'user_manual.html' | head -1)" + local gameDoc="$(find "$gamePath" -type f -iname 'user_manual.html' -or -iname 'user_manual.htm' | head -1)" if [[ -z "$gameDoc" ]]; then - gameDoc="$(find "$gamePath" -type f -iname 'manual.html' | head -1)" + gameDoc="$(find "$gamePath" -type f -iname 'manual.html' -or -iname 'manual.htm' | head -1)" fi if [[ -z "$gameDoc" ]]; then - gameDoc="$(find "$gamePath" -type f -iname 'en.html' | head -1)" + gameDoc="$(find "$gamePath" -type f -iname 'en.html' -or -iname 'en.htm' | head -1)" fi if [[ -z "$gameDoc" ]]; then - gameDoc="$(find "$gamePath" -type f -iname 'readme.html' | head -1)" + gameDoc="$(find "$gamePath" -type f -iname 'readme.html' -or -iname 'readme.htm' | head -1)" fi if [[ -z "$gameDoc" ]]; then gameDoc="$(find "$gamePath" -type f -iname 'manual.txt' | head -1)" From f6ed48ecbe7053812d0d486496797c5412130921 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 3 May 2021 00:11:50 -0400 Subject: [PATCH 3/5] Added game Golden Crayon. --- audiogame-manager.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9aa1a1a..c6444e4 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -621,6 +621,7 @@ gameList=( "Finger Panic" "Fuck That Bird" "GMA Tank Commander" + "Golden Crayon" "Hammer of Glory" "Hunter" "Insect Therapy" @@ -933,6 +934,14 @@ case "${game}" in unzip -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip" add_launcher "c:\Program Files\fuck that bird/game.exe" ;; + "Golden Crayon") + export winVer="win7" + install_wine_bottle speechsdk + download "http://tunmi13.ddns.net/projects/golden_crayon.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/golden_crayon.zip" + find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; + add_launcher "c:\Program Files\\golden_crayon/gc.exe" + ;; "GMA Tank Commander") install_wine_bottle vb6run dx8vb speechsdk download "http://www.gmagames.com/gtc120.exe" From 8b8cec07fd2330d7a4df7b5e9c3396a988411aa3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 3 May 2021 22:16:24 -0400 Subject: [PATCH 4/5] Fixed a typo. --- audiogame-manager.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c6444e4..ced9ef8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -210,7 +210,7 @@ checklist() { if command -v xdotool &> /dev/null ; then echo "Xdotool is installed." else - errorList+=("Warning: Xdotool is not installed. Some installlers may not work or may need manual intervention.") + errorList+=("Warning: Xdotool is not installed. Some installers may not work or may need manual intervention.") fi # Show the results if [[ ${#errorList[@]} -eq 0 ]]; then @@ -652,6 +652,7 @@ gameList=( #"Sammy Center" "Sequence Storm" "Shades of Doom" + "Shooter Extreme" #"Silver Dollar" "Slender Lost Vision" "Sonic Zoom" @@ -1238,6 +1239,14 @@ EOF wget -O "$WINEPREFIX/drive_c/Program Files/sequence-storm/settings.json" "https://stormgames.wolfe.casa/downloads/sequencestorm-settings.json" add_launcher "c:\Program Files\sequence-storm\SequenceStorm.exe" ;; + "Shooter Extreme") + export winVer="win7" + install_wine_bottle speechsdk + download "http://tunmi13.ddns.net/projects/sxt.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/sxt.zip" + #find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + #add_launcher "c:\Program Files\" + ;; "Shades of Doom") export winVer="win7" install_wine_bottle vb6run dx8vb speechsdk From 8aaf0f6e8a3d51c3f5190c495a3b74c0a514bcf6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 4 May 2021 12:07:34 -0400 Subject: [PATCH 5/5] A couple typo fixes. --- audiogame-manager.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index ced9ef8..33fa745 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -652,7 +652,6 @@ gameList=( #"Sammy Center" "Sequence Storm" "Shades of Doom" - "Shooter Extreme" #"Silver Dollar" "Slender Lost Vision" "Sonic Zoom" @@ -1239,14 +1238,6 @@ EOF wget -O "$WINEPREFIX/drive_c/Program Files/sequence-storm/settings.json" "https://stormgames.wolfe.casa/downloads/sequencestorm-settings.json" add_launcher "c:\Program Files\sequence-storm\SequenceStorm.exe" ;; - "Shooter Extreme") - export winVer="win7" - install_wine_bottle speechsdk - download "http://tunmi13.ddns.net/projects/sxt.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/sxt.zip" - #find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; - #add_launcher "c:\Program Files\" - ;; "Shades of Doom") export winVer="win7" install_wine_bottle vb6run dx8vb speechsdk