Assassin's Creed Revelations

Informatie

Creator Bericht
GNU_Raziel

Warning

This installer is a beta script. It means that it might not work as expected

Informatie

Platforms:
Downloads: 31106
Wine: 1.5.3-ubisoft2

Feedbacks

Omschrijving

Testing installer for Assassin's Creed Revelations

Know issue :
- Sound is very low in movies

Broncode

#!/bin/bash
# Date : (2012-03-04 21:00)
# Last revision : (2012-05-10 21:00)
# Wine version used : 1.4, 1.5.3-ubisoft2
# Distribution used to test : Linux Mint 12 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 Revelations"
PREFIX="AssassinsCreedRevelations"
EDITOR="Ubisoft"
GAME_URL="http://assassinscreed.ubi.com/revelations/"
AUTOR="GNU_Raziel"
WORKING_WINE_VERSION="1.5.3-ubisoft2"
GAME_VMS="256"

# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/ACR/top.jpg" "http://files.playonlinux.com/resources/setups/ACR/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="92300"
fi
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
POL_Wine_X11Drv "GrabFullscreen" "Y"

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

# "Missing folder" crash fix
WINE_USER=`id -un`
mkdir -p "$WINEPREFIX/drive_c/users/$WINE_USER/Saved Games/"

# 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 the game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "data6.cab"
        POL_Wine start /unix "$CDROM/setup.exe"
        # Killing unwanted sub-process perturbating install
        sleep 10
        killall -9 "install.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 "AssassinsCreedRevelations.exe" "$TITLE" "" ""
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
NoSt Zaterdag 18 Juli 2015 om 12:10
NoSt

Bericht

I couldn't run this game through Steam and Uplay.

After installing the Steam and the game itself, I get the login window of Uplay, but cannot log in. I receive this message:

"There seems to be a problem with your internet connection. Please check your settings or switch to offline mode".

Then, when I close the Uplay window, I get the "Wine program crash" message:

"Internal errors - Invalid parameters received".

The log looks like this:

[07/18/15 13:02:42] - Running wine-1.5.3-ubisoft2 Steam.exe steam://rungameid/201870 (Working directory : /home/nost/.PlayOnLinux/wineprefix/AssassinsCreedRevelations/drive_c/Program Files/Steam)
Install script executed.ALSA lib conf.c:3325:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
[0718/130255:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
[0718/130257:ERROR:renderer_main.cc(212)] Running without renderer sandbox
[0718/130258:INFO:CONSOLE(30)] "No routes for message MessageSettingsUpdated", source: uplay://localhost/ui/javascript/common/commands.js (30)
Setting breakpad minidump AppID = 201870
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198084223806 [API loaded no]

Antwoorden

Zaterdag 18 Juli 2015 om 12:31
Install script executed.ALSA lib conf.c:3325:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
I'm very unsure that's the cause of the crash, but for that specific problem you could try installing libasound2-plugins:i386, or whatever package is equivalent for your distribution
Zaterdag 18 Juli 2015 om 13:04
Thanks for the advice, but I already have libasound2-plugins:i386 installed.
Woensdag 22 Juli 2015 om 18:48
Finally, I was able to run Revelations with PlayOnLinux. For that I first installed Assassin's Creed 2 via PlayOnLinux, logged in to Uplay and then downloaded and installed Revelations from Steam. Works fine, just can't syncronize the progress with the cloud.

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