Alien Breed 2 : Assault

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 22056
Wine: 2.22

Feedbacks

Description

Français :
Alien Breed 2 : Assault est un jeu d'action et de tir se déroulant dans un univers de science-fiction. Le joueur contrôle Conrad, ingénieur lancé dans un combat contre les aliens, à bord du vaisseau Leopold.

English :
Alien Breed 2 : Assault finds the player taking control of Conrad, Chief Engineer aboard the dying ship Leopold and continuing his fight for survival across the fatally damaged space vessel. His only hope relies on reigniting the alien space craft's monstrous engines to rescue him from impending annihilation, but to do this he will have to survive wave after wave of relentless alien assaults.

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2010-30-10 21-00)
# Last revision : see changelog
# Wine version used : 1.3.6, 1.3.11, 1.3.15, 1.3.23, 1.3.26, 1.3.27, 1.4
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

# CHANGELOG
# [SuperPlumus] (2013-07-23 21-41)
#   Update gettext messages
#   Fix script syntax error
# [Dadu042] (2020-01-21 10:50) (Ubuntu 19.04 64b)
#   Wine 1.4 (outdated) -> 2.22.
#

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

TITLE="Alien Breed 2 : Assault"
PREFIX="AlienBreed2"
EDITOR="Team17"
GAME_URL="http://www.team17.com/"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="2.22"
GAME_VMS="256"

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

# Starting debugging API
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_System_SetArch "x86" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between Steam and other Digital Download version
POL_SetupWindow_InstallMethod "STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Call POL_Install_steam
    STEAM_ID="22650"
fi
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_d3dx9
POL_Call POL_Install_dotnet30

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

# Begin game installation
if [ "$INSTALL_METHOD" = "STEAM" ]; then
    # Mandatory pre-install fix for steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    # Shortcut done before install for steam version
    POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
    POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
    # Steam install
    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"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
    POL_Wine_WaitExit "$TITLE"
else
    # Asking then installing DDV of the game
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    POL_Wine start /unix "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
fi

#Post-install features
POL_SetupWindow_message "$(eval_gettext 'If .NET 3.0 installation fail, dont worry\nthe game will still work')" "$TITLE"
UE3=`find $WINEPREFIX -name "UE3Redist.exe"`
POL_Wine start /unix "$UE3"
POL_Wine_WaitExit "Unreal Engine 3.0 redist"

# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
    POL_Shortcut "AlienBreed2Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 21 January 2020 at 21:43
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2010-30-10 21-00)
-# Last revision : (2012-05-14 21:00)
+# Last revision : see changelog
 # Wine version used : 1.3.6, 1.3.11, 1.3.15, 1.3.23, 1.3.26, 1.3.27, 1.4
 # Distribution used to test : Debian Testing x64
 # Author : GNU_Raziel
@@ -11,6 +11,9 @@
 # [SuperPlumus] (2013-07-23 21-41)
 #   Update gettext messages
 #   Fix script syntax error
+# [Dadu042] (2020-01-21 10:50) (Ubuntu 19.04 64b)
+#   Wine 1.4 (outdated) -> 2.22.
+#
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -20,7 +23,7 @@
 EDITOR="Team17"
 GAME_URL="http://www.team17.com/"
 AUTHOR="GNU_Raziel"
-WORKING_WINE_VERSION="1.4"
+WORKING_WINE_VERSION="2.22"
 GAME_VMS="256"
 
 # Starting the script
@@ -92,7 +95,7 @@
 
 # Making shortcut
 if [ "$INSTALL_METHOD" != "STEAM" ]; then
-    POL_Shortcut "AlienBreed2Launcher.exe" "$TITLE" "$TITLE.png" ""
+    POL_Shortcut "AlienBreed2Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;"
 fi
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2010-30-10 21-00)
# Last revision : see changelog
# Wine version used : 1.3.6, 1.3.11, 1.3.15, 1.3.23, 1.3.26, 1.3.27, 1.4
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

# CHANGELOG
# [SuperPlumus] (2013-07-23 21-41)
#   Update gettext messages
#   Fix script syntax error
# [Dadu042] (2020-01-21 10:50) (Ubuntu 19.04 64b)
#   Wine 1.4 (outdated) -> 2.22.
#

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

TITLE="Alien Breed 2 : Assault"
PREFIX="AlienBreed2"
EDITOR="Team17"
GAME_URL="http://www.team17.com/"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="2.22"
GAME_VMS="256"

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

# Starting debugging API
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_System_SetArch "x86" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between Steam and other Digital Download version
POL_SetupWindow_InstallMethod "STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Call POL_Install_steam
    STEAM_ID="22650"
fi
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_d3dx9
POL_Call POL_Install_dotnet30

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

# Begin game installation
if [ "$INSTALL_METHOD" = "STEAM" ]; then
    # Mandatory pre-install fix for steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    # Shortcut done before install for steam version
    POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
    POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
    # Steam install
    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"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
    POL_Wine_WaitExit "$TITLE"
else
    # Asking then installing DDV of the game
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    POL_Wine start /unix "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
fi

#Post-install features
POL_SetupWindow_message "$(eval_gettext 'If .NET 3.0 installation fail, dont worry\nthe game will still work')" "$TITLE"
UE3=`find $WINEPREFIX -name "UE3Redist.exe"`
POL_Wine start /unix "$UE3"
POL_Wine_WaitExit "Unreal Engine 3.0 redist"

# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
    POL_Shortcut "AlienBreed2Launcher.exe" "$TITLE" "$TITLE.png" "" "Game;"
fi

POL_SetupWindow_Close
exit 0

Replies

Alari24 Saturday 18 April 2015 at 17:20
Alari24 Anonymous

Message

Got the program working correctly. It would be nice to have Steam itself on the listed programs so when a person only wants Steam then he should have to find a game first and then through that get the program. There is more to Steam than just games. But back on topic Alien Breed 2 does work :)

Replies

Saturday 18 April 2015 at 17:29
Just create a virtual drive with the version of Wine you want to use (check the wiki), and then use the Steam installer from the Install Components tab in the Configuration Window. :) Super simple. I do it all of the time. We understand that there is more to Steam than games. Really, anything that is on Steam that is not an actual video game is accessible through Linux's Steam, too.

The problem lies when a game needs something else BESIDES Steam. If the user does not install the correct components the game might not work, hence the scripts. What are you talking about is a Manual Install, which is accomplished how I said above. Unfortunately, that does not guarantee that ANY game that you download from Steam will work, as it may need a patched version of Wine, a specific Wine version, DLL overrides, or any other number of things. Keep this in mind when doing manual installs of games. If you run into issues with a game, you can check appdb.winehq.org and see if it is listed, and if it is, if there is any voodoo that needs to be done. If you see something that needs to be installed via winetricks, look for that in the Install Components tab; we have pretty much everything winetricks has.

Hope this helps. :)

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