Merge branch 'testing' in preparation for binary release.
This commit is contained in:
commit
10f4871bee
@ -86,10 +86,8 @@ update() {
|
||||
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/${downloadFile} | 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
|
||||
dialog --backtitle "Audiogame Manager" --yesno "There is a new version of ${0##*/} available.\nDo you want to update now?" -1 -1
|
||||
if [[ ${?} -eq 0 ]]; then
|
||||
if [[ -w "$0" ]]; then
|
||||
wget --quiet -O "${filePath}" "https://stormgames.wolfe.casa/downloads/${downloadFile}"
|
||||
chmod +x "$0"
|
||||
@ -498,6 +496,11 @@ echo "Loading documentation, please wait..."
|
||||
}
|
||||
|
||||
winetricks() {
|
||||
# Report used packages to the winetricks maintainer so he knows they are being used.
|
||||
if ! [[ -e "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" ]]; then
|
||||
mkdir -p "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/"
|
||||
echo "1" > "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage"
|
||||
fi
|
||||
# Download or update agm's copy of winetricks
|
||||
if [[ ! -e "${cache}/winetricks" ]]; then
|
||||
checkWinetricksUpdate="true"
|
||||
@ -520,10 +523,10 @@ install_rhvoice() {
|
||||
if [[ "$norh" == "true" ]]; then
|
||||
return
|
||||
fi
|
||||
download "https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Bdl-v4.1.9-setup.exe"
|
||||
download "https://rhvoice.eu-central-1.linodeobjects.com/RHVoice-voice-English-Bdl-v4.1.2007.13-setup.exe"
|
||||
winetricks -q win8
|
||||
echo "Installing RHVoice..."
|
||||
wine "${cache}/RHVoice-voice-English-Bdl-v4.1.9-setup.exe" &
|
||||
wine "${cache}/RHVoice-voice-English-Bdl-v4.1.2007.13-setup.exe" &
|
||||
sleep 20
|
||||
wineserver -k
|
||||
}
|
||||
@ -829,6 +832,10 @@ unset noCache
|
||||
# Manual installation is not default, make sure it's unset
|
||||
unset manualInstall
|
||||
|
||||
# Set up logging
|
||||
echo -e "\n\n-----> Logging started at $(date '+%A, %B %d, %Y at %I:%M%p')\n" >> "${cache}/audiogame-manager.log"
|
||||
exec &> >(/usr/bin/tee -a "${cache}/audiogame-manager.log")
|
||||
|
||||
# The list of games available for installation.
|
||||
# Use menu friendly names.
|
||||
gameList=(
|
||||
@ -894,6 +901,7 @@ gameList=(
|
||||
"Challenge of the Horse"
|
||||
#"Chopper Challenge"
|
||||
"Christmas WhoopAss"
|
||||
"Code Dungeon"
|
||||
#"Constant Battle"
|
||||
"Copter Mission"
|
||||
"Crazy Party"
|
||||
@ -965,12 +973,13 @@ gameList=(
|
||||
"Silver Dollar"
|
||||
"Slender Lost Vision"
|
||||
#"Shooter"
|
||||
"Sonic the Hedgehog"
|
||||
"Sonic Zoom"
|
||||
#"Space Defender"
|
||||
"Super Dogs Bone Hunt"
|
||||
"Super Egg Hunt"
|
||||
"Super Liam"
|
||||
#"Super Mario Bros"
|
||||
"Super Mario Bros"
|
||||
"Survive the Wild"
|
||||
"Swamp"
|
||||
"Technoshock"
|
||||
@ -1063,7 +1072,7 @@ case "${game}" in
|
||||
install_wine_bottle xna31 speechsdk corefonts
|
||||
# Dotnet is evil. That is all.
|
||||
DISPLAY="" winetricks -q dotnet40
|
||||
winetricks -k # Really!
|
||||
wineserver -k # Really!
|
||||
download "http://files.OutOfSightGames.com/files/a-heros-call.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/a-heros-call.zip"
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
||||
@ -1568,6 +1577,17 @@ case "${game}" in
|
||||
wine "${cache}/christmas whoopass setup.exe" /sp- /silent
|
||||
add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
|
||||
;;
|
||||
"Code Dungeon")
|
||||
get_installer "codedungeon-win-64.zip" "https://stealcase.itch.io/codedungeon"
|
||||
export WINEARCH=win64
|
||||
export winVer="win8"
|
||||
install_wine_bottle
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files/code-dungeon" "${cache}/codedungeon-win-64.zip"
|
||||
# Weird work around to get keyboard working.
|
||||
winetricks -q usetakefocus=y
|
||||
winetricks -q usetakefocus=n
|
||||
add_launcher "c:\Program Files\code-dungeon\Code Dungeon.exe"
|
||||
;;
|
||||
"Copter Mission")
|
||||
export bottle="oriol-gomez"
|
||||
export winVer="win7"
|
||||
@ -1593,7 +1613,7 @@ case "${game}" in
|
||||
"Crime Hunter")
|
||||
export WINEARCH=win64
|
||||
export winVer="win7"
|
||||
install_wine_bottle
|
||||
install_wine_bottle sapi
|
||||
download "http://masonasons.me/softs/CH2.0Win.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll"
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files/crime-hunter" "${cache}/CH2.0Win.zip"
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \;
|
||||
@ -1675,7 +1695,7 @@ case "${game}" in
|
||||
install_wine_bottle speechsdk msvcrt40
|
||||
# Ok, more dotnet.
|
||||
DISPLAY="" winetricks -q dotnet48 xna40
|
||||
winetricks -k # Sigh.
|
||||
wineserver -k # Sigh.
|
||||
download "http://blind-games.com/newentombed/EntombedSetup.exe"
|
||||
wine "${cache}/EntombedSetup.exe" /silent
|
||||
add_launcher "c:\Program Files\Entombed\Entombed.exe"
|
||||
@ -2212,6 +2232,16 @@ EOF
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \;
|
||||
add_launcher "c:\Program Files\shooter\shooter.exe"
|
||||
;;
|
||||
"Sonic the Hedgehog")
|
||||
export winVer="win7"
|
||||
install_wine_bottle speechsdk
|
||||
download "https://www.agarchive.net/games/jeqoconGames/sonic%20the%20hedgehog.7z"
|
||||
7z e -o"$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog" "${cache}/sonic the hedgehog.7z"
|
||||
cp -v "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.wav "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.ogg "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.mp3 "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/sfx/
|
||||
cp -v "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.wav "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.ogg "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.mp3 "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/music/
|
||||
cp -v "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.wav "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.ogg "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/*.mp3 "$WINEPREFIX/drive_c/Program Files/Sonic the Hedgehog"/angles/
|
||||
add_launcher "c:\Program Files\Sonic the Hedgehog\sth.exe"
|
||||
;;
|
||||
"Sonic Zoom")
|
||||
export winVer="win7"
|
||||
install_wine_bottle speechsdk
|
||||
@ -2253,6 +2283,7 @@ EOF
|
||||
install_wine_bottle speechsdk
|
||||
download "https://www.agarchive.net/games/jeqoconGames/super%20mario%20bros.7z"
|
||||
7z e -o"$WINEPREFIX/drive_c/Program Files/Super Mario Bros" "${cache}/super mario bros.7z"
|
||||
cp -v "$WINEPREFIX/drive_c/Program Files/Super Mario Bros"/*.wav "$WINEPREFIX/drive_c/Program Files/Super Mario Bros"/*.ogg "$WINEPREFIX/drive_c/Program Files/Super Mario Bros"/mario/
|
||||
add_launcher "c:\Program Files\Super Mario Bros\Mario.exe"
|
||||
;;
|
||||
"Survive the Wild")
|
||||
|
Loading…
Reference in New Issue
Block a user