You are here
Payday 2
Informations
Creator | Message |
---|---|
Massawi33
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks1 1 DescriptionFPS, 2013. 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 # 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:
ContributeMember | Message |
Dadu042 | Wednesday 30 October 2019 at 18:38 |
Dadu042
|
InformationThis update has been approved by the team. 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" New 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 # 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 Replies |
Sabbasth | Wednesday 1 October 2014 at 14:52 |
Sabbasth
|
|
xge59310 | Tuesday 22 July 2014 at 6:06 |
xge59310
|
MessageOS Ubuntu 14.04 GFX Nvidia 770GTX Runs well minus a random crash here or there. Replies |
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