Merge branch 'testing' in preparation for binary release.
This commit is contained in:
commit
226c080cd0
@ -307,6 +307,9 @@ download() {
|
|||||||
dest="${dest//%20/ }"
|
dest="${dest//%20/ }"
|
||||||
# Remove the destination file if it is empty.
|
# Remove the destination file if it is empty.
|
||||||
test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null
|
test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null
|
||||||
|
if [[ "${redownload}" == "true" ]] && [[ -e "${cache}/${dest}" ]]; then
|
||||||
|
rm -v "${cache}/${dest}"
|
||||||
|
fi
|
||||||
# Skip if the item is in cache.
|
# Skip if the item is in cache.
|
||||||
test -e "${cache}/${dest}" && continue
|
test -e "${cache}/${dest}" && continue
|
||||||
if ! wget -4 -O "${cache}/${dest}" "${i}" ; then
|
if ! wget -4 -O "${cache}/${dest}" "${i}" ; then
|
||||||
@ -696,7 +699,9 @@ game_launcher() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$game" =~ warsim ]]; then
|
if [[ "$game" =~ warsim ]]; then
|
||||||
wine "$winePath\\$wineExec"
|
pushd "$(winepath "$winePath")"
|
||||||
|
wine "$wineExec"
|
||||||
|
popd
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then
|
if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then
|
||||||
@ -871,7 +876,7 @@ gameList=(
|
|||||||
"Sequence Storm"
|
"Sequence Storm"
|
||||||
#"Shades of Doom 1.2"
|
#"Shades of Doom 1.2"
|
||||||
"Shades of Doom"
|
"Shades of Doom"
|
||||||
#"Silver Dollar"
|
"Silver Dollar"
|
||||||
"Slender Lost Vision"
|
"Slender Lost Vision"
|
||||||
"Sonic Zoom"
|
"Sonic Zoom"
|
||||||
#"Space Defender"
|
#"Space Defender"
|
||||||
@ -927,6 +932,7 @@ declare -A command=(
|
|||||||
[l:]="Launch given game without interactive audiogame-manager menu specified by its wine bottle."
|
[l:]="Launch given game without interactive audiogame-manager menu specified by its wine bottle."
|
||||||
[N]="No cache, delete the installer after it has been extracted."
|
[N]="No cache, delete the installer after it has been extracted."
|
||||||
[P]="Print a list of packages required by audiogame-manager."
|
[P]="Print a list of packages required by audiogame-manager."
|
||||||
|
[R]="Redownload. Removes old versions of packages from cache before installing."
|
||||||
[r]="Remove a game. This will delete all game data."
|
[r]="Remove a game. This will delete all game data."
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -951,6 +957,7 @@ while getopts "${args}" i ; do
|
|||||||
l) game_launcher "${OPTARG}";;
|
l) game_launcher "${OPTARG}";;
|
||||||
N) noCache="true";;
|
N) noCache="true";;
|
||||||
P) checklist quiet;;
|
P) checklist quiet;;
|
||||||
|
R) redownload="true";;
|
||||||
r) game_removal;;
|
r) game_removal;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -959,7 +966,10 @@ done
|
|||||||
case "${game}" in
|
case "${game}" in
|
||||||
"A Hero's Call")
|
"A Hero's Call")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
install_wine_bottle dotnet40 xna31 speechsdk corefonts
|
install_wine_bottle xna31 speechsdk corefonts
|
||||||
|
# Dotnet is evil. That is all.
|
||||||
|
DISPLAY="" winetricks -q dotnet40
|
||||||
|
winetricks -k # Really!
|
||||||
download "http://files.OutOfSightGames.com/files/a-heros-call.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
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"
|
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" "{}" \;
|
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
||||||
@ -1430,7 +1440,7 @@ case "${game}" in
|
|||||||
;;
|
;;
|
||||||
"Constant Battle")
|
"Constant Battle")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
install_wine_bottle speechsdk
|
install_wine_bottle cjkfonts speechsdk
|
||||||
download "https://renovagames.com/bc/BC-Setup.exe"
|
download "https://renovagames.com/bc/BC-Setup.exe"
|
||||||
wine "${cache}/BC-Setup.exe" /silent
|
wine "${cache}/BC-Setup.exe" /silent
|
||||||
#add_launcher "c:\Program Files\"
|
#add_launcher "c:\Program Files\"
|
||||||
@ -1503,7 +1513,10 @@ case "${game}" in
|
|||||||
"Entombed")
|
"Entombed")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
#install_wine_bottle dotnet35 msvcrt40 speechsdk
|
#install_wine_bottle dotnet35 msvcrt40 speechsdk
|
||||||
install_wine_bottle speechsdk msvcrt40 dotnet48 xna40
|
install_wine_bottle speechsdk msvcrt40
|
||||||
|
# Ok, more dotnet.
|
||||||
|
DISPLAY="" winetricks -q dotnet48 xna40
|
||||||
|
winetricks -k # Sigh.
|
||||||
download "http://blind-games.com/newentombed/EntombedSetup.exe"
|
download "http://blind-games.com/newentombed/EntombedSetup.exe"
|
||||||
wine "${cache}/EntombedSetup.exe" /silent
|
wine "${cache}/EntombedSetup.exe" /silent
|
||||||
add_launcher "c:\Program Files\Entombed\Entombed.exe"
|
add_launcher "c:\Program Files\Entombed\Entombed.exe"
|
||||||
@ -1592,7 +1605,7 @@ case "${game}" in
|
|||||||
"Hunter")
|
"Hunter")
|
||||||
install_wine_bottle vb6run dx8vb
|
install_wine_bottle vb6run dx8vb
|
||||||
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
||||||
winetricks -q dotnet35
|
DISPLAY="" winetricks -q dotnet35
|
||||||
wineserver -k # Damn you, dotnet.
|
wineserver -k # Damn you, dotnet.
|
||||||
download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
|
download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
|
||||||
wine "${cache}/HunterSetup.exe" /silent &
|
wine "${cache}/HunterSetup.exe" /silent &
|
||||||
@ -1906,6 +1919,10 @@ EOF
|
|||||||
install_wine_bottle speechsdk
|
install_wine_bottle speechsdk
|
||||||
download "http://download.dracoent.com/Windows/SilverDollarSetup.exe"
|
download "http://download.dracoent.com/Windows/SilverDollarSetup.exe"
|
||||||
wine "${cache}/SilverDollarSetup.exe" /silent
|
wine "${cache}/SilverDollarSetup.exe" /silent
|
||||||
|
# warning warning warning: Do not change location, or installer will not function.
|
||||||
|
# FIXME: Hacky, but it works. Install dotnet40 by itself so it actually doesn't hang.
|
||||||
|
DISPLAY="" winetricks -q dotnet40
|
||||||
|
wineserver -k # Damn you, dotnet.
|
||||||
add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe"
|
add_launcher "c:\Program Files\Draconis Entertainment\Silver Dollar\SilverDollarGui.exe"
|
||||||
;;
|
;;
|
||||||
"Slender Lost Vision")
|
"Slender Lost Vision")
|
||||||
@ -2048,7 +2065,7 @@ EOF
|
|||||||
"Troopanum2")
|
"Troopanum2")
|
||||||
install_wine_bottle vb6run dx8vb
|
install_wine_bottle vb6run dx8vb
|
||||||
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
|
||||||
winetricks -q dotnet35
|
DISPLAY="" winetricks -q dotnet35
|
||||||
wineserver -k # Damn you, dotnet.
|
wineserver -k # Damn you, dotnet.
|
||||||
download "https://www.agarchive.net/games/bsc/Troopanum2Setup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
|
download "https://www.agarchive.net/games/bsc/Troopanum2Setup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
|
||||||
wine "${cache}/Troopanum2Setup.exe" /silent &
|
wine "${cache}/Troopanum2Setup.exe" /silent &
|
||||||
|
Loading…
Reference in New Issue
Block a user