S.T.A.L.K.E.R.: Call of Pripyat

Informations

Creator Meddelanden
Xenos5

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 36235
Wine: 2.22

Feedbacks

Description

Third instalment in the highly-acclaimed S.T.A.L.K.E.R. franchise. It's a FPS, 2010. Wikipedia.
Script notes: The steam install method is untested (I don't own Call of Pripyat on steam), but has been known to work. Problem reports are, as always, welcome.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2015-03-25T21:00Z)
# Last revision : see changelog
# Distribution used to test : Arch Linux
# Author : Alexander Borysov (Xenos5)
# Script licence : GPLv3
# Program licence: Proprietary
#
# CHANGELOG:
# [Catskan] (2015-03-25)
#   First version.
# [Dadu042] (2019-12-08)
#   Wine 1.7.39 -> 2.22


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

TITLE="S.T.A.L.K.E.R.: Call of Pripyat"
PREFIX="STALKERCallOfPripyat"
WINEVERSION="2.22"
STEAM_APP_ID=41700

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BitComposer Games" "http://stalker-game.com" "Alexander Borysov" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

if [ "$INSTALL_METHOD" = "DVD" ]; then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup-1.bin"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$CDROM/setup.exe"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Call POL_Install_steam
   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
   POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
fi

POL_SetupWindow_VMS "128"
POL_Wine_OverrideDLL "" "d3dx11_42" # avoids a crash on start

if [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
else
    POL_Shortcut "Stalker-COP.exe" "$TITLE" "S.T.A.L.K.E.R.: Call of Pripyat.png" "" "Game;"
fi

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Meddelanden
Dadu042 Sunday 8 December 2019 at 20:33
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,17 +1,24 @@
 #!/bin/bash
 # Date : (2015-03-25T21:00Z)
-# Last revision : (2015-03-25T21:00Z)
+# Last revision : see changelog
 # Distribution used to test : Arch Linux
 # Author : Alexander Borysov (Xenos5)
 # Script licence : GPLv3
 # Program licence: Proprietary
+#
+# CHANGELOG:
+# [Catskan] (2015-03-25)
+#   First version.
+# [Dadu042] (2019-12-08)
+#   Wine 1.7.39 -> 2.22
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="S.T.A.L.K.E.R.: Call of Pripyat"
 PREFIX="STALKERCallOfPripyat"
-WINEVERSION="1.7.39"
+WINEVERSION="2.22"
 STEAM_APP_ID=41700
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
@@ -48,7 +55,7 @@
 if [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
 else
-    POL_Shortcut "Stalker-COP.exe" "$TITLE" "S.T.A.L.K.E.R.: Call of Pripyat.png"
+    POL_Shortcut "Stalker-COP.exe" "$TITLE" "S.T.A.L.K.E.R.: Call of Pripyat.png" "" "Game;"
 fi
 
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2015-03-25T21:00Z)
# Last revision : see changelog
# Distribution used to test : Arch Linux
# Author : Alexander Borysov (Xenos5)
# Script licence : GPLv3
# Program licence: Proprietary
#
# CHANGELOG:
# [Catskan] (2015-03-25)
#   First version.
# [Dadu042] (2019-12-08)
#   Wine 1.7.39 -> 2.22


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

TITLE="S.T.A.L.K.E.R.: Call of Pripyat"
PREFIX="STALKERCallOfPripyat"
WINEVERSION="2.22"
STEAM_APP_ID=41700

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BitComposer Games" "http://stalker-game.com" "Alexander Borysov" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

if [ "$INSTALL_METHOD" = "DVD" ]; then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup-1.bin"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$CDROM/setup.exe"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Call POL_Install_steam
   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
   POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
fi

POL_SetupWindow_VMS "128"
POL_Wine_OverrideDLL "" "d3dx11_42" # avoids a crash on start

if [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
else
    POL_Shortcut "Stalker-COP.exe" "$TITLE" "S.T.A.L.K.E.R.: Call of Pripyat.png" "" "Game;"
fi

POL_SetupWindow_Close
exit

Svar

Xenos5 Wednesday 25 March 2015 at 22:23
Xenos5

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,55 @@
+#!/bin/bash
+# Date : (2015-03-25T21:00Z)
+# Last revision : (2015-03-25T21:00Z)
+# Distribution used to test : Arch Linux
+# Author : Alexander Borysov (Xenos5)
+# Script licence : GPLv3
+# Program licence: Proprietary
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="S.T.A.L.K.E.R.: Call of Pripyat"
+PREFIX="STALKERCallOfPripyat"
+WINEVERSION="1.7.39"
+STEAM_APP_ID=41700
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "BitComposer Games" "http://stalker-game.com" "Alexander Borysov" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
+
+if [ "$INSTALL_METHOD" = "DVD" ]; then
+    POL_SetupWindow_cdrom
+    POL_SetupWindow_check_cdrom "setup-1.bin"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine "$CDROM/setup.exe"
+elif [ "$INSTALL_METHOD" = "STEAM" ]; then
+   POL_Call POL_Install_steam
+   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
+   POL_Wine_WaitExit "$TITLE"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine "$APP_ANSWER"
+fi
+
+POL_SetupWindow_VMS "128"
+POL_Wine_OverrideDLL "" "d3dx11_42" # avoids a crash on start
+
+if [ "$INSTALL_METHOD" = "STEAM" ]; then
+   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
+else
+    POL_Shortcut "Stalker-COP.exe" "$TITLE" "S.T.A.L.K.E.R.: Call of Pripyat.png"
+fi
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-03-25T21:00Z)
# Last revision : (2015-03-25T21:00Z)
# Distribution used to test : Arch Linux
# Author : Alexander Borysov (Xenos5)
# Script licence : GPLv3
# Program licence: Proprietary

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

TITLE="S.T.A.L.K.E.R.: Call of Pripyat"
PREFIX="STALKERCallOfPripyat"
WINEVERSION="1.7.39"
STEAM_APP_ID=41700

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BitComposer Games" "http://stalker-game.com" "Alexander Borysov" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

if [ "$INSTALL_METHOD" = "DVD" ]; then
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup-1.bin"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$CDROM/setup.exe"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Call POL_Install_steam
   cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
   POL_Wine "steam.exe" "steam://install/$STEAM_APP_ID"
   POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
fi

POL_SetupWindow_VMS "128"
POL_Wine_OverrideDLL "" "d3dx11_42" # avoids a crash on start

if [ "$INSTALL_METHOD" = "STEAM" ]; then
   POL_Shortcut "steam.exe" "$TITLE" "${TITLE}.png" "steam://rungameid/$STEAM_APP_ID -no-dwrite"
else
    POL_Shortcut "Stalker-COP.exe" "$TITLE" "S.T.A.L.K.E.R.: Call of Pripyat.png"
fi

POL_SetupWindow_Close
exit

Svar

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