Payday 2

Informations

Créateur Messages
Massawi33

Information

Cet installateur a été accepté par l'équipe.

Informations

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

Retours d'expérience

Description

Code source

#!/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

# CHANGELOG
# [Massawi33] (2013-10-01)
#   First script.
# [Dadu042] (2019-10-28)
#   Wine 1.6 -> 2.22

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

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

POL_SetupWindow_Init
POL_Debug_Init

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

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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:

Contribuer
Membre Messages
Dadu042 Mercredi 30 Octobre 2019 à 18:38
Dadu042

Information

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

Differences

@@ -5,19 +5,27 @@
 # Distribution used to test : Ubuntu-Gnome 13.04
 # Author : Massawi33
 
+# CHANGELOG
+# [Massawi33] (2013-10-01)
+#   First script.
+# [Dadu042] (2019-10-28)
+#   Wine 1.6 -> 2.22
+
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Payday 2"
 PREFIX="Payday2"
 STEAM_ID="218620"
-WORKING_WINE_VERSION="1.6"
+WORKING_WINE_VERSION="2.22"
 
 POL_SetupWindow_Init
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Crimenet" "http://www.crimenet.info/" "Massawi33" "$PREFIX"
 
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

Nouveau code source

#!/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

# CHANGELOG
# [Massawi33] (2013-10-01)
#   First script.
# [Dadu042] (2019-10-28)
#   Wine 1.6 -> 2.22

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

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

POL_SetupWindow_Init
POL_Debug_Init

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

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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

Réponses

Sabbasth Mercredi 1 Octobre 2014 à 14:52
Sabbasth Anonymous

Messages

Payday crashes when I hit a key on my keyboard.

How can I help troubleshooting this issue ?

Réponses

Mercredi 1 Octobre 2014 à 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
Jeudi 2 Octobre 2014 à 17:08
Thx petch !
Anonymous
Jeudi 2 Octobre 2014 à 17:09
Sorry for double posting. I installed 1.7.22 => game still crashed. I deactivated steam overlay => all working well.
xge59310 Mardi 22 Juillet 2014 à 6:06
xge59310 Anonymous

Messages

OS Ubuntu 14.04

GFX Nvidia 770GTX

Runs well minus a random crash here or there.

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