From 091daa7dad261a514694231abae342e3ebeebc35 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 20 Sep 2020 14:31:11 -0400 Subject: [PATCH 01/21] Make it easy to configure the default voice for wine prefixes. --- set-voice.sh | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100755 set-voice.sh diff --git a/set-voice.sh b/set-voice.sh new file mode 100755 index 0000000..e878f21 --- /dev/null +++ b/set-voice.sh @@ -0,0 +1,162 @@ +#!/bin/bash +# Set Voice +# Set the default wine voice based on installed options. +# +# Copyright 2020, Storm Dragon, +# +# This is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free +# Software Foundation; either version 3, or (at your option) any later +# version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this package; see the file COPYING. If not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. +# +#--code-- + +# Settings to improve accessibility of dialog. +export DIALOGOPTS='--insecure --no-lines --visit-items' + +# Get the desired wine bottle + +declare -a bottle +for i in $(find ~/.local/wine -maxdepth 1 -type d -not -name 'wine' | sort) ; do + bottle+=("$i" "${i##*/}") + done +export WINEPREFIX="$(dialog --backtitle "Use the up and down arrow keys to find the option you want, then press enter to select it." \ + --clear \ + --no-tags \ + --menu "Select A Wine Bottle" 0 0 0 "${bottle[@]}" --stdout)" + +if [[ -z "${WINEPREFIX}" ]]; then + exit 0 +fi + +echo "wineprefix = $WINEPREFIX" + +msgbox() { +# Returns: None +# Shows the provided message on the screen with an ok button. +dialog --clear --msgbox "$*" 0 0 +} + +infobox() { + # Returns: None + # Shows the provided message on the screen with no buttons. + local timeout=3 + dialog --infobox "$*" 0 0 + read -n1 -t $timeout continue + # Clear any keypresses from the buffer + read -t 0.01 continue +} + +yesno() { + # Returns: Yes or No + # Args: Question to user. + # Called in if $(yesno) == "Yes" + # Or variable=$(yesno) + dialog --clear --backtitle "Press 'Enter' for "yes" or 'Escape' for "no"." --yesno "$*" 0 0 --stdout + if [[ $? -eq 0 ]]; then + echo "Yes" + else + echo "No" + fi +} + +menulist() { + # Args: List of items for menu. + # returns: selected tag + declare -a menuList + for i in "${@}" ; do + menuList+=("$i" "$i") + done + dialog --backtitle "$(gettext "Use the up and down arrow keys to find the option you want, then press enter to select it.")" \ + --clear \ + --extra-button \ + --extra-label "$(gettext "Test Voice")" \ + --no-tags \ + --menu "$(gettext "Please select one")" 0 0 0 "${menuList[@]}" --stdout + return $? +} + +restore_voice() { + if [[ $doRestore -eq 0 ]]; then + wineserver -k # If we don't do this it's likely wine will overwrite our reverted change or even clobber the registry key entirely + sed -i -E -e 's/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\(SOFTWARE|Software)\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^"]+"/"DefaultTokenId"="'"${oldVoice//\\/\\\\}"'"/g' "${WINEPREFIX}/user.reg" + fi +} + +set_voice() { + doRestore=1 + local tmp="$1" + local fullVoice + local counter=0 + for x in ${voiceList[@]} ; do + [ "$x" = "$tmp" ] && break + counter=$(( $counter + 1 )) + done + fullVoice=${voiceListFullName[$counter]} + wineserver -k # If we don't do this it's likely wine will overwrite our reverted change or even clobber the registry key entirely + sed -i -E -e 's/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\(SOFTWARE|Software)\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^"]+"/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\'"${fullVoice//\\/\\\\}"'"/g' "${WINEPREFIX}/user.reg" +} + +test_voice() { + doRestore=0 + local tmp="$1" + local fullVoice + local counter=0 + for x in ${voiceList[@]} ; do + [ "$x" = "$tmp" ] && break + counter=$(( $counter + 1 )) + done + fullVoice=${voiceListFullName[$counter]} + wineserver -k # If we don't do this it's likely wine will overwrite our reverted change or even clobber the registry key entirely + sed -i -E -e 's/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\(SOFTWARE|Software)\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^"]+"/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\'"${fullVoice//\\/\\\\}"'"/g' "${WINEPREFIX}/user.reg" + cat << "EOF" > /tmp/speak.vbs + dim speechobject + set speechobject=createobject("sapi.spvoice") + speechobject.speak "This is a test of your chosen voice. It contains multiple sentences and punctuation, and is designed to give a full representation of this voices qualities." +EOF + wine cscript "z:\tmp\speak.vbs" +} + +# Handle voice restore, but only if voice changed +doRestore=1 +trap restore_voice SIGINT + +# Create an array of available voices. +ifs="$IFS" +IFS=$'\n' +voiceListFullName=($(grep -P '\[Software\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^\\]+\].*' "${WINEPREFIX}/system.reg" | sed -E -e 's/\[([^]]+)\].*/\1/g')) +IFS="$ifs" +voiceList=() +for x in "${voiceListFullName[@]}" ; do + voiceList+=("$(echo "$x" | rev | cut -d\\ -f1 | rev)") +done +oldVoice="$(grep -P '"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\(SOFTWARE|Software)\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^"]+"' "${WINEPREFIX}/user.reg" | sed -E -e 's/"DefaultTokenId"="([^"]+)"/\1/g')" +echo "oldVoice: ${oldVoice}" +echo "voiceList: ${voiceList[@]}" +echo "voiceListFullName: ${voiceListFullName[@]}" +#exit 1 +exit=1 +while [[ $exit -ne 0 ]] ; do +voice="$(menulist ${voiceList[@]})" + +case $? in + 0) + set_voice "$voice" ; exit=0 ;; + 3) + test_voice "$voice";; + *) + restore_voice ; exit=0 ;; +esac +done + +exit 0 From 625a32c9c18f7c714435000f30f8489e8c8ed4aa Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 20 Sep 2020 15:23:58 -0400 Subject: [PATCH 02/21] Fixes for Battle Zone, speech now works. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d192238..4205437 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -331,12 +331,12 @@ case "${game}" in add_launcher "c:\Program Files\Two Caring Citizens\Adrian's Doom!\adrian.exe" ;; "Battle Zone") - # Speech not working through sapi. export winVer="win7" install_wine_bottle speechsdk download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe" wine "${cache}/battle zone 13.5 setup.exe" /silent add_launcher "c:\Program Files\Battle Zone\ss.exe" + rm -fv "${WINEPREFIX}/drive_c/Program Files/Battle Zone/nvdaControllerClient32.dll" ;; "Bloodshed") install_wine_bottle speechsdk @@ -348,8 +348,8 @@ case "${game}" in install_wine_bottle speechsdk download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta73.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta73.zip" - rm -f "$WINEPREFIX/drive_c/Program Files/Crazy-Party-beta73/nvdaControllerClient32.dll" add_launcher "c:\Program Files\Crazy-Party-beta73\Crazy Party.exe" + rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta73/nvdaControllerClient32.dll" ;; "Easter Quest") install_wine_bottle From f4a1496517dd53c8033203b04038c69abce003d1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 20 Sep 2020 16:05:05 -0400 Subject: [PATCH 03/21] Removed survive the wild. Was being difficult, and no one has requested it. --- audiogame-manager.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4205437..69f465b 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -282,7 +282,6 @@ gameList=( "Shades of Doom" "Super Egg Hunt" "Super Liam" - "Survive the Wild" "Swamp" "The Blind Swordsman" "The Road to Rage" @@ -408,13 +407,6 @@ case "${game}" in wine "${cache}/superliamsetup.exe" /silent add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" ;; - "Survive the Wild") - export winVer="win7" - install_wine_bottle setupapi speechsdk - download "http://www.samtupy.com/games/STWSetup.exe" - wine "${cache}/STWSetup.exe" /silent - add_launcher "c:\Program Files\Sam Tupy\Survive the Wild\stw.exe" - ;; "Swamp") winetricksSettings="vd=1024x768" install_wine_bottle vb6run dx8vb quartz speechsdk corefonts @@ -475,13 +467,6 @@ case "${game}" in wine "${cache}/rsgames-client-setup-2.01.exe" /silent add_launcher "c:\Program Files\RS Games Client\rsg.exe" ;; - "Undead Assault") - # Does not speak with sapi. - install_wine_bottle speechsdk vcrun6sp6 - download "http://undead-assault.com/static/files/public/undead_assault.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/undead_assault.zip" - add_launcher "c:\Program Files\Undead Assault.exe" - ;; "Make a One Time Donation") xdg-open "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" ;; From a876df27d7fbbfef70704e89b4ecfc0086f8fa47 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 20 Sep 2020 17:42:42 -0400 Subject: [PATCH 04/21] Added update checking. --- audiogame-manager.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 69f465b..ffe0b89 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1,5 +1,27 @@ #!/bin/bash +# Automatic update function +update() { + local filePath="$(command -v ${0})" + if file "${filePath}" | grep 'Bourne-Again shell script, ASCII text' ; then + return + fi + if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/audiogame-manager | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then + return + fi + echo "There is a new version of ${0##*/} available." + echo "Do you want to update now?" + read -r continue + if [[ "${continue,,}" =~ ^y|ye|yes$ ]]; then + if [[ -w "$0" ]]; then + wget --quiet -O "${filePath}" "https://stormgames.wolfe.casa/downloads/audiogame-manager" + else + sudo wget --quiet -O "${filePath}" "https://stormgames.wolfe.casa/downloads/audiogame-manager" + fi + echo "${0##*/} has been updated. Please launch the program again to use the latest version." + exit 0 + fi +} # Wine configuration section @@ -246,6 +268,8 @@ automate_installer() { wineserver -w } +# Check for updates +update # If display isn't set assume we are launching from console and an X environment is running using display :0 if [[ -z "$DISPLAY" ]]; then export DISPLAY=":0" From a18ed1fc327ef5a9c9f3e5537eefe6f4c66b75f3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 21 Sep 2020 06:58:47 -0400 Subject: [PATCH 05/21] Removed road to rage because it does not have plain old sapi support as far as I can tell. --- audiogame-manager.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index ffe0b89..06c11a5 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -103,6 +103,8 @@ help() { } install_wine_bottle() { + # 32 bit installations work best and are the default here, if you need to override it, do it in the game specific installation steps. + export WINEARCH="${WINEARCH:-win32}" local bottle="${game,,}" bottle="${bottle//[[:space:]]/-}" mkdir -p "$HOME/.local/wine/${bottle}" @@ -279,8 +281,6 @@ cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" mkdir -p "${cache}" mkdir -p "${configFile%/*}" -# 32 bit installations work best and are the default here, if you need to override it, do it in the game specific installation steps. -export WINEARCH=win32 # Turn off debug messages export WINEDEBUG="-all" # During installation, you can set winVer to the versions available. @@ -308,7 +308,6 @@ gameList=( "Super Liam" "Swamp" "The Blind Swordsman" - "The Road to Rage" "Technoshock" "Top Speed 3" "Q9" @@ -450,17 +449,6 @@ case "${game}" in unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/theblindswordsmanPC.zip" add_launcher "c:\Program Files\TheBlindSwordsman.exe" ;; - "The Road to Rage") - if [[ "$(uname -m)" != "x86_64" ]]; then - echo "Sorry, this game is only supported on 64 bit systems." - exit 0 - fi - export WINEARCH=win64 - install_wine_bottle speechsdk - download "https://iamtalon.me/games/rtr_ultimate.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rtr_ultimate.zip" - add_launcher "c:\Program Files\rtr_Ultimate\trtr.exe" - ;; "Technoshock") install_wine_bottle download "http://tiflocomp.ru/download/games/technoshock_140b_en.zip" "http://tiflocomp.ru/download/games/technoshock140b_en_update.zip" From ce95044836c62387a9300fb91e130c7399476399 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 29 Sep 2020 22:07:26 -0400 Subject: [PATCH 06/21] Added dialog a11y options. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 06c11a5..c283685 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Dialog accessibility +export DIALOGOPTS='--no-lines --visit-items' + # Automatic update function update() { local filePath="$(command -v ${0})" From b5f33ff90883ce1fbe1a31f7389ea2a295932999 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 4 Oct 2020 12:27:36 -0400 Subject: [PATCH 07/21] Added a default voice rate option using 7 as default in set-voice.sh. --- set-voice.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/set-voice.sh b/set-voice.sh index e878f21..8f40927 100755 --- a/set-voice.sh +++ b/set-voice.sh @@ -1,6 +1,8 @@ #!/bin/bash # Set Voice # Set the default wine voice based on installed options. +# Rate can be specified as a numeric argument to this script, 1 through 9. +# The default rate is 7 # # Copyright 2020, Storm Dragon, # @@ -104,7 +106,9 @@ set_voice() { done fullVoice=${voiceListFullName[$counter]} wineserver -k # If we don't do this it's likely wine will overwrite our reverted change or even clobber the registry key entirely - sed -i -E -e 's/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\(SOFTWARE|Software)\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^"]+"/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\'"${fullVoice//\\/\\\\}"'"/g' "${WINEPREFIX}/user.reg" + # Remove any existing rate change for voices + sed -i '/"DefaultTTSRate"=dword:/d' "${WINEPREFIX}/user.reg" + sed -i -E -e 's/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\(SOFTWARE|Software)\\\\(Wow6432Node\\\\|)Microsoft\\\\Speech\\\\Voices\\\\Tokens\\\\[^"]+"/"DefaultTokenId"="HKEY_LOCAL_MACHINE\\\\'"${fullVoice//\\/\\\\}"'"\n"DefaultTTSRate"=dword:0000000'${2:-7}'/g' "${WINEPREFIX}/user.reg" } test_voice() { @@ -151,7 +155,7 @@ voice="$(menulist ${voiceList[@]})" case $? in 0) - set_voice "$voice" ; exit=0 ;; + set_voice "$voice" "$1" ; exit=0 ;; 3) test_voice "$voice";; *) From b2114a4f53d1ce9d12844d72401c7e0e789e6d35 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 5 Oct 2020 03:51:17 -0400 Subject: [PATCH 08/21] Added game "f*ck That Bird". --- audiogame-manager.sh | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c283685..c8d3409 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -302,6 +302,7 @@ gameList=( "Bloodshed" "Crazy Party" "Easter Quest" + "Fuck That Bird" "Kitchensinc Games" "Light Cars" "Lockpick" @@ -314,8 +315,6 @@ gameList=( "Technoshock" "Top Speed 3" "Q9" - "RS Games" - "Undead Assault" ) # With no arguments, open the game launcher. @@ -382,6 +381,13 @@ case "${game}" in wine "${cache}/easter quest setup.exe" /silent add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" ;; + "Fuck That Bird") + export winVer="win7" + install_wine_bottle + download "http://oriolgomez.com/games/bird_en.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files/fuck that bird" "${cache}/bird_en.zip" + add_launcher "c:\Program Files\fuck that bird/game.exe" + ;; "Kitchensinc Games") install_wine_bottle vb6run speechsdk dx8vb download "https://stormgames.wolfe.casa/downloads/kitchen.tar.xz" @@ -474,14 +480,6 @@ case "${game}" in wine "${cache}/q9_english_installer.exe" /silent add_launcher "c:\Program Files\Q9 Action Game\q9.exe" ;; - "RS Games") - # Does not speak with sapi. - export winetricksSettings="vd=1024x768" - install_wine_bottle speechsdk vcrun6 - download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" - wine "${cache}/rsgames-client-setup-2.01.exe" /silent - add_launcher "c:\Program Files\RS Games Client\rsg.exe" - ;; "Make a One Time Donation") xdg-open "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" ;; From bbe004dc361cf74617eeb2c445cbd203c2613772 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 6 Oct 2020 14:59:04 -0400 Subject: [PATCH 09/21] Testing Entombed. --- audiogame-manager.sh | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c8d3409..c27bbb8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -6,7 +6,7 @@ export DIALOGOPTS='--no-lines --visit-items' # Automatic update function update() { local filePath="$(command -v ${0})" - if file "${filePath}" | grep 'Bourne-Again shell script, ASCII text' ; then + if file "${filePath}" | grep -q 'Bourne-Again shell script, ASCII text' ; then return fi if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/audiogame-manager | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then @@ -302,11 +302,14 @@ gameList=( "Bloodshed" "Crazy Party" "Easter Quest" + "Entombed" "Fuck That Bird" "Kitchensinc Games" "Light Cars" "Lockpick" "Oh Shit!" + "Pontes Kickups!" + "Run For Your Life" "Shades of Doom" "Super Egg Hunt" "Super Liam" @@ -381,6 +384,13 @@ case "${game}" in wine "${cache}/easter quest setup.exe" /silent add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" ;; + "Entombed") + install_wine_bottle msvcrt40 speechsdk xna31 + download "http://www.blind-games.com/EntombedSetup.exe" "http://www.blind-games.com/EntombedUpdate.exe" + wine "${cache}/EntombedSetup.exe" /silent + wine "${cache}/EntombedUpdate.exe" /silent + #add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" + ;; "Fuck That Bird") export winVer="win7" install_wine_bottle @@ -421,6 +431,21 @@ case "${game}" in unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip" add_launcher "c:\Program Files\oh_shit\OhShit.exe" ;; + "Pontes Kickups!") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.pontes.ro/ro/divertisment/games/PontesKickUpsInstaller.exe" + wine "${cache}/PontesKickUpsInstaller.exe" /silent /q + rm -fv "${WINEPREFIX}/drive_c/Program Files/Pontes Games/Pontes Kick-ups/nvdaControllerClient32.dll" + add_launcher "c:\Program Files\Pontes Games\Pontes Kick-ups\PontesKickUps.exe" + ;; + "Run For Your Life") + export winVer="win7" + install_wine_bottle + download "http://oriolgomez.com/games/rfyl_en.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files/run for your life" "${cache}/rfyl_en.zip" + add_launcher "c:\Program Files\run for your life/game.exe" + ;; "Shades of Doom") install_wine_bottle vcrun6 download "http://www.gmagames.com/sod20022.exe" From d8825acdf94abf8e04d93d7b20fcc747dbf400e4 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 7 Oct 2020 11:14:34 -0400 Subject: [PATCH 10/21] Added qjoypad autolaunching with game specific profiles. --- audiogame-manager.sh | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c27bbb8..1d46f97 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -37,16 +37,21 @@ checklist() { else errorList+=("Critical: Wine is not installed. You will not be able to play any games.") fi + if command -v winetricks &> /dev/null ; then + echo "Winetricks is installed." + else + errorList+=("Critical: Winetricks is not installed. This means wine cannot be configured, dependancies cannot be installed, and only self-voicing games have any chance of working.") + fi if command -v wget &> /dev/null ; then echo "Wget is installed." else errorList+=("Critical: Wget is not installed. You will not be able to install any games.") fi - for i in cabextract unzip xz ; do + for i in 7z cabextract unzip xz ; do if command -v $i &> /dev/null ; then echo "${i^} is installed." else - errorList+=("Critical: ${i^} is not installed. You will not be able to install most games.") + errorList+=("Critical: ${i^} is not installed. You will not be able to install some games or their components.") fi done if command -v ocrdesktop &> /dev/null ; then @@ -225,6 +230,15 @@ game_launcher() { # kill any previous existing wineservers for this prefix in case they didn't shut down properly. WINEPREFIX="${HOME}/.local/wine/${game%|*}" wineserver -k # launch the game + if command -v qjoypad &> /dev/null ; then + mkdir -p ~/.qjoypad3 + touch "${HOME}/.qjoypad3/${game%|*}.lyt" + if pgrep qjoypad &> /dev/null ; then + qjoypad -T "${game%|*}" 2> /dev/null + else + qjoypad -T "${game%|*}" 2> /dev/null & + fi + fi WINEPREFIX="${HOME}/.local/wine/${game%|*}" wine start /d "${winePath}" "$wineExec" fi exit 0 @@ -298,6 +312,8 @@ unset manualInstall # Use menu friendly names. gameList=( "Adrian's Doom" + "Adventurers At C" + "AudioDisc" "Battle Zone" "Bloodshed" "Crazy Party" @@ -370,6 +386,19 @@ case "${game}" in download "http://www.samtupy.com/games/bloodshed.exe" cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" ;; + "Adventurers At C") + install_wine_bottle speechsdk + download "http://www.vgstorm.com/aac/aac.zip" "https://www.agarchive.net/games/vg/adventure%20at%20c%20stages.7z" + unzip -d "$WINEPREFIX/drive_c/Program Files/aac" "${cache}/aac.zip" + 7z e -o"$WINEPREFIX/drive_c/Program Files/aac/stages" "${cache}/adventure at c stages.7z" + add_launcher "c:\Program Files\aac\aac.exe" + ;; + "AudioDisc") + install_wine_bottle + download "https://agarchive.net/games/other/audiodisc.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/audiodisc.zip" + add_launcher "c:\Program Files\audiodisc\disco.exe" + ;; "Crazy Party") export winVer="win7" install_wine_bottle speechsdk From d007933106b191dde719c7fdb1f3125254c648e7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 7 Oct 2020 16:48:46 -0400 Subject: [PATCH 11/21] Games that require speechsdk now also install espeak sapi5 version. --- audiogame-manager.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1d46f97..57323e7 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -120,6 +120,11 @@ install_wine_bottle() { # Arguments to the function are dependancies to be installed. (wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent + # If the game requires speechsdk, get the espeak voices. + if [[ "$*" =~ speechsdk ]]; then + download "http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/setup_espeak-1.48.04.exe" + wine "${cache}/setup_espeak-1.48.04.exe" /silent + fi winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 } @@ -385,6 +390,7 @@ case "${game}" in install_wine_bottle speechsdk download "http://www.samtupy.com/games/bloodshed.exe" cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" + add_launcher "c:\Program Files\bloodshed.exe" ;; "Adventurers At C") install_wine_bottle speechsdk From 7daee10e5fc0f91f0bd32e53a0626194074fd554 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 8 Oct 2020 10:42:47 -0400 Subject: [PATCH 12/21] Added game "Finger Panic" --- audiogame-manager.sh | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 57323e7..1e721ac 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -74,6 +74,11 @@ checklist() { else errorList+=("Warning: Wine mono not found, some games may not work.") fi + 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.") + fi # Show the results if [[ ${#errorList[@]} -eq 0 ]]; then echo "No problems found, you are good to go." @@ -324,11 +329,12 @@ gameList=( "Crazy Party" "Easter Quest" "Entombed" + "Finger Panic" "Fuck That Bird" "Kitchensinc Games" "Light Cars" "Lockpick" - "Oh Shit!" + "Lone Wolf" "Pontes Kickups!" "Run For Your Life" "Shades of Doom" @@ -426,6 +432,16 @@ case "${game}" in wine "${cache}/EntombedUpdate.exe" /silent #add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" ;; + "Finger Panic") + install_wine_bottle dx8vb vb6run + download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe" + if command -v xdotool &> /dev/null ; then + wine "${cache}/FingerPanicSetup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers + else + wine "${cache}/FingerPanicSetup.exe" /silent + fi + add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe" + ;; "Fuck That Bird") export winVer="win7" install_wine_bottle @@ -459,12 +475,11 @@ case "${game}" in wine "${cache}/lockpicksetup.exe" /silent add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" ;; - "Oh Shit!") - export winVer="win7" - install_wine_bottle msvcrt40 speechsdk - download "http://samtupy.com/stevend/oh_shit.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip" - add_launcher "c:\Program Files\oh_shit\OhShit.exe" + "Lone Wolf") + install_wine_bottle + download "http://gmagames.com/lw350.exe" + wine "${cache}/lw350.exe" /silent + #add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" ;; "Pontes Kickups!") export winVer="win7" From c7c72a173d92e476ac8ae046d5bf7e33209fe193 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 9 Oct 2020 13:33:37 -0400 Subject: [PATCH 13/21] Added game Manamon. --- audiogame-manager.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1e721ac..5ee9bea 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -335,6 +335,7 @@ gameList=( "Light Cars" "Lockpick" "Lone Wolf" + "Manamon" "Pontes Kickups!" "Run For Your Life" "Shades of Doom" @@ -481,6 +482,13 @@ case "${game}" in wine "${cache}/lw350.exe" /silent #add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" ;; + "Manamon") + export winVer="win7" + install_wine_bottle speechsdk + download "https://www.vgstorm.com/manamon/manamon_installer.exe" + wine "${cache}/manamon_installer.exe" /silent + add_launcher "c:\Program Files\VGStorm.com\Manamon\rpg.exe" + ;; "Pontes Kickups!") export winVer="win7" install_wine_bottle speechsdk From e7d385fb383d2b54b2ba068e2b28fd598cf99626 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 9 Oct 2020 20:53:45 -0400 Subject: [PATCH 14/21] Added game Manamon 2. --- audiogame-manager.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 5ee9bea..b37a710 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -336,6 +336,7 @@ gameList=( "Lockpick" "Lone Wolf" "Manamon" + "Manamon 2" "Pontes Kickups!" "Run For Your Life" "Shades of Doom" @@ -489,6 +490,13 @@ case "${game}" in wine "${cache}/manamon_installer.exe" /silent add_launcher "c:\Program Files\VGStorm.com\Manamon\rpg.exe" ;; + "Manamon 2") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.vgstorm.com/manamon2/manamon2_installer.exe" + wine "${cache}/manamon2_installer.exe" /silent + add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe" + ;; "Pontes Kickups!") export winVer="win7" install_wine_bottle speechsdk From cdec8dcf3e71f144afdc533d378c4472792be6dd Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 9 Oct 2020 20:56:59 -0400 Subject: [PATCH 15/21] Commented Entombed pending further research. --- audiogame-manager.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b37a710..d44d616 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -328,13 +328,12 @@ gameList=( "Bloodshed" "Crazy Party" "Easter Quest" - "Entombed" + #"Entombed" "Finger Panic" "Fuck That Bird" "Kitchensinc Games" "Light Cars" "Lockpick" - "Lone Wolf" "Manamon" "Manamon 2" "Pontes Kickups!" @@ -477,12 +476,6 @@ case "${game}" in wine "${cache}/lockpicksetup.exe" /silent add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" ;; - "Lone Wolf") - install_wine_bottle - download "http://gmagames.com/lw350.exe" - wine "${cache}/lw350.exe" /silent - #add_launcher "c:\Program Files\lWorks\Lockpick\lockpick.exe" - ;; "Manamon") export winVer="win7" install_wine_bottle speechsdk From 315468dd029d8f2057696f2afc6c5dadf3d82382 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 18 Oct 2020 09:20:22 -0400 Subject: [PATCH 16/21] Added game Paladin of the Sky. --- audiogame-manager.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index d44d616..069b980 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -249,7 +249,7 @@ game_launcher() { qjoypad -T "${game%|*}" 2> /dev/null & fi fi - WINEPREFIX="${HOME}/.local/wine/${game%|*}" wine start /d "${winePath}" "$wineExec" + WINEPREFIX="${HOME}/.local/wine/${game%|*}" wine start /realtime /d "${winePath}" "$wineExec" fi exit 0 } @@ -336,6 +336,7 @@ gameList=( "Lockpick" "Manamon" "Manamon 2" + "Paladin of the Sky" "Pontes Kickups!" "Run For Your Life" "Shades of Doom" @@ -490,6 +491,13 @@ case "${game}" in wine "${cache}/manamon2_installer.exe" /silent add_launcher "c:\Program Files\VGStorm.com\Manamon 2\rpg.exe" ;; + "Paladin of the Sky") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.vgstorm.com/cod/pots/paladin_installer.exe" + wine "${cache}/paladin_installer.exe" /silent + add_launcher "c:\Program Files\VGStorm.com\Paladin of the Sky\game.exe" + ;; "Pontes Kickups!") export winVer="win7" install_wine_bottle speechsdk From 00182aba6da9b97b638e46ec090f42afaa9524fd Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 18 Oct 2020 20:33:10 -0400 Subject: [PATCH 17/21] More work on getting Entombed working. --- audiogame-manager.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 069b980..0131159 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -328,7 +328,7 @@ gameList=( "Bloodshed" "Crazy Party" "Easter Quest" - #"Entombed" + "Entombed" "Finger Panic" "Fuck That Bird" "Kitchensinc Games" @@ -428,7 +428,8 @@ case "${game}" in add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" ;; "Entombed") - install_wine_bottle msvcrt40 speechsdk xna31 + export winVer="win7" + install_wine_bottle dotnet35 msvcrt40 speechsdk download "http://www.blind-games.com/EntombedSetup.exe" "http://www.blind-games.com/EntombedUpdate.exe" wine "${cache}/EntombedSetup.exe" /silent wine "${cache}/EntombedUpdate.exe" /silent From e008373255deb71c083470fa3f21b6b4c5f8e8d3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 25 Oct 2020 12:55:26 -0400 Subject: [PATCH 18/21] Added game "Revenge of the undead" --- audiogame-manager.sh | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0131159..20cc5be 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -338,6 +338,7 @@ gameList=( "Manamon 2" "Paladin of the Sky" "Pontes Kickups!" + "Revenge of the Undead" "Run For Your Life" "Shades of Doom" "Super Egg Hunt" @@ -386,20 +387,6 @@ case "${game}" in wine "${cache}/adrian's doom.exe" /silent add_launcher "c:\Program Files\Two Caring Citizens\Adrian's Doom!\adrian.exe" ;; - "Battle Zone") - export winVer="win7" - install_wine_bottle speechsdk - download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe" - wine "${cache}/battle zone 13.5 setup.exe" /silent - add_launcher "c:\Program Files\Battle Zone\ss.exe" - rm -fv "${WINEPREFIX}/drive_c/Program Files/Battle Zone/nvdaControllerClient32.dll" - ;; - "Bloodshed") - install_wine_bottle speechsdk - download "http://www.samtupy.com/games/bloodshed.exe" - cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" - add_launcher "c:\Program Files\bloodshed.exe" - ;; "Adventurers At C") install_wine_bottle speechsdk download "http://www.vgstorm.com/aac/aac.zip" "https://www.agarchive.net/games/vg/adventure%20at%20c%20stages.7z" @@ -413,6 +400,21 @@ case "${game}" in unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/audiodisc.zip" add_launcher "c:\Program Files\audiodisc\disco.exe" ;; + "Battle Zone") + export winVer="win7" + install_wine_bottle speechsdk + download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe" + wine "${cache}/battle zone 13.5 setup.exe" /silent + add_launcher "c:\Program Files\Battle Zone\ss.exe" + rm -fv "${WINEPREFIX}/drive_c/Program Files/Battle Zone/nvdaControllerClient32.dll" + ;; + "Bloodshed") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.samtupy.com/games/bloodshed.exe" + cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" + add_launcher "c:\Program Files\bloodshed.exe" + ;; "Crazy Party") export winVer="win7" install_wine_bottle speechsdk @@ -507,12 +509,20 @@ case "${game}" in rm -fv "${WINEPREFIX}/drive_c/Program Files/Pontes Games/Pontes Kick-ups/nvdaControllerClient32.dll" add_launcher "c:\Program Files\Pontes Games\Pontes Kick-ups\PontesKickUps.exe" ;; + "Revenge of the Undead") + export winVer="win7" + install_wine_bottle speechsdk + download "https://tunmi13.dev/projects/rotu.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rotu.zip" + rm -fv "${WINEPREFIX}/drive_c/Program Files/rotu/nvdaControllerClient32.dll" + add_launcher "c:\Program Files\rotu\rotu.exe" + ;; "Run For Your Life") export winVer="win7" install_wine_bottle download "http://oriolgomez.com/games/rfyl_en.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/run for your life" "${cache}/rfyl_en.zip" - add_launcher "c:\Program Files\run for your life/game.exe" + add_launcher "c:\Program Files\run for your life\game.exe" ;; "Shades of Doom") install_wine_bottle vcrun6 From 1c8c2ff73e178eb6a3b82e12b5fc1ae1c9a367d7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 26 Oct 2020 19:04:21 -0400 Subject: [PATCH 19/21] Preparing to push to master branch. --- audiogame-manager.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 20cc5be..b171709 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -328,7 +328,7 @@ gameList=( "Bloodshed" "Crazy Party" "Easter Quest" - "Entombed" + #"Entombed" "Finger Panic" "Fuck That Bird" "Kitchensinc Games" @@ -509,6 +509,12 @@ case "${game}" in rm -fv "${WINEPREFIX}/drive_c/Program Files/Pontes Games/Pontes Kick-ups/nvdaControllerClient32.dll" add_launcher "c:\Program Files\Pontes Games\Pontes Kick-ups\PontesKickUps.exe" ;; + "Q9") + install_wine_bottle + download "http://www.blastbay.com/q9_english_installer.exe" + 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 @@ -577,12 +583,6 @@ case "${game}" in wine "${cache}/Tspeed_3.0.3.exe" /silent add_launcher "c:\Program Files\Playing in the dark\Top Speed 3\TopSpeed.exe" ;; - "Q9") - install_wine_bottle - download "http://www.blastbay.com/q9_english_installer.exe" - wine "${cache}/q9_english_installer.exe" /silent - add_launcher "c:\Program Files\Q9 Action Game\q9.exe" - ;; "Make a One Time Donation") xdg-open "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" ;; From 047904e4712df3b229e82fb637e4244fff599689 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 27 Oct 2020 10:24:52 -0400 Subject: [PATCH 20/21] Added dialog to the -c option. --- audiogame-manager.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b171709..6db1edb 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -47,6 +47,11 @@ checklist() { else errorList+=("Critical: Wget is not installed. You will not be able to install any games.") fi + if command -v dialog &> /dev/null ; then + echo "Dialog is installed." + else + errorList+=("Critical: Dialog is not installed. You will not be able to install, launch, or remove any games.") + fi for i in 7z cabextract unzip xz ; do if command -v $i &> /dev/null ; then echo "${i^} is installed." From 0f6f5939f36c0eaa6b70a6f8b316f50ada4b2df2 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 1 Nov 2020 21:09:33 -0500 Subject: [PATCH 21/21] Added a game list maker script for Crazy Party. did some restructuring of convenience scripts. --- game-scripts/crazy-party-build-games.sh | 37 +++++++++++++++++++ .../swamp-update.sh | 0 .../topspeedserver.sh | 0 set-voice.sh => speech/set-voice.sh | 0 setup.sh => wine/install-wine.sh | 0 mkwine.sh => wine/mkwine.sh | 0 6 files changed, 37 insertions(+) create mode 100755 game-scripts/crazy-party-build-games.sh rename swamp-update.sh => game-scripts/swamp-update.sh (100%) rename topspeedserver.sh => game-scripts/topspeedserver.sh (100%) rename set-voice.sh => speech/set-voice.sh (100%) rename setup.sh => wine/install-wine.sh (100%) rename mkwine.sh => wine/mkwine.sh (100%) diff --git a/game-scripts/crazy-party-build-games.sh b/game-scripts/crazy-party-build-games.sh new file mode 100755 index 0000000..7897c17 --- /dev/null +++ b/game-scripts/crazy-party-build-games.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +for i in dialog unix2dos; do + if ! command -v $i &> /dev/null ; then + echo "Please install dialog and dos2unix before using this script." + fi +done + +if [[ $# -ne 1 ]]; then + echo "usage: $0 filename without the .txt extension." + exit 1 +fi + +mapfile -t gameList < <(tail +3 "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/Mini-games reference.txt") + +for i in "${gameList[@]}" ; do + menuList+=("$i" "${i#* }" "off") +done + +unset gameList +gameList="$(dialog --clear \ + --no-tags \ + --ok-label "Add Games" \ + --separate-output \ + --backtitle "Select games to add to the $1 list." \ + --checklist "Press space to check or uncheck a selected game." 0 0 0 "${menuList[@]}" --stdout)" + +if [[ -z "${gameList}" ]]; then + exit 0 +fi + +mkdir -p "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/game" +echo "$gameList" >> "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/game/${1}.txt" +sort -uno "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/game/${1}.txt" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/game/${1}.txt" +eunix2dos "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta73/game/${1}.txt" +dialog --infobox "Game list \"$1\" updated." 10 80 +exit 0 diff --git a/swamp-update.sh b/game-scripts/swamp-update.sh similarity index 100% rename from swamp-update.sh rename to game-scripts/swamp-update.sh diff --git a/topspeedserver.sh b/game-scripts/topspeedserver.sh similarity index 100% rename from topspeedserver.sh rename to game-scripts/topspeedserver.sh diff --git a/set-voice.sh b/speech/set-voice.sh similarity index 100% rename from set-voice.sh rename to speech/set-voice.sh diff --git a/setup.sh b/wine/install-wine.sh similarity index 100% rename from setup.sh rename to wine/install-wine.sh diff --git a/mkwine.sh b/wine/mkwine.sh similarity index 100% rename from mkwine.sh rename to wine/mkwine.sh