Alan Wake

Informations

Créateur Messages
GNU_Raziel

Attention

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

Informations

Plate-formes :
Téléchargements : 15950
Wine: 2.22

Retours d'expérience

Description

Action-adventure video game, 2012. Wikipedia.


Know Bug : Very laggy in-game with most hardwares (2014).

 

Appdb.winehq.org, PCGamingWiki.

Code source

#!/bin/bash
# Date : (2012-02-22 21:00)
# Last revision : see changelog
# Wine version used : 1.4-rc4-raw3, 1.5.0-raw3
# Distribution used to test : Linux Mint 12 x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [GNU_Raziel] (2012-02-22 21:00)
#   Initial script.
# [GNU_Raziel] (2015-07-05)
#   ?
# [Dadu042] (2020-02-01 23:40)
#   Wine "1.7.46-staging" -> 2.22


## Begin Note ##
# Used RawInput3 patch to fix Bug #20395 - http://bugs.winehq.org/show_bug.cgi?id=20395
# bug id #20395 marked fixed in 1.5.13.
## End Note ##

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

TITLE="Alan Wake"
PREFIX="Alan_Wake"
EDITOR="Remedy"
GAME_URL="http://www.alanwake.com/"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="2.22"
GAME_VMS="512"

# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/alan_wake/top.jpg" "http://files.playonlinux.com/resources/setups/alan_wake/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 "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_steam
POL_Call POL_Install_dxfullsetup

# Mandatory pre-install fix for steam
STEAM_ID="108710"
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##

# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

# Begin game installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        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"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 2 Février 2020 à 0:06
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,11 +1,20 @@
 #!/bin/bash
 # Date : (2012-02-22 21:00)
-# Last revision : (2015-07-5 (year, month, day)
+# Last revision : see changelog
 # Wine version used : 1.4-rc4-raw3, 1.5.0-raw3
 # Distribution used to test : Linux Mint 12 x64
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [GNU_Raziel] (2012-02-22 21:00)
+#   Initial script.
+# [GNU_Raziel] (2015-07-05)
+#   ?
+# [Dadu042] (2020-02-01 23:40)
+#   Wine "1.7.46-staging" -> 2.22
+
 
 ## Begin Note ##
 # Used RawInput3 patch to fix Bug #20395 - http://bugs.winehq.org/show_bug.cgi?id=20395
@@ -20,7 +29,7 @@
 EDITOR="Remedy"
 GAME_URL="http://www.alanwake.com/"
 AUTHOR="GNU_Raziel"
-WORKING_WINE_VERSION="1.7.46-staging"
+WORKING_WINE_VERSION="2.22"
 GAME_VMS="512"
 
 # Starting the script

Nouveau code source

#!/bin/bash
# Date : (2012-02-22 21:00)
# Last revision : see changelog
# Wine version used : 1.4-rc4-raw3, 1.5.0-raw3
# Distribution used to test : Linux Mint 12 x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [GNU_Raziel] (2012-02-22 21:00)
#   Initial script.
# [GNU_Raziel] (2015-07-05)
#   ?
# [Dadu042] (2020-02-01 23:40)
#   Wine "1.7.46-staging" -> 2.22


## Begin Note ##
# Used RawInput3 patch to fix Bug #20395 - http://bugs.winehq.org/show_bug.cgi?id=20395
# bug id #20395 marked fixed in 1.5.13.
## End Note ##

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

TITLE="Alan Wake"
PREFIX="Alan_Wake"
EDITOR="Remedy"
GAME_URL="http://www.alanwake.com/"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="2.22"
GAME_VMS="512"

# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/alan_wake/top.jpg" "http://files.playonlinux.com/resources/setups/alan_wake/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 "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_steam
POL_Call POL_Install_dxfullsetup

# Mandatory pre-install fix for steam
STEAM_ID="108710"
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##

# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

# Begin game installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        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"
fi

POL_SetupWindow_Close
exit 0

Réponses

Dimanche 2 Février 2020 à 0:55
Note: when installed from DVD, the shortcut seems to be misssing.
deri82 Dimanche 5 Juillet 2015 à 8:44
deri82 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-02-22 21:00)
-# Last revision : (2012-03-25 21:00)
+# Last revision : (2015-07-5 (year, month, day)
 # Wine version used : 1.4-rc4-raw3, 1.5.0-raw3
 # Distribution used to test : Linux Mint 12 x64
 # Author : GNU_Raziel
@@ -9,6 +9,7 @@
 
 ## Begin Note ##
 # Used RawInput3 patch to fix Bug #20395 - http://bugs.winehq.org/show_bug.cgi?id=20395
+# bug id #20395 marked fixed in 1.5.13.
 ## End Note ##
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -19,7 +20,7 @@
 EDITOR="Remedy"
 GAME_URL="http://www.alanwake.com/"
 AUTHOR="GNU_Raziel"
-WORKING_WINE_VERSION="1.5.0-raw3"
+WORKING_WINE_VERSION="1.7.46-staging"
 GAME_VMS="512"
 
 # Starting the script

Nouveau code source

#!/bin/bash
# Date : (2012-02-22 21:00)
# Last revision : (2015-07-5 (year, month, day)
# Wine version used : 1.4-rc4-raw3, 1.5.0-raw3
# Distribution used to test : Linux Mint 12 x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Used RawInput3 patch to fix Bug #20395 - http://bugs.winehq.org/show_bug.cgi?id=20395
# bug id #20395 marked fixed in 1.5.13.
## End Note ##

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

TITLE="Alan Wake"
PREFIX="Alan_Wake"
EDITOR="Remedy"
GAME_URL="http://www.alanwake.com/"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="1.7.46-staging"
GAME_VMS="512"

# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/alan_wake/top.jpg" "http://files.playonlinux.com/resources/setups/alan_wake/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 "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_steam
POL_Call POL_Install_dxfullsetup

# Mandatory pre-install fix for steam
STEAM_ID="108710"
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

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

## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##

# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

# Begin game installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        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"
fi

POL_SetupWindow_Close
exit 0

Réponses

cecoates Dimanche 7 Juin 2015 à 22:48
cecoates Anonymous

Messages

I managed to get the GoG version working with sound (even in the cinematics).

I'm running Wine 1.7.43. I installed with Playonlinux as a "non-listed program".

I installed on a new virtual drive, and chose the defaults for everything.

After the install finished, I repeated the process to apply the 2.0.1.19 patch to the virtual drive I just created.

As-in, Alan Wake wouldn't run. So in PlayOnLinux I selected "configure".

I set the Wine version to "System" (the version I'm running above, 1.7.43).

The I chose "Configure Wine" and set the Windows version as "Windows 7".

Next I chose "Install components" and chose "dxfullsetup".

Once that finished I went back to the Wine tab and clicked "Windows reboot" and "Kill processes".

Now once I clicked "Run" for Alan Wake, boom! Full functionality. Use WSAD instead of the arrow keys but otherwise it's all good.

From WineHQ and other threads I initially tried various other steps, installed d3dx9, dsound, xact, etc. Through various trial and error I got the game running but with no cinematic sound. Doing the above process was the only way that I ended up with full functionality.

I have a ThinkPad T430 with a NVIDIA Geforce NVS 5400m and Core i7 processor. With the Intel graphics the game is playable but choppy. Using Bumblebee to run PlayOnLinux with Primus, the game is very smooth.

Réponses

Lundi 8 Juin 2015 à 6:56
Such info belongs to manual installations (https://www.playonlinux.com/en/forum-24-Manual_installations.html) since you didn't use this script
Ph4nt0m Lundi 29 Décembre 2014 à 1:42
Ph4nt0m Anonymous

Messages

The link for downloading vcredist_x64.exe and vcredist_x86.exe seems to be broken, therefore that part of the installation always fail

Réponses

Lundi 29 Décembre 2014 à 11:06
I cleared my resources cache, and had no problem redownloading/installing vcrun* components in either 32 or 64bits virtual drives...
ayami Lundi 25 Aoüt 2014 à 23:51
ayami Anonymous

Messages

I've installed Alan Wake on my Ubuntu desktop using POL and it runs fine, except that there is no in-game sound. The cinematics have sound, as does the opening splash page until the "press any key..." message. After pressing a key and going to the main menu all sound stops. If I start a new game the sound for the opening movie plays, but then once the first chapter starts all the sound is gone again.

I am using Alan Wake off a DVD, installed with the POL script, running in Wine through Steam, installed off the DVD rather than downloaded.

I'm using POL V. 4.2.2, downloaded from the repository. Ubuntu 14.04, with a NVIDIA graphics card (if that matters). Per the POL script for installing, it is using wine 1.5.0-raw3.

Everything runs fine, good framerate, keyboard and mouse work, but no audio in-game (but it is there in cinematics).

Thanks for any help.

Réponses

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