Conjury fully added and working.

This commit is contained in:
Michael Taboada 2023-12-02 13:20:20 -08:00
parent aedc053e5b
commit a605139210

View File

@ -418,6 +418,8 @@ get_installer() {
get_steam() {
# Arguments: $1 id of item for download, $2 url for game
trap "exit 0" SIGINT
echo "The next steps will install through steamcmd."
alert
# Check for steamcmd
if ! command -v steamcmd &> /dev/null ; then
dialog --backtitle "Audiogame Manager" \
@ -427,7 +429,7 @@ get_steam() {
# Get Steam user name.
steamUser="$(dialog --ok-label "Continue" \
--backtitle "Audiogame Manager" \
--inputbox "Please enter your Steam user name:" -1 -1)"
--inputbox "Please enter your Steam user name:" -1 -1 --stdout)"
# Create message for dialog.
local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2"
if echo "$2" | xclip -selection clipboard 2> /dev/null ; then
@ -437,7 +439,7 @@ get_steam() {
--backtitle "Audiogame Manager" \
--msgbox "$message" -1 -1
# Download the game
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$HOME/.local/wine/$bottle/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$WINEPREFIX/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \
--infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1
exit 1; }
}
@ -1122,6 +1124,7 @@ gameList=(
"Clashes of the Sky"
"Code Dungeon"
"Coin Collector"
"Conjury"
#"Constant Battle"
"Copter Mission"
"Crazy Party"
@ -1942,6 +1945,15 @@ download "https://erion.cf/files/ag_103.zip"
find "$WINEPREFIX/drive_c/Program Files/coin collector" -type f -name "nvdaControllerClient64.dll" -exec cp -v "$cache/nvda2speechd64.dll" "{}" \;
add_launcher "c:\Program Files\coin collector\game.exe"
;;
"Conjury")
download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"
export WINEARCH=win64
export winVer="win8"
install_wine_bottle
get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/"
find "$WINEPREFIX" -type f -name 'nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \;
add_launcher 'c:\Program Files\release\Conjury.exe'
;;
"Constant Battle")
export winVer="win7"
download "https://renovagames.com/bc/BC-Setup.exe"