From 0941a4ee40b911927f579599403e31b0d85faf73 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 21 Sep 2023 17:47:30 -0400 Subject: [PATCH] Latest Toby Doom Accessibility pack along with the new OperationMDK levels. --- linux-game-manager.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 416596a..d1e0e4b 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -630,7 +630,7 @@ case "${game}" in add_launcher "${installPath}/FS2_2.7_Linux/fs2.x86_64" "-ESpeakApplication=espeak-ng" ;; "Freedoom") - tobyVersion="6-0" + tobyVersion="6-1" doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null)" if [[ ${#doomPath} -lt 5 ]]; then dialog --backtitle "Linux Game Manager" \ @@ -649,11 +649,14 @@ case "${game}" in fi fi doomPath="$(find /usr/share -type d -name "doom" 2> /dev/null | head -1)" - download "https://www.dropbox.com/s/turlowrn2s3l191/TobyAccessibilityMod_Version${tobyVersion}.zip?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" echo "The next step may require your password." echo "It is necessary to places the extracted files in their proper place." alert sudo unzip -d "${doomPath}" "${cache}/TobyAccessibilityMod_Version${tobyVersion}.zip" + sudo unzip -d "${doomPath}" "${cache}/OperationMDK.zip" + sudo rm -fv "${doomPath}/"*.lnk mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom" cp "${doomPath}/gzdoom.ini" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/" grep -qx "Path=${doomPath}" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" || \ @@ -664,6 +667,9 @@ case "${game}" in # Toby accessibility mods game="Freedoom Toby Mod" add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion%-*}.pk3" "${doomPath}/TobyDoomLevels.wad" + # OperationMDK + game="Freedoom OperationMDK" + add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion%-*}.pk3" "${doomPath}/OpMDK.wad" ;; "Monkey Spank") check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle