Assassin's Creed 2

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 138685
Wine: 1.5.3-ubisoft2

Feedbacks

Description

Français :
Au coeur d'un monde vaste et ouvert, le joueur incarne Ezio Auditore da Firenze, un jeune noble de la Renaissance italienne venant d'être trahi par des familles influentes et rivales. Ezio n'aura, dès lors, que soif de vengeance : la Vérité s'écrit dans le sang. Assassin's Creed II sur PC offre des missions plus variées que le premier épisode, de nouvelles armes ainsi qu'un système de progression du personnage.

English :
The game is set in the 21st century, with player-controlled protagonist Desmond Miles escaping from Abstergo Industries with an employee, Lucy Stillman, after being forced to relive the genetic memories of ancestral assassin Altaïr ibn La-Ahad through a machine known as the "Animus". After escaping from Abstergo, Desmond enters a device which is more advanced than the original Animus, the Animus 2.0, and relives the genetic memories of ancestral nobleman Ezio Auditore da Firenze, who lived during the Renaissance period of the late 15th century in Italy.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2010-03-09 19-00)
# Last revision : (2012-05-10 21:00)
# Wine version used : 1.3.3, 1.3.8, 1.3.15-MousePbPatch, 1.3.23, 1.3.27, 1.5.3-ubisoft2
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Used patch to fix "ReadFileEx failture", see Bug #28119 - http://bugs.winehq.org/show_bug.cgi?id=28119
## End Note ##

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

TITLE="Assassin's Creed 2"
PREFIX="AssassinsCreed2"
EDITOR="Ubisoft"
GAME_URL="http://assassinscreed.uk.ubi.com/assassins-creed-2/"
AUTOR="GNU_Raziel"
WORKING_WINE_VERSION="1.5.3-ubisoft2"
GAME_VMS="256"

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

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"  

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        STEAM_ID="33230"
fi
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher

# 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" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "ac2.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$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

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

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
deri82 Sunday 5 July 2015 at 7:42
deri82 Anonymous

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2010-03-09 19-00)
-# Last revision : (2012-05-10 21:00)
+# Last revision : (2015-5-7) (year, day, month)
 # Wine version used : 1.3.3, 1.3.8, 1.3.15-MousePbPatch, 1.3.23, 1.3.27, 1.5.3-ubisoft2
 # Distribution used to test : Debian Testing x64
 # Author : GNU_Raziel
@@ -9,6 +9,7 @@
 
 ## Begin Note ##
 # Used patch to fix "ReadFileEx failture", see Bug #28119 - http://bugs.winehq.org/show_bug.cgi?id=28119
+# bug #28119 is marked fixed in 1.5.7
 ## End Note ##
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -19,7 +20,7 @@
 EDITOR="Ubisoft"
 GAME_URL="http://assassinscreed.uk.ubi.com/assassins-creed-2/"
 AUTOR="GNU_Raziel"
-WORKING_WINE_VERSION="1.5.3-ubisoft2"
+WORKING_WINE_VERSION="1.7.46"
 GAME_VMS="256"
 
 # Starting the script

New source code

#!/bin/bash
# Date : (2010-03-09 19-00)
# Last revision : (2015-5-7) (year, day, month)
# Wine version used : 1.3.3, 1.3.8, 1.3.15-MousePbPatch, 1.3.23, 1.3.27, 1.5.3-ubisoft2
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Used patch to fix "ReadFileEx failture", see Bug #28119 - http://bugs.winehq.org/show_bug.cgi?id=28119
# bug #28119 is marked fixed in 1.5.7
## End Note ##

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

TITLE="Assassin's Creed 2"
PREFIX="AssassinsCreed2"
EDITOR="Ubisoft"
GAME_URL="http://assassinscreed.uk.ubi.com/assassins-creed-2/"
AUTOR="GNU_Raziel"
WORKING_WINE_VERSION="1.7.46"
GAME_VMS="256"

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

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"  

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

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

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

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        STEAM_ID="33230"
fi
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher

# 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" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "ac2.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$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

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

POL_SetupWindow_Close
exit 0

Replies

Sunday 5 July 2015 at 8:18
Same thing, please comment your modifications, is a patched Wine version no longer necessary?