You are here    Supported software    Savage XR nl sv ru pl es de fr

Savage XR

Informations

Creator Message
sea-eye-aya Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

Savage XR, the successor of the 2003 award winning PC game Savage: The Battle for Newerth, takes the best of the Real-time Strategy, First-person Shooter and Third-person Action genres and blends it into a cohesive, complex and addicting experience. Aim of the game is to destroy the enemy base. Savage XR is entirely free and non-profit!

Savage XR is a unique RTS/FPS hybrid game available as Freeware for Windows, Linux and Mac, that can be played either online, on LAN or offline against bots (without commander). Each match of Savage XR takes place on one of over 2000 available maps. A single match has two or more teams, which can be either human or beasts. The goal of the game is to destroy the primary enemy structure - the "Stronghold" for the human race, or the "Lair" for the beast race. Each team has one commander, who plays the game like an RTS, and additional players, who play the game like an FPS (but with a third-person mode for melee). A game can take between 2 and 45 minutes. With each new match all previous progress gets reset.

Source code

				

Contributions

Filters:

Contribute
Member Message
sea-eye-aya Sunday 28 October 2018 at 13:26
sea-eye-aya Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,71 @@
+#!/usr/bin/env playonlinux-bash
+#
+# Savage XR - Battle for Newerth installer script for Play On Linux/Mac.
+# 	http://www.savagexr.com
+# 	http://www.newerth.com/
+#
+# Date : (2018-10-19 12-00)
+# Last revision : (2018-10-23 12-00)
+# Wine version used : 3.18
+# Distribution used to test : Void Linux, Ubuntu 16.04
+# Author : sea-eye-aya
+#
+# Tabs (not spaces), UTF-8, Unix line encoding.
+#
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Savage XR"
+PREFIX="SavageXR"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Newerth" "http://www.newerth.com" "sea-eye-aya" "$PREFIX"
+
+POL_System_TmpCreate "Tmp$PREFIX"
+cd "$POL_System_TmpDir" || exit 1
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+	# Local install is really only meant for this script development purposes,
+	# to stop hitting Newerth.com bandwidth needlessly!
+	#
+	POL_SetupWindow_browse "$(eval_gettext 'Please select the SavageXR installer.')" "$TITLE"
+	cp "$APP_ANSWER" "$POL_System_TmpDir"
+	SAVAGE_INSTALLER=$(basename "$APP_ANSWER")
+
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+	# Grr POL_Download automatically give the file a name which is the end of the URL...
+	#
+	SAVAGE_INSTALLER="xr_setup-1.0-cl_win_prod.exe"
+	AUTO_NAME="?id=downloads&op=downloadFile&file=xr_setup-1.0-cl_win_prod.exe&mirrorid=2"
+	POL_Download "http://www.newerth.com/?id=downloads&op=downloadFile&file=xr_setup-1.0-cl_win_prod.exe&mirrorid=2" "84ddcf12e693f8ad0c91aefa39481328"
+	mv "$AUTO_NAME" "$SAVAGE_INSTALLER"
+fi
+
+# Set WINE enviroment.
+#
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "3.18"
+POL_System_SetArch "x86"
+Set_OS "win7"
+
+# Run SavageXR installer.
+#
+POL_Wine_WaitBefore "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'About to start the Savage XR Installer, please choose:\n\t * The default install location.\n\t * The default settings.\n\nOnce installed you can register an account (to have your player stats and rankings recorded) or login as guest by leaving the fields empty.')"
+POL_Wine "$SAVAGE_INSTALLER"
+
+# Create shortcut to game.
+#
+POL_Shortcut "savage.exe" "$TITLE"
+
+# Clean up and exit.
+#
+POL_System_TmpDelete
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
#
# Savage XR - Battle for Newerth installer script for Play On Linux/Mac.
#         http://www.savagexr.com
#         http://www.newerth.com/
#
# Date : (2018-10-19 12-00)
# Last revision : (2018-10-23 12-00)
# Wine version used : 3.18
# Distribution used to test : Void Linux, Ubuntu 16.04
# Author : sea-eye-aya
#
# Tabs (not spaces), UTF-8, Unix line encoding.
#
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Savage XR"
PREFIX="SavageXR"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Newerth" "http://www.newerth.com" "sea-eye-aya" "$PREFIX"

POL_System_TmpCreate "Tmp$PREFIX"
cd "$POL_System_TmpDir" || exit 1

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        # Local install is really only meant for this script development purposes,
        # to stop hitting Newerth.com bandwidth needlessly!
        #
        POL_SetupWindow_browse "$(eval_gettext 'Please select the SavageXR installer.')" "$TITLE"
        cp "$APP_ANSWER" "$POL_System_TmpDir"
        SAVAGE_INSTALLER=$(basename "$APP_ANSWER")

elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        # Grr POL_Download automatically give the file a name which is the end of the URL...
        #
        SAVAGE_INSTALLER="xr_setup-1.0-cl_win_prod.exe"
        AUTO_NAME="?id=downloads&op=downloadFile&file=xr_setup-1.0-cl_win_prod.exe&mirrorid=2"
        POL_Download "http://www.newerth.com/?id=downloads&op=downloadFile&file=xr_setup-1.0-cl_win_prod.exe&mirrorid=2" "84ddcf12e693f8ad0c91aefa39481328"
        mv "$AUTO_NAME" "$SAVAGE_INSTALLER"
fi

# Set WINE enviroment.
#
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.18"
POL_System_SetArch "x86"
Set_OS "win7"

# Run SavageXR installer.
#
POL_Wine_WaitBefore "$TITLE"
POL_SetupWindow_message "$(eval_gettext 'About to start the Savage XR Installer, please choose:\n\t * The default install location.\n\t * The default settings.\n\nOnce installed you can register an account (to have your player stats and rankings recorded) or login as guest by leaving the fields empty.')"
POL_Wine "$SAVAGE_INSTALLER"

# Create shortcut to game.
#
POL_Shortcut "savage.exe" "$TITLE"

# Clean up and exit.
#
POL_System_TmpDelete

POL_SetupWindow_Close
exit

Replies

Friday 2 November 2018 at 14:14 -
I'll check your script during the week-end. I still thing that's really not required to copy the installer to /tmp and you should probably don't use it. You don't need to change the all script for that to wrok