Orcs Must Die!

Informations

Creator Message
Ruzvenbis Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8009
Wine: 2.22

Feedbacks

Description

Orcs Must Die! challenges players to defend fortresses under siege. With a wide variety of traps and weapons to choose from, Orcs Must Die! dares players to find the best ways to hack, launch, flatten, gibletize, and incinerate an endless army of filthy orcs and their vile allies. Orcs Must Die! features a vibrant look, addictive gameplay, and a blatant disregard for the welfare of orcs.

Source code

#!/bin/bash
# Date : (2013-11-05)
# Last revision : (2019-11-26)
# Wine version used : 1.7.8
# Distribution used to test : Linux Mint 16 x64
# Author : Ruzven

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Orcs Must Die!"
PREFIX="Orcs_Must_Die"
WORKING_WINE_VERSION="2.22"
EDITOR="Robot Entertainment"
GAME_URL="http://www.robotentertainment.com/games/orcsmustdie/"
AUTHOR="Ruzven"
GAME_VMS="256"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1912
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_menu "$(eval_gettext 'Please select version.')" "$TITLE" "$(eval_gettext 'Normal version')~$(eval_gettext 'Demo version')" "~"
if [ "$APP_ANSWER" == "$(eval_gettext 'Normal version')" ]; then

    # Steam install Normal version
    POL_Wine "steam.exe" steam://install/102600
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/102600"        
else

    # Steam install Demo version
    POL_Wine "steam.exe" steam://install/102610
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/102610"
fi

# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 26 November 2019 at 23:34
Dadu042

Information

This update has been approved by the team.

Message

Wine 1.7.8 -> 2.22

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2013-11-05)
-# Last revision : (2013-12-23)
+# Last revision : (2019-11-26)
 # Wine version used : 1.7.8
 # Distribution used to test : Linux Mint 16 x64
 # Author : Ruzven
@@ -10,7 +10,7 @@
 
 TITLE="Orcs Must Die!"
 PREFIX="Orcs_Must_Die"
-WORKING_WINE_VERSION="1.7.8"
+WORKING_WINE_VERSION="2.22"
 EDITOR="Robot Entertainment"
 GAME_URL="http://www.robotentertainment.com/games/orcsmustdie/"
 AUTHOR="Ruzven"

New source code

#!/bin/bash
# Date : (2013-11-05)
# Last revision : (2019-11-26)
# Wine version used : 1.7.8
# Distribution used to test : Linux Mint 16 x64
# Author : Ruzven

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Orcs Must Die!"
PREFIX="Orcs_Must_Die"
WORKING_WINE_VERSION="2.22"
EDITOR="Robot Entertainment"
GAME_URL="http://www.robotentertainment.com/games/orcsmustdie/"
AUTHOR="Ruzven"
GAME_VMS="256"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1912
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_menu "$(eval_gettext 'Please select version.')" "$TITLE" "$(eval_gettext 'Normal version')~$(eval_gettext 'Demo version')" "~"
if [ "$APP_ANSWER" == "$(eval_gettext 'Normal version')" ]; then

    # Steam install Normal version
    POL_Wine "steam.exe" steam://install/102600
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/102600"        
else

    # Steam install Demo version
    POL_Wine "steam.exe" steam://install/102610
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/102610"
fi

# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"

POL_SetupWindow_Close
exit 0

Replies