GOG.com - Far Cry 2

Informations

Creator Message
petch
Developer

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 14163
Wine: 1.6.2

Feedbacks

Description

English :
In every civil war, there's a moment when the lines have been drawn, but neither side wants to shoot first: a sickly, sweaty sort of time, full of mistrust, fear and empty posturing. That's where Far Cry 2 lives: a world composed primarily of tension. It hangs in the dusty air even during the opening cab ride, bubbling up suddenly as reckless traffic barrels unexpectedly past at an intersection, or threatening to boil over at that first roadblock, when the militiamen stalk around the car firing off questions and staring, sizing you up before eventually letting you past.
(updated for GOG installer v2)

Français :
Quelque part en Afrique, un pays est en proie à une guerre civile où deux factions se disputent le pouvoir, approvisionnées en arme par un certain Chacal que vous avez décidé de débusquer. Pour y parvenir, vous travaillerez pour ses clients, l'APR et l'UFLL, les seules entités pouvant vous rapprocher de ce trafiquant d'armes.
(mis à jour pour l'installeur GOG v2)

Source code

#!/bin/bash
# Date : (2012-08-29 21-13)
# Last revision : (2014-11-02 20-41)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="far_cry_2_fortunes_edition"
PREFIX="FarCry2_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - Far Cry 2"
SHORTCUT_NAME="Far Cry 2: Fortune's Edition"

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 1382
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft Montréal / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "77874c0184213f9c9a64c94c36d6632e" "c4d6b6a19c563cbc309ec35041659078" "8eb725b44a5a87e9ced068f913cbe3a3"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_d3dx9_36

POL_Call POL_GoG_install /nogui


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "256"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "farcry2.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Far Cry 2 Fortune's Edition/manual.pdf"
# C:\GOG Games\Far Cry 2 Fortune's Edition\ReadMe.txt
# C:\GOG Games\Far Cry 2 Fortune's Edition\bin\FC2Editor.exe
# C:\GOG Games\Far Cry 2 Fortune's Edition\bin\FC2BenchmarkTool.exe
# C:\GOG Games\Far Cry 2 Fortune's Edition\bin\FC2ServerLauncher.exe

POL_SetupWindow_Close

# Run Failsafe as configurator
cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Far Cry 2 Fortune's Edition/bin" || exit 1
TITLE="$TITLE"
POL_Wine farcry2.exe -RenderProfile_ResolutionX 640 -RenderProfile_ResolutionY 480 -RenderProfile_RefreshRate 0
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
petch Sunday 2 November 2014 at 22:37
petch
Developer

Information

This update has been approved by the team.

Message

Upgrade Wine to 1.6.2

 

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-08-29 21-13)
-# Last revision : (2013-07-10 13-33)
-# Wine version used : 1.5.23
+# Last revision : (2014-11-02 20-41)
+# Wine version used : 1.6.2
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -13,7 +13,7 @@
 
 GOGID="far_cry_2_fortunes_edition"
 PREFIX="FarCry2_gog"
-WORKING_WINE_VERSION="1.5.23"
+WORKING_WINE_VERSION="1.6.2"
 
 TITLE="GOG.com - Far Cry 2"
 SHORTCUT_NAME="Far Cry 2: Fortune's Edition"
@@ -33,7 +33,7 @@
 
 POL_Call POL_Install_d3dx9_36
 
-POL_Call POL_GoG_install
+POL_Call POL_GoG_install /nogui
 
 
 # GoG work!

New source code

#!/bin/bash
# Date : (2012-08-29 21-13)
# Last revision : (2014-11-02 20-41)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="far_cry_2_fortunes_edition"
PREFIX="FarCry2_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - Far Cry 2"
SHORTCUT_NAME="Far Cry 2: Fortune's Edition"

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 1382
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft Montréal / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "77874c0184213f9c9a64c94c36d6632e" "c4d6b6a19c563cbc309ec35041659078" "8eb725b44a5a87e9ced068f913cbe3a3"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_d3dx9_36

POL_Call POL_GoG_install /nogui


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "256"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "farcry2.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Far Cry 2 Fortune's Edition/manual.pdf"
# C:\GOG Games\Far Cry 2 Fortune's Edition\ReadMe.txt
# C:\GOG Games\Far Cry 2 Fortune's Edition\bin\FC2Editor.exe
# C:\GOG Games\Far Cry 2 Fortune's Edition\bin\FC2BenchmarkTool.exe
# C:\GOG Games\Far Cry 2 Fortune's Edition\bin\FC2ServerLauncher.exe

POL_SetupWindow_Close

# Run Failsafe as configurator
cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Far Cry 2 Fortune's Edition/bin" || exit 1
TITLE="$TITLE"
POL_Wine farcry2.exe -RenderProfile_ResolutionX 640 -RenderProfile_ResolutionY 480 -RenderProfile_RefreshRate 0
exit 0
_EOF_

exit 0

Replies

Anonymous
Friday 29 January 2016 at 23:22
if you click on the "try this update, the web browser thinks it's a broken link. So I changed the beginning web address to "http://www.playonlinux.com/repository/download_update.php?id=1430", but now the web browser says "Please open this file with PlayOnLinux or PlayOnMac". What's up with this thing?
Saturday 30 January 2016 at 10:31
That update has been validated, that's the current version already. But if you want to try non (yet) validated script versions you have to register playonlinux:// URL scheme in your browser with playonlinux-url_handler script
rawmilk905 Thursday 23 October 2014 at 22:50
rawmilk905

Message

This appears to no longer work using the current GOG installer. After installation, the executable runs and the resolution is changed but after the intro the screen goes black. I am running Mint 17 with the built-in drivers on an AMD graphics card (Radeon HD 6800.) Do I need to install proprietary drivers or take additional setup steps?

Replies

Saturday 25 October 2014 at 7:34
The script is up-to-date vs current installer version (2.0.0.8)
Tuesday 4 November 2014 at 2:36
Thank you.