Worms Armageddon
Informations
Creator | Message |
---|---|
LinuxScripter
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks3 0 DescriptionSmall pink worms with an insane weapon arsenal battle it out on various 2D landscapes. Turn-based strategy game. Source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2018-02-08 26:07) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 # Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 # Author : GNU_Raziel, LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Worms Armageddon" EDITOR="Team 17" AUTHOR="LinuxScripter" GAME_URL="http://wa.team17.com/" PREFIX="WormsArmageddon" WORKING_WINE_VERSION="3.0" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution POL_SetupWindow_message "If you are installing $TITLE from CD, this script will patch the instalation to the latest version. Keep in mind that when the patcher will ask you to apply fixes for Wine, choose No or else the display might be broken. Let the script choose the right registry tweaks." POL_SetupWindow_InstallMethod "CD,STEAM" if [ "$INSTALL_METHOD" == "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "clokspl.exe" POL_Wine start /unix "$CDROM/Setup.exe" POL_Wine_WaitExit "$CDROM/Setup.exe" cd "$POL_System_TmpDir" POL_Download "https://worms2d.info/files/WA_update-3.7.2.1_Installer.exe" "bcae1f1424c7b4c20c7b46d998448146" POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" "6acb23b43ea3c938dc27c38557cfd4c8" unzip wkSuperFrontendHD_full.7z cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.dll" "$WINEPREFIX/drive_c/Team17/$TITLE" else POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/217200 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "Steam($TITLE)" "" "steam://rungameid/217200" else POL_Shortcut "WA.exe" "Worms Armageddon" "" "" fi POL_System_TmpDelete POL_SetupWindow_Close exit |
Contributions
Filters:
ContributeMember | Message |
fivitti | Friday 11 November 2022 at 20:35 |
fivitti
|
WarningThis update has not been approved yet by the team. MessageI updated the script to apply the latest patch and allow it to install from CD distributed by CD-Project in the 2000s. Differences@@ -33,16 +33,16 @@ if [ "$INSTALL_METHOD" == "CD" ]; then POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "clokspl.exe" + POL_SetupWindow_check_cdrom "Setup.exe" POL_Wine start /unix "$CDROM/Setup.exe" POL_Wine_WaitExit "$CDROM/Setup.exe" cd "$POL_System_TmpDir" - POL_Download "https://worms2d.info/files/WA_update-3.7.2.1_Installer.exe" "bcae1f1424c7b4c20c7b46d998448146" + POL_Download "https://worms2d.info/files/WA_update-3.8.1_%5BCD%5D_Installer.exe" "7373e157b5fd454fe20f581eb7ac665e" POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" - POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" "6acb23b43ea3c938dc27c38557cfd4c8" + POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" "eee4c4887c345d1e0c5de92cb05b708c" unzip wkSuperFrontendHD_full.7z cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" New source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2018-02-08 26:07) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 # Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 # Author : GNU_Raziel, LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Worms Armageddon" EDITOR="Team 17" AUTHOR="LinuxScripter" GAME_URL="http://wa.team17.com/" PREFIX="WormsArmageddon" WORKING_WINE_VERSION="3.0" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution POL_SetupWindow_message "If you are installing $TITLE from CD, this script will patch the instalation to the latest version. Keep in mind that when the patcher will ask you to apply fixes for Wine, choose No or else the display might be broken. Let the script choose the right registry tweaks." POL_SetupWindow_InstallMethod "CD,STEAM" if [ "$INSTALL_METHOD" == "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "Setup.exe" POL_Wine start /unix "$CDROM/Setup.exe" POL_Wine_WaitExit "$CDROM/Setup.exe" cd "$POL_System_TmpDir" POL_Download "https://worms2d.info/files/WA_update-3.8.1_%5BCD%5D_Installer.exe" "7373e157b5fd454fe20f581eb7ac665e" POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" "eee4c4887c345d1e0c5de92cb05b708c" unzip wkSuperFrontendHD_full.7z cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.dll" "$WINEPREFIX/drive_c/Team17/$TITLE" else POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/217200 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "Steam($TITLE)" "" "steam://rungameid/217200" else POL_Shortcut "WA.exe" "Worms Armageddon" "" "" fi POL_System_TmpDelete POL_SetupWindow_Close exit RepliesEdited by fivitti |
LinuxScripter | Thursday 8 February 2018 at 17:03 |
LinuxScripter
|
InformationThis update has been approved by the team. MessageAdded md5 checksums to both of the downloaded files. Differences@@ -0,0 +1,66 @@ +#!/bin/bash +# Date : (2010-04-08 10-00) +# Last revision : (2018-02-08 26:07) +# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 +# Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 +# Author : GNU_Raziel, LinuxScripter +# Licence : Retail + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Worms Armageddon" +EDITOR="Team 17" +AUTHOR="LinuxScripter" +GAME_URL="http://wa.team17.com/" +PREFIX="WormsArmageddon" +WORKING_WINE_VERSION="3.0" + +POL_SetupWindow_Init +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +POL_System_TmpCreate "$PREFIX" +POL_Call POL_Function_SetResolution + +POL_SetupWindow_message "If you are installing $TITLE from CD, this script will patch the instalation to the latest version. Keep in mind that when the patcher will ask you to apply fixes for Wine, choose No or else the display might be broken. Let the script choose the right registry tweaks." + +POL_SetupWindow_InstallMethod "CD,STEAM" + +if [ "$INSTALL_METHOD" == "CD" ]; then + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "clokspl.exe" + POL_Wine start /unix "$CDROM/Setup.exe" + POL_Wine_WaitExit "$CDROM/Setup.exe" + cd "$POL_System_TmpDir" + POL_Download "https://worms2d.info/files/WA_update-3.7.2.1_Installer.exe" "bcae1f1424c7b4c20c7b46d998448146" + POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" + POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" + POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" + POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" + POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" "6acb23b43ea3c938dc27c38557cfd4c8" + unzip wkSuperFrontendHD_full.7z + cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" + cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" + cp "$POL_System_TmpDir/wkSuperFrontend.dll" "$WINEPREFIX/drive_c/Team17/$TITLE" + +else + POL_Call POL_Install_steam + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine "steam.exe" steam://install/217200 + POL_Wine_WaitBefore "$TITLE" +fi + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Shortcut "steam.exe" "Steam($TITLE)" "" "steam://rungameid/217200" +else + POL_Shortcut "WA.exe" "Worms Armageddon" "" "" +fi + +POL_System_TmpDelete +POL_SetupWindow_Close +exit \ No newline at end of file New source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2018-02-08 26:07) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 # Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 # Author : GNU_Raziel, LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Worms Armageddon" EDITOR="Team 17" AUTHOR="LinuxScripter" GAME_URL="http://wa.team17.com/" PREFIX="WormsArmageddon" WORKING_WINE_VERSION="3.0" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution POL_SetupWindow_message "If you are installing $TITLE from CD, this script will patch the instalation to the latest version. Keep in mind that when the patcher will ask you to apply fixes for Wine, choose No or else the display might be broken. Let the script choose the right registry tweaks." POL_SetupWindow_InstallMethod "CD,STEAM" if [ "$INSTALL_METHOD" == "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "clokspl.exe" POL_Wine start /unix "$CDROM/Setup.exe" POL_Wine_WaitExit "$CDROM/Setup.exe" cd "$POL_System_TmpDir" POL_Download "https://worms2d.info/files/WA_update-3.7.2.1_Installer.exe" "bcae1f1424c7b4c20c7b46d998448146" POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" "6acb23b43ea3c938dc27c38557cfd4c8" unzip wkSuperFrontendHD_full.7z cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.dll" "$WINEPREFIX/drive_c/Team17/$TITLE" else POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/217200 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "Steam($TITLE)" "" "steam://rungameid/217200" else POL_Shortcut "WA.exe" "Worms Armageddon" "" "" fi POL_System_TmpDelete POL_SetupWindow_Close exit Replies |
LinuxScripter | Thursday 8 February 2018 at 16:28 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageThis script will:
Tested in quick match, deathmatch and Wormnet multiplayer.
Differences@@ -0,0 +1,194 @@ +#!/bin/bash +# Date : (2010-04-08 10-00) +# Last revision : (2018-02-08 26:07) +# Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 +# Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 +# Author : GNU_Raziel, LinuxScripter +# Licence : Retail + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Worms Armageddon" +EDITOR="Team 17" +AUTHOR="LinuxScripter" +GAME_URL="http://wa.team17.com/" +PREFIX="WormsArmageddon" +WORKING_WINE_VERSION="3.0" + +POL_SetupWindow_Init +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +POL_System_TmpCreate "$PREFIX" +POL_SetupWindow_message "$(eval_gettext 'This script required a virtual desktop, please select one smaller than your actual screen resolution.')" "$TITLE" + +POL_SetupWindow_menu_num "$(eval_gettext 'Desired virtual resolution')" "$TITLE" "480 x 320 (3:2)|1152 x 768 (3:2)|1280 x 854 (3:2)|1440 x 960 (3:2)|320 x 240 (4:3)|384 x 288 (4:3)|640 x 480 (4:3)|768 x 576 (4:3)|800 x 600 (4:3)|1152 x 864 (4:3)|1280 x 960 (4:3)|1400 x 1050 (4:3)|1440 x 1080 (4:3)|1600 x 1200 (4:3)|2048 x 1536 (4:3)|800 x 480 (5:3)|1280 x 768 (5:3)|1280 x 1024 (5:4)|2560 x 2048 (5:4)|854 x 480 (16:9)|1024 x 576 (16:9)|1280 x 720 (16:9)|1366 x 768 (16:9)|1600 x 900 (16:9)|1920 x 1080 (16:9)|2560 x 1440 (16:9)|3840 x 2160 (16:9)|320 x 200 (16:10)|1280 x 800 (16:10)|1440 x 900 (16:10)|1680 x 1050 (16:10)|1920 x 1200 (16:10)|2560 x 1600 (16:10)|2560 x 1080 (21:9)|3440 x 1440 (21:9)|2048 x 1080 (2K)|4096 x 2160 (4K)|352 x 288|1024 x 600" "|" + +case "$APP_ANSWER" in + 0) + Set_Desktop "On" "480" "320" + ;; + 1) + Set_Desktop "On" "1152" "768" + ;; + 2) + Set_Desktop "On" "1280" "854" + ;; + 3) + Set_Desktop "On" "1440" "960" + ;; + 4) + Set_Desktop "On" "320" "240" + ;; + 5) + Set_Desktop "On" "384" "288" + ;; + 6) + Set_Desktop "On" "640" "480" + ;; + 7) + Set_Desktop "On" "768" "576" + ;; + 8) + Set_Desktop "On" "800" "600" + ;; + 9) + Set_Desktop "On" "1152" "864" + ;; + 10) + Set_Desktop "On" "1280" "960" + ;; + 11) + Set_Desktop "On" "1400" "1050" + ;; + 12) + Set_Desktop "On" "1440" "1080" + ;; + 13) + Set_Desktop "On" "1600" "1200" + ;; + 14) + Set_Desktop "On" "2048" "1536" + ;; + 15) + Set_Desktop "On" "800" "480" + ;; + 16) + Set_Desktop "On" "1280" "760" + ;; + 17) + Set_Desktop "On" "1280" "1024" + ;; + 18) + Set_Desktop "On" "2560" "2048" + ;; + 19) + Set_Desktop "On" "854" "480" + ;; + 20) + Set_Desktop "On" "1024" "576" + ;; + 21) + Set_Desktop "On" "1280" "720" + ;; + 22) + Set_Desktop "On" "1366" "768" + ;; + 23) + Set_Desktop "On" "1600" "900" + ;; + 24) + Set_Desktop "On" "1920" "1080" + ;; + 25) + Set_Desktop "On" "2560" "1440" + ;; + 26) + Set_Desktop "On" "3840" "2160" + ;; + 27) + Set_Desktop "On" "320" "200" + ;; + 28) + Set_Desktop "On" "1280" "800" + ;; + 29) + Set_Desktop "On" "1440" "900" + ;; + 30) + Set_Desktop "On" "1680" "1050" + ;; + 31) + Set_Desktop "On" "1920" "1200" + ;; + 32) + Set_Desktop "On" "2560" "1600" + ;; + 33) + Set_Desktop "On" "2560" "1080" + ;; + 34) + Set_Desktop "On" "3440" "1440" + ;; + 35) + Set_Desktop "On" "2048" "1080" + ;; + 36) + Set_Desktop "On" "4096" "2160" + ;; + 37) + Set_Desktop "On" "352" "288" + ;; + 38) + Set_Desktop "On" "1024" "600" + ;; + *) + echo "$(eval_gettext 'Using default resolution')" + Set_Desktop "On" "800" "600" + ;; +esac + +POL_SetupWindow_message "$(eval_gettext 'You can change it at any time there:\nConfigure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab')" "$TITLE" + +POL_SetupWindow_message "If you are installing $TITLE from CD, this script will patch the instalation to the latest version. Keep in mind that when the patcher will ask you to apply fixes for Wine, choose No or else the display might be broken. Let the script choose the right registry tweaks." + +POL_SetupWindow_InstallMethod "CD,STEAM" + +if [ "$INSTALL_METHOD" == "CD" ]; then + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "clokspl.exe" + POL_Wine start /unix "$CDROM/Setup.exe" + POL_Wine_WaitExit "$CDROM/Setup.exe" + cd "$POL_System_TmpDir" + POL_Download "https://worms2d.info/files/WA_update-3.7.2.1_Installer.exe" + POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" + POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" + POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" + POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" + POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" + unzip wkSuperFrontendHD_full.7z + cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" + cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" + cp "$POL_System_TmpDir/wkSuperFrontend.dll" "$WINEPREFIX/drive_c/Team17/$TITLE" + +else + POL_Call POL_Install_steam + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine "steam.exe" steam://install/217200 + POL_Wine_WaitBefore "$TITLE" +fi + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Shortcut "steam.exe" "Steam($TITLE)" "" "steam://rungameid/217200" +else + POL_Shortcut "WA.exe" "Worms Armageddon" "" "" +fi + +POL_System_TmpDelete +POL_SetupWindow_Close +exit \ No newline at end of file New source code#!/bin/bash # Date : (2010-04-08 10-00) # Last revision : (2018-02-08 26:07) # Wine version used : 1.3.3, 1.3.11, 1.3.17, 1.3.25, 1.3.26, 1.3.27, 2.0.1, 3.0 # Distribution used to test : Debian Testing x64, Ubuntu 17.04 x64, Ubuntu 18.04 x64 # Author : GNU_Raziel, LinuxScripter # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Worms Armageddon" EDITOR="Team 17" AUTHOR="LinuxScripter" GAME_URL="http://wa.team17.com/" PREFIX="WormsArmageddon" WORKING_WINE_VERSION="3.0" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "$(eval_gettext 'This script required a virtual desktop, please select one smaller than your actual screen resolution.')" "$TITLE" POL_SetupWindow_menu_num "$(eval_gettext 'Desired virtual resolution')" "$TITLE" "480 x 320 (3:2)|1152 x 768 (3:2)|1280 x 854 (3:2)|1440 x 960 (3:2)|320 x 240 (4:3)|384 x 288 (4:3)|640 x 480 (4:3)|768 x 576 (4:3)|800 x 600 (4:3)|1152 x 864 (4:3)|1280 x 960 (4:3)|1400 x 1050 (4:3)|1440 x 1080 (4:3)|1600 x 1200 (4:3)|2048 x 1536 (4:3)|800 x 480 (5:3)|1280 x 768 (5:3)|1280 x 1024 (5:4)|2560 x 2048 (5:4)|854 x 480 (16:9)|1024 x 576 (16:9)|1280 x 720 (16:9)|1366 x 768 (16:9)|1600 x 900 (16:9)|1920 x 1080 (16:9)|2560 x 1440 (16:9)|3840 x 2160 (16:9)|320 x 200 (16:10)|1280 x 800 (16:10)|1440 x 900 (16:10)|1680 x 1050 (16:10)|1920 x 1200 (16:10)|2560 x 1600 (16:10)|2560 x 1080 (21:9)|3440 x 1440 (21:9)|2048 x 1080 (2K)|4096 x 2160 (4K)|352 x 288|1024 x 600" "|" case "$APP_ANSWER" in 0) Set_Desktop "On" "480" "320" ;; 1) Set_Desktop "On" "1152" "768" ;; 2) Set_Desktop "On" "1280" "854" ;; 3) Set_Desktop "On" "1440" "960" ;; 4) Set_Desktop "On" "320" "240" ;; 5) Set_Desktop "On" "384" "288" ;; 6) Set_Desktop "On" "640" "480" ;; 7) Set_Desktop "On" "768" "576" ;; 8) Set_Desktop "On" "800" "600" ;; 9) Set_Desktop "On" "1152" "864" ;; 10) Set_Desktop "On" "1280" "960" ;; 11) Set_Desktop "On" "1400" "1050" ;; 12) Set_Desktop "On" "1440" "1080" ;; 13) Set_Desktop "On" "1600" "1200" ;; 14) Set_Desktop "On" "2048" "1536" ;; 15) Set_Desktop "On" "800" "480" ;; 16) Set_Desktop "On" "1280" "760" ;; 17) Set_Desktop "On" "1280" "1024" ;; 18) Set_Desktop "On" "2560" "2048" ;; 19) Set_Desktop "On" "854" "480" ;; 20) Set_Desktop "On" "1024" "576" ;; 21) Set_Desktop "On" "1280" "720" ;; 22) Set_Desktop "On" "1366" "768" ;; 23) Set_Desktop "On" "1600" "900" ;; 24) Set_Desktop "On" "1920" "1080" ;; 25) Set_Desktop "On" "2560" "1440" ;; 26) Set_Desktop "On" "3840" "2160" ;; 27) Set_Desktop "On" "320" "200" ;; 28) Set_Desktop "On" "1280" "800" ;; 29) Set_Desktop "On" "1440" "900" ;; 30) Set_Desktop "On" "1680" "1050" ;; 31) Set_Desktop "On" "1920" "1200" ;; 32) Set_Desktop "On" "2560" "1600" ;; 33) Set_Desktop "On" "2560" "1080" ;; 34) Set_Desktop "On" "3440" "1440" ;; 35) Set_Desktop "On" "2048" "1080" ;; 36) Set_Desktop "On" "4096" "2160" ;; 37) Set_Desktop "On" "352" "288" ;; 38) Set_Desktop "On" "1024" "600" ;; *) echo "$(eval_gettext 'Using default resolution')" Set_Desktop "On" "800" "600" ;; esac POL_SetupWindow_message "$(eval_gettext 'You can change it at any time there:\nConfigure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab')" "$TITLE" POL_SetupWindow_message "If you are installing $TITLE from CD, this script will patch the instalation to the latest version. Keep in mind that when the patcher will ask you to apply fixes for Wine, choose No or else the display might be broken. Let the script choose the right registry tweaks." POL_SetupWindow_InstallMethod "CD,STEAM" if [ "$INSTALL_METHOD" == "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "clokspl.exe" POL_Wine start /unix "$CDROM/Setup.exe" POL_Wine_WaitExit "$CDROM/Setup.exe" cd "$POL_System_TmpDir" POL_Download "https://worms2d.info/files/WA_update-3.7.2.1_Installer.exe" POL_Wine start /unix "WA_update-3.7.2.1_Installer.exe" POL_Wine_WaitExit "WA_update-3.7.2.1_Installer.exe" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/FrontendUseDesktopWindow_Enable.reg" POL_Wine regedit.exe "$WINEPREFIX/drive_c/Team17/$TITLE/Tweaks/LoadWormKitModules_Enabled.reg" POL_Download "https://steps.keybase.pub/wa/wk/wkSuperFrontendHD_full.7z" unzip wkSuperFrontendHD_full.7z cp -r "$POL_System_TmpDir/graphics" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.ini" "$WINEPREFIX/drive_c/Team17/$TITLE" cp "$POL_System_TmpDir/wkSuperFrontend.dll" "$WINEPREFIX/drive_c/Team17/$TITLE" else POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/217200 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Shortcut "steam.exe" "Steam($TITLE)" "" "steam://rungameid/217200" else POL_Shortcut "WA.exe" "Worms Armageddon" "" "" fi POL_System_TmpDelete POL_SetupWindow_Close exit RepliesThursday 8 February 2018 at 16:30
Thursday 8 February 2018 at 16:52
Thursday 8 February 2018 at 17:08
|
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com