Payday 2

Informations

Creator Message
Massawi33

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 19062
Wine: 1.6

Feedbacks

Source code

#!/bin/bash
# Date : (2013-10-01 ??-??)
# Last revision : (2013-10-09 19-14)
# Wine version used : 1.6
# Distribution used to test : Ubuntu-Gnome 13.04
# Author : Massawi33

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

TITLE="Payday 2"
PREFIX="Payday2"
STEAM_ID="218620"
WORKING_WINE_VERSION="1.6"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Crimenet" "http://www.crimenet.info/" "Massawi33" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "LOCAL,STEAM"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
POL_Shortcut "steam.exe" "$TITLE" "steam://rungameid/$STEAM_ID"
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"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then

cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_SetupWindow_message "$(eval_gettext 'Please do not run $TITLE after installation has finished.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
fi

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS "256"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
POL_Shortcut "payday2_win32_release.exe" "$TITLE"
fi

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Message
Sabbasth Wednesday 1 October 2014 at 14:52
Sabbasth Anonymous

Message

Payday crashes when I hit a key on my keyboard.

How can I help troubleshooting this issue ?

Replies

Wednesday 1 October 2014 at 21:11
Try upgrading Wine version to at least 1.7.8, maybe also disabling Steam overlay
(thinking about http://www.playonlinux.com/en/comments-1186.html, among things)
Anonymous
Thursday 2 October 2014 at 17:08
Thx petch !
Anonymous
Thursday 2 October 2014 at 17:09
Sorry for double posting. I installed 1.7.22 => game still crashed. I deactivated steam overlay => all working well.
xge59310 Tuesday 22 July 2014 at 6:06
xge59310 Anonymous

Message

OS Ubuntu 14.04

GFX Nvidia 770GTX

Runs well minus a random crash here or there.

Replies