From 84db498a15cfeedb3c62db4c5eea5fe5377e2e3a Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 22 Aug 2021 09:49:03 -0400 Subject: [PATCH 1/8] updated the Crazy Party download link for the latest version in the installer. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index f1f3e00..d731a9c 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1487,7 +1487,7 @@ case "${game}" in "Crazy Party") export winVer="win7" install_wine_bottle speechsdk - download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta75.zip" + download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta75.zip" add_launcher "c:\Program Files\Crazy-Party-beta75\Crazy Party.exe" rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta75/nvdaControllerClient32.dll" From b41068061d3bfbb34478eafcdc5da80dee0af673 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 22 Aug 2021 18:19:00 -0400 Subject: [PATCH 2/8] updated become a patron link. --- audiogame-manager.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d731a9c..23695ab 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -556,7 +556,7 @@ game_removal() { exit 0 fi if [[ "$game" == "Become a Patron" ]]; then - open_url "https://patreon.com/stormux" + open_url "https://2mb.games/product/2mb-patron/" exit 0 fi local winePath="${game#*|}" @@ -608,7 +608,7 @@ kill_game() { exit 0 fi if [[ "$game" == "Become a Patron" ]]; then - open_url "https://patreon.com/stormux" + open_url "https://2mb.games/product/2mb-patron/" exit 0 fi local winePath="${game#*|}" @@ -665,7 +665,7 @@ game_launcher() { exit 0 fi if [[ "$game" == "Become a Patron" ]]; then - open_url "https://patreon.com/stormux" + open_url "https://2mb.games/product/2mb-patron/" exit 0 fi get_bottle "$game" @@ -901,7 +901,7 @@ gameList=( "Technoshock" "Ten Pin Alley" "The Blind Swordsman" - #"The Gate" + "The Gate" "The Great Toy Robbery" "Thief" "Traders of Known Space" @@ -2260,7 +2260,7 @@ EOF open_url "https://ko-fi.com/stormux" ;; "Become a Patron") - open_url "https://patreon.com/stormux" + open_url "https://2mb.games/product/2mb-patron/" ;; *) [[ -n "${game}" ]] && echo "Game \"${game}\" not found." From 983d4b5831ddad696ea965bc71e479d577a0dda8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 28 Aug 2021 14:52:49 -0400 Subject: [PATCH 3/8] Script to make dragon scrolls actually doable in Paladin of the Sky. --- .../paladin-of-the-sky-dragonscroll.sh | 213 ++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100755 game-scripts/paladin-of-the-sky-dragonscroll.sh diff --git a/game-scripts/paladin-of-the-sky-dragonscroll.sh b/game-scripts/paladin-of-the-sky-dragonscroll.sh new file mode 100755 index 0000000..2c03482 --- /dev/null +++ b/game-scripts/paladin-of-the-sky-dragonscroll.sh @@ -0,0 +1,213 @@ +#!/bin/bash +usage=" +To use this script, call $0 with the name of the dragon scroll you want. +For example, $0 aura_master will use the aura_master dragon scroll. +Spaces should be replaced with the _ character. +Make sure that the dragon scroll you want to use is selected in the menu in the game before calling this script. +For easier use, you can bind a shortcut key to call the script. +For example, I have the latest scroll unlocked by Ross set to control+1. +" + +export DISPLAY=:0 + +aura_master() { + xdotool key --delay 75 return sleep .75 key --delay 75 alt sleep .5 key --delay 75 alt +} + +avenging_spirit() { + xdotool key --delay 75 return sleep .75 key --delay 75 alt $(for i in {1..7} ; do echo -n "sleep .385 key --delay 75 alt ";done) sleep .6 key --delay 75 alt sleep .7 key --delay 75 alt +} + +black_hole() { + xdotool key --delay 75 return sleep .8 key --delay 75 alt $(for i in {1..3} ; do echo -n "sleep .74 key --delay 75 alt ";done) $(for i in {1..4} ; do echo -n "sleep .4 key --delay 75 alt ";done) sleep .6 key --delay 75 alt +} + +charge_of_fury() { + xdotool key --delay 75 return sleep .9 key --delay 75 alt sleep .4 key --delay 75 alt sleep .65 key --delay 75 alt sleep .6 key --delay 75 alt sleep .6 key --delay 75 alt +} + +death_in_three_easy_steps() { + xdotool key --delay 75 return sleep 1.5 key --delay 75 alt sleep 2.2 key --delay 75 alt sleep 3.2 key --delay 75 alt +} + +demons_gift() { + xdotool key --delay 75 return sleep .8 key --delay 75 alt sleep .4 key --delay 75 alt sleep 3.2 key --delay 75 alt +} + +destruction_of_the_heavens() { + local scrollString=("key --delay 75 return sleep .895 key --delay 75 alt") + for i in {1..14} ; do + scrollString+=("sleep .365 key --delay 75 alt") + done + scrollString+=("sleep .8 key --delay 75 alt") + scrollString+=("sleep 2.5 key --delay 75 alt") + xdotool ${scrollString[*]} +} + +diabolical_fire() { + xdotool key --delay 75 return sleep 1.2 key --delay 75 alt $(for i in {1..5} ; do echo -n "sleep .7 key --delay 75 alt ";done) +} + +embodiment_of_cruelclaw() { + xdotool key --delay 75 return sleep 1 key --delay 75 alt sleep .6 key --delay 75 alt sleep .8 key --delay 75 alt $(for i in {1..4} ; do echo -n "sleep .39 key --delay 75 alt ";done) sleep 1 key --delay 75 alt sleep 1.2 key --delay 75 alt sleep 1.2 key --delay 75 alt sleep 2.5 key --delay 75 alt +} + +embodiment_of_power() { + local scrollString=("key --delay 75 return") + for i in {5..0..-3} ; do + scrollString+=("sleep 1.${i} key --delay 75 alt") + done + for i in {1..2} ; do + scrollString+=("sleep 1 key --delay 75 alt") + done + for i in {1..2} ; do + scrollString+=("sleep 0.9 key --delay 75 alt") + done + for i in {8..4..-1} ; do + scrollString+=("sleep 0.${i} key --delay 75 alt") + done + scrollString+=("sleep 0.4 key --delay 75 alt") + xdotool ${scrollString[*]} +} + +embodiment_of_righteousness() { + xdotool key --delay 75 return sleep 3 key --delay 75 alt sleep 2.7 key --delay 75 alt sleep 2.7 key --delay 75 alt sleep .3 key --delay 75 alt sleep 1.1 key --delay 75 alt +} + +embodiment_of_selflessness() { + xdotool key --delay 75 return sleep .85 key --delay 75 alt sleep .4 key --delay 75 alt sleep 1.6 key --delay 75 alt sleep .4 key --delay 75 alt sleep .6 key --delay 75 alt +} + +embodiment_of_valor() { + xdotool key --delay 75 return sleep 1 key --delay 75 alt sleep .65 $(for i in {1..6} ; do echo "key --delay 75 alt sleep .415 ";done) sleep .7 key --delay 75 alt sleep 2.65 key --delay 75 alt +} + +energy_burst() { + xdotool key --delay 75 return sleep 1.22 key --delay 75 alt sleep .65 key --delay 75 alt sleep .4 key --delay 75 alt +} + +fatal_blast() { + xdotool key --delay 75 return sleep 1.5 key --delay 75 alt sleep .5 key --delay 75 alt sleep .7 key --delay 75 alt sleep .9 key --delay 75 alt sleep .6 key --delay 75 alt sleep .92 key --delay 75 alt sleep .7 key --delay 75 alt sleep 1 key --delay 75 alt sleep 1.2 key --delay 75 alt +} + +flame_blizzard() { + xdotool key --delay 75 return sleep 1 key --delay 75 alt sleep .5 key --delay 75 alt sleep .6 key --delay 75 alt sleep .6 key --delay 75 alt sleep .5 key --delay 75 alt sleep .4 key --delay 75 alt sleep .5 key --delay 75 alt +} + +g_aura_master() { + xdotool key --delay 75 return sleep .9 key --delay 75 alt sleep .5 key --delay 75 alt +} + +g_charge_of_fury() { + xdotool key --delay 75 return sleep .95 key --delay 75 alt sleep .4 key --delay 75 alt sleep .65 key --delay 75 alt sleep .6 key --delay 75 alt sleep .6 key --delay 75 alt +} + +giga_candela() { + xdotool key --delay 75 return sleep 2 key --delay 75 alt $(for i in {1..2} ; do echo "sleep .4 key --delay 75 alt ";done) sleep 1.3 key --delay 75 alt sleep 1 key --delay 75 alt sleep .7 key --delay 75 alt sleep .7 key --delay 75 alt sleep .5 key --delay 75 alt +} + +gods_anger() { + xdotool key --delay 75 return sleep .85 key --delay 75 alt sleep .3 key --delay 75 alt sleep .65 key --delay 75 alt sleep .4 key --delay 75 alt sleep .6 key --delay 75 alt sleep .6 key --delay 75 alt sleep .65 key --delay 75 alt +} + +heavens_winds() { + xdotool key --delay 75 return sleep .65 key --delay 75 alt $(for i in {1..7} ; do echo -n "sleep .32 key --delay 75 alt ";done) +} + +infinite_pain() { +# xdotool key --delay 250 return key --delay 250 Down key --delay 250 return $(for i in {1..4} ; do echo -n "key --delay 150 Down ";done) + xdotool key --delay 75 return sleep .8 key --delay 75 alt $(for i in {1..2} ; do echo "sleep .49 key --delay 75 alt ";done) sleep 3 key --delay 75 alt +} + +infinite_pulse() { + xdotool key --delay 75 return sleep .8 key --delay 75 alt $(for i in {1..3} ; do echo "sleep .4 key --delay 75 alt ";done) sleep .6 key --delay 75 alt sleep 1 key --delay 75 alt sleep 1.3 key --delay 75 alt sleep .4 key --delay 75 alt +} + +lunar_cannon() { + xdotool key --delay 75 return sleep .8 key --delay 75 alt sleep .7 key --delay 75 alt sleep 1.95 key --delay 75 alt sleep .7 key --delay 75 alt sleep .6 key --delay 75 alt +} + +merciless_vengeance() { +# xdotool key --delay 250 return key --delay 250 Down key --delay 250 return $(for i in {1..4} ; do echo -n "key --delay 150 Down ";done) + xdotool key --delay 75 return sleep 1.1 key --delay 75 alt $(for i in {1..5} ; do echo -n "sleep .63 key --delay 75 alt ";done) $(for i in {1..3} ; do echo -n "sleep .3261 key --delay 75 alt ";done) sleep .8 key --delay 75 alt sleep .5 key --delay 75 alt sleep .7 key --delay 75 alt sleep .3 key --delay 75 alt +} + +meteor_rush() { + xdotool key --delay 75 return sleep 1 key --delay 75 alt sleep .8 key --delay 75 alt sleep .4 key --delay 75 alt sleep 1 key --delay 75 alt sleep .5 key --delay 75 alt sleep 1 key --delay 75 alt +} + +murder_on_demand() { + local scrollString=("key --delay 75 return sleep .88 key --delay 75 alt sleep .4 key --delay 75 alt") + for i in {1..3} ; do + scrollString+=("sleep 1.05 key --delay 75 alt") + done + scrollString+=("sleep .8 key --delay 75 alt") + scrollString+=("sleep 1 key --delay 75 alt") + for i in {1..2} ; do + scrollString+=("sleep .88 key --delay 75 alt") + done + scrollString+=("sleep .58 key --delay 75 alt") + scrollString+=("sleep .89 key --delay 75 alt") + for i in {6..4..-1} ; do + scrollString+=("sleep .${i} key --delay 75 alt") + done + for i in {1..4} ; do + scrollString+=("sleep .4 key --delay 75 alt") + done + xdotool ${scrollString[*]} +} + +oblivion_dance() { + xdotool key --delay 75 return sleep 1.5 key --delay 75 alt sleep 1.25 key --delay 75 alt sleep .5 key --delay 75 alt +} + +r_avenging_spirit() { + xdotool key --delay 75 return sleep .79 key --delay 75 alt $(for i in {1..7} ; do echo -n "sleep .385 key --delay 75 alt ";done) sleep .6 key --delay 75 alt sleep .7 key --delay 75 alt +} + +r_heavens_winds() { + xdotool key --delay 75 return sleep .66 key --delay 75 alt $(for i in {1..7} ; do echo -n "sleep .32 key --delay 75 alt ";done) +} + +unending_curse() { + xdotool key --delay 75 return sleep 5.53 $(for i in {1..10} ; do echo "key --delay 75 alt sleep .38 ";done) +} + +sleep .5 +case "$1" in + aura_master) ;& + avenging_spirit) ;& + black_hole) ;& + charge_of_fury) ;& + death_in_three_easy_steps) ;& + demons_gift) ;& + destruction_of_the_heavens) ;& + diabolical_fire) ;& + embodiment_of_cruelclaw) ;& + embodiment_of_power) ;& + embodiment_of_righteousness) ;& + embodiment_of_selflessness) ;& + embodiment_of_valor) ;& + energy_burst) ;& + fatal_blast) ;& + flame_blizzard) ;& + g_aura_master) ;& + g_charge_of_fury) ;& + gods_anger) ;& + giga_candela) ;& + heavens_winds) ;& + infinite_pain) ;& + infinite_pulse) ;& + lunar_cannon) ;& + merciless_vengeance) ;& + meteor_rush) ;& + murder_on_demand) ;& + oblivion_dance) ;& + r_avenging_spirit) ;& + r_heavens_winds) ;& + unending_curse) $1 ;; + "-h"|"--help") echo "${usage}";; + *) exit 1 +esac + +exit 0 From 7d0c3d3b66e2f765f81931094717915d43404028 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 29 Aug 2021 09:44:34 -0400 Subject: [PATCH 4/8] Few adjustments to the dragon scroll script. --- game-scripts/paladin-of-the-sky-dragonscroll.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/game-scripts/paladin-of-the-sky-dragonscroll.sh b/game-scripts/paladin-of-the-sky-dragonscroll.sh index 2c03482..241550e 100755 --- a/game-scripts/paladin-of-the-sky-dragonscroll.sh +++ b/game-scripts/paladin-of-the-sky-dragonscroll.sh @@ -39,7 +39,7 @@ destruction_of_the_heavens() { for i in {1..14} ; do scrollString+=("sleep .365 key --delay 75 alt") done - scrollString+=("sleep .8 key --delay 75 alt") + scrollString+=("sleep .795 key --delay 75 alt") scrollString+=("sleep 2.5 key --delay 75 alt") xdotool ${scrollString[*]} } @@ -115,7 +115,6 @@ heavens_winds() { } infinite_pain() { -# xdotool key --delay 250 return key --delay 250 Down key --delay 250 return $(for i in {1..4} ; do echo -n "key --delay 150 Down ";done) xdotool key --delay 75 return sleep .8 key --delay 75 alt $(for i in {1..2} ; do echo "sleep .49 key --delay 75 alt ";done) sleep 3 key --delay 75 alt } @@ -173,6 +172,11 @@ unending_curse() { xdotool key --delay 75 return sleep 5.53 $(for i in {1..10} ; do echo "key --delay 75 alt sleep .38 ";done) } +volcanic_storm() { +# xdotool key --delay 250 return key --delay 250 Down key --delay 250 return $(for i in {1..2} ; do echo -n "key --delay 150 Down ";done) + xdotool key --delay 75 return sleep 10.5 key --delay 75 alt sleep 5.15 key --delay 75 alt sleep .4 key --delay 75 alt sleep .4 key --delay 75 alt +} + sleep .5 case "$1" in aura_master) ;& @@ -205,7 +209,8 @@ case "$1" in oblivion_dance) ;& r_avenging_spirit) ;& r_heavens_winds) ;& - unending_curse) $1 ;; + unending_curse) ;& + volcanic_storm) $1 ;; "-h"|"--help") echo "${usage}";; *) exit 1 esac From 0abdab844208ca0aa1e67198e650f92e23856e7d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 29 Aug 2021 10:05:05 -0400 Subject: [PATCH 5/8] Added the game Psycho Strike, but it is disabled by default because it freezes after the first level. --- audiogame-manager.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 23695ab..f420aa2 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -876,6 +876,7 @@ gameList=( "Park Boss" "Perilous Hearts" "Pontes Kickups!" + #"Psycho Strike" "Q9" "Revenge of the Undead" "Rhythm Rage" @@ -1890,6 +1891,12 @@ EOF wine "${cache}/perilous hearts concept demo.exe" /silent add_launcher "c:\Program Files\Perilous Hearts Concept Demo\perilous_hearts.exe" ;; + "Psycho Strike") + install_wine_bottle speechsdk + download "http://www.vgstorm.com/psycho_strike_installer.exe" + wine "${cache}/psycho_strike_installer.exe" /silent + add_launcher "c:\Program Files\VGStorm.com\Psycho Strike\strike.exe" + ;; "Q9") install_wine_bottle download "http://www.blastbay.com/q9_english_installer.exe" From e0729f8821d6051d6d5a522c0a75c6f14766f269 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 9 Sep 2021 20:04:07 -0400 Subject: [PATCH 6/8] Updated golden crayon installer and update script. --- audiogame-manager.sh | 2 +- game-scripts/golden-crayon-update.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index f420aa2..e28fc78 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1642,7 +1642,7 @@ case "${game}" in 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 "{}" \; + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\Program Files\\golden_crayon\gc.exe" ;; "GMA Tank Commander") diff --git a/game-scripts/golden-crayon-update.sh b/game-scripts/golden-crayon-update.sh index 27c7fcf..fb648f0 100755 --- a/game-scripts/golden-crayon-update.sh +++ b/game-scripts/golden-crayon-update.sh @@ -39,10 +39,12 @@ # Works which are defined in the CPAL as a work which combines Covered Code # or portions thereof with code not governed by the terms of the CPAL. +cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache" pushd ~/.local/wine/golden-crayon/drive_c/Program\ Files/golden_crayon/ unzip golden_crayon.zip rm -r libs/ mv golden_crayon/* . +find ~/.local/wine/golden-crayon/ -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; find ~/.local/wine/golden-crayon/ -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; rmdir golden_crayon/ popd From e4f06d879902295212fb0982fa681a3a4ee033b8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 10 Sep 2021 12:13:35 -0400 Subject: [PATCH 7/8] Updated Survive the Wild launcher. It seems to change with every update of the game lol. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e28fc78..09325e8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2059,7 +2059,7 @@ EOF download "http://www.samtupy.com/games/stw.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/stw.zip" find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\Survive the Wild\stw.exe" + add_launcher "c:\Program Files\Survive the Wild\stw\stw.exe" ;; "Swamp") export winVer="win7" From 8f5628923f9a5cab05b8f4eb070a01eb76a2958a Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 11 Sep 2021 23:53:28 -0400 Subject: [PATCH 8/8] Comment out some games that aren't working. New binary soon. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 09325e8..7aa446d 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -878,7 +878,7 @@ gameList=( "Pontes Kickups!" #"Psycho Strike" "Q9" - "Revenge of the Undead" + #"Revenge of the Undead" "Rhythm Rage" #"River raiders" "RS Games"