Call Of Juarez Gunslinger

Informations

Creator Message
Ruzvenbis Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 16225
Wine: 1.7.8

Feedbacks

Description

From the dust of a gold mine to the dirt of a saloon, Call of Juarez® Gunslinger is a real homage to the Wild West tales. Live the epic and violent journey of a ruthless bounty hunter on the trail of the West’s most notorious outlaws. Blurring the lines between man and myth, this adventure made of memorable encounters unveils the untold truth behind some of the greatest legends of the Old West.

Source code

#!/bin/bash
# Date : (2013-06-24)
# Last revision : (2013-12-27 11-25)
# Wine version used : 1.5.31; 1.7.8
# Distribution used to test : Linux Mint 15 x64
# Author : Ruzven

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

TITLE="Call Of Juarez Gunslinger"
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"
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 "$WORKING_WINE_VERSION"

# 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