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

Informations

Créateur Messages
Xenos5

Information

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

Informations

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

Retours d'expérience

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.

Captures d'écran

MiniatureMiniatureMiniature

Code source

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

Contribuer
Membre Messages
Dadu042 Dimanche 8 Décembre 2019 à 20:33
Dadu042

Information

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

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

Nouveau code source

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

Réponses

Xenos5 Mercredi 25 Mars 2015 à 22:23
Xenos5

Warning

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

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

Nouveau code source

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

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