Now trying keyshare universal
This commit is contained in:
parent
4e6a7ff105
commit
a392b9d7fa
@ -84,7 +84,7 @@ case ${buttonCode} in
|
|||||||
dialog --backtitle "Co-op" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
|
dialog --backtitle "Co-op" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
flags=('-join' "${ipAddress}")
|
flags=("${doomPath}/keyshare-universal.pk3" '-join' "${ipAddress}")
|
||||||
else
|
else
|
||||||
# Get ip address
|
# Get ip address
|
||||||
yourIpAddress="$(curl -4s https://icanhazip.com)"
|
yourIpAddress="$(curl -4s https://icanhazip.com)"
|
||||||
@ -101,12 +101,12 @@ case ${buttonCode} in
|
|||||||
--rangebox "Select difficulty. 1 easiest, 5 hardest." -1 -1 1 5 3 --stdout)"
|
--rangebox "Select difficulty. 1 easiest, 5 hardest." -1 -1 1 5 3 --stdout)"
|
||||||
[[ $? -eq 1 ]] && exit 0
|
[[ $? -eq 1 ]] && exit 0
|
||||||
flags=(
|
flags=(
|
||||||
|
"${doomPath}/keyshare-universal.pk3"
|
||||||
'-host' "${players}"
|
'-host' "${players}"
|
||||||
'-skill' "${skillLevel}"
|
'-skill' "${skillLevel}"
|
||||||
'+set' 'sv_cheats' '1'
|
'+set' 'sv_cheats' '1'
|
||||||
'+set' 'sv_weaponsstay' '1'
|
'+set' 'sv_weaponsstay' '1'
|
||||||
'+set' 'sv_respawnprotect' '1'
|
'+set' 'sv_respawnprotect' '1'
|
||||||
#'+set' 'sv_itemrespawn' '1'
|
|
||||||
'+set' 'sv_respawnsuper' '1'
|
'+set' 'sv_respawnsuper' '1'
|
||||||
'+set' 'alwaysapplydmflags' ''1
|
'+set' 'alwaysapplydmflags' ''1
|
||||||
'-extratic' '-dup' '3'
|
'-extratic' '-dup' '3'
|
||||||
|
@ -651,6 +651,7 @@ case "${game}" in
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)"
|
doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)"
|
||||||
|
get_installer "keyshare-universal.pk3" "https://forum.zdoom.org/download/file.php?id=42262"
|
||||||
get_installer "OperationMDK.zip" "https://www.dropbox.com/scl/fi/bac94s01bl31p6e73pbof/OperationMDK.zip?rlkey=6ufdqgyacakqz6ulr2cue6rtm&dl=0"
|
get_installer "OperationMDK.zip" "https://www.dropbox.com/scl/fi/bac94s01bl31p6e73pbof/OperationMDK.zip?rlkey=6ufdqgyacakqz6ulr2cue6rtm&dl=0"
|
||||||
download "https://www.dropbox.com/s/uf01fx3vydua6zx/TobyAccessibilityMod_Version${tobyVersion}.zip?dl=0"
|
download "https://www.dropbox.com/s/uf01fx3vydua6zx/TobyAccessibilityMod_Version${tobyVersion}.zip?dl=0"
|
||||||
echo "The next step may require your password."
|
echo "The next step may require your password."
|
||||||
@ -658,6 +659,7 @@ case "${game}" in
|
|||||||
alert
|
alert
|
||||||
sudo unzip -d "${doomPath}" "${cache}/TobyAccessibilityMod_Version${tobyVersion}.zip"
|
sudo unzip -d "${doomPath}" "${cache}/TobyAccessibilityMod_Version${tobyVersion}.zip"
|
||||||
sudo unzip -d "${doomPath}" "${cache}/OperationMDK.zip"
|
sudo unzip -d "${doomPath}" "${cache}/OperationMDK.zip"
|
||||||
|
sudo cp -v "${cache}/keyshare-universal.pk3" "${doomPath}"
|
||||||
sudo rm -fv "${doomPath}/"*.lnk
|
sudo rm -fv "${doomPath}/"*.lnk
|
||||||
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom"
|
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom"
|
||||||
cp "${doomPath}/gzdoom.ini" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/"
|
cp "${doomPath}/gzdoom.ini" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user