Call Of Juarez: Gunslinger

Informations

Creator Message
Ruzvenbis Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 22409
Wine: System

Feedbacks

Description

FPS, 2013. Wikipedia.

This script is only for the Steam release (and its demo).

Source code

#!/bin/bash
# Date : (2013-06-24)
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Linux Mint 15 x64
# Author : Ruzven
#
# CHANGELOG
# [Ruzven] (2013-06-24)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Wine 1.7.8 -> system's wine.
#   Standardize.

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

TITLE="Call Of Juarez Gunslinger"
TITLE_DEMO="Call Of Juarez Gunslinger (Demo)"
PREFIX="Call_Of_Juarez_Gunslinger"

EDITOR="Ubisoft"
GAME_URL="http://www.ubi.com/UK/Games/Info.aspx?pId=11149"
AUTHOR="Ruzven"
GAME_VMS="512"

# Starting the script
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_SetupWindow_SetID 1915
# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
    POL_Call POL_Install_steam
fi

# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "steam.exe" steam://install/222400
    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"
    POL_Wine_WaitExit "$TITLE_DEMO"
    POL_Shortcut "steam.exe" "$TITLE_DEMO" "$TITLE_DEMO.png" "steam://rungameid/222400"

elif [ "$INSTALL_METHOD" == "STEAM" ]; then
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "steam.exe" steam://install/204450
    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"
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/204450"
fi

# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 23 February 2020 at 9:04
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,17 +1,23 @@
 #!/bin/bash
 # Date : (2013-06-24)
-# Last revision : (2013-12-27 11-25)
-# Wine version used : 1.5.31; 1.7.8
+# Last revision : see changelog
+# Wine version used : system
 # Distribution used to test : Linux Mint 15 x64
 # Author : Ruzven
+#
+# CHANGELOG
+# [Ruzven] (2013-06-24)
+#   Initial script.
+# [Dadu042] (2020-02-23 23:41)
+#   Wine 1.7.8 -> system's wine.
+#   Standardize.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Call Of Juarez Gunslinger"
-TITLE_DEMO="Call Of Juarez Gunslinger(Demo)"
+TITLE_DEMO="Call Of Juarez Gunslinger (Demo)"
 PREFIX="Call_Of_Juarez_Gunslinger"
-WORKING_WINE_VERSION="1.7.8"
 
 EDITOR="Ubisoft"
 GAME_URL="http://www.ubi.com/UK/Games/Info.aspx?pId=11149"
@@ -31,7 +37,7 @@
 POL_Wine_SelectPrefix "$PREFIX"
 
 # Downloading wine if necessary and creating prefix
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_Wine_PrefixCreate
 
 # Choose between DVD and Digital Download version
 POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM"

New source code

#!/bin/bash
# Date : (2013-06-24)
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Linux Mint 15 x64
# Author : Ruzven
#
# CHANGELOG
# [Ruzven] (2013-06-24)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Wine 1.7.8 -> system's wine.
#   Standardize.

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

TITLE="Call Of Juarez Gunslinger"
TITLE_DEMO="Call Of Juarez Gunslinger (Demo)"
PREFIX="Call_Of_Juarez_Gunslinger"

EDITOR="Ubisoft"
GAME_URL="http://www.ubi.com/UK/Games/Info.aspx?pId=11149"
AUTHOR="Ruzven"
GAME_VMS="512"

# Starting the script
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_SetupWindow_SetID 1915
# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
    POL_Call POL_Install_steam
fi

# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "steam.exe" steam://install/222400
    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"
    POL_Wine_WaitExit "$TITLE_DEMO"
    POL_Shortcut "steam.exe" "$TITLE_DEMO" "$TITLE_DEMO.png" "steam://rungameid/222400"

elif [ "$INSTALL_METHOD" == "STEAM" ]; then
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "steam.exe" steam://install/204450
    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"
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/204450"
fi

# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"

POL_SetupWindow_Close
exit 0

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