GOG.com - Far Cry 2

Informations

Créateur Messages
petch

Information

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

Informations

Plate-formes :
Téléchargements : 19105
Wine: 3.0.3

Retours d'expérience

Description

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-08-29 21-13)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-08-29 21-13)
#   Initial script
# [Pierre Etchemaite] (2014-11-02 20-41)
#   Wine 1.6.2
# [Dadu042] (2020-04-08 13:30).
#   Wine 1.6.2 (outdated) -> 3.0.3


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

GOGID="far_cry_2_fortunes_edition"
PREFIX="FarCry2_gog"
WORKING_WINE_VERSION="3.0.3"

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:

Contribuer
Membre Messages
Dadu042 Jeudi 9 Avril 2020 à 13:59
Dadu042

Information

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

Differences

@@ -1,19 +1,28 @@
 #!/bin/bash
 # Date : (2012-08-29 21-13)
-# Last revision : (2014-11-02 20-41)
-# Wine version used : 1.6.2
+# Last revision : see changelog
+# Wine version used : 
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-08-29 21-13)
+#   Initial script
+# [Pierre Etchemaite] (2014-11-02 20-41)
+#   Wine 1.6.2
+# [Dadu042] (2020-04-08 13:30).
+#   Wine 1.6.2 (outdated) -> 3.0.3
+
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="far_cry_2_fortunes_edition"
 PREFIX="FarCry2_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Far Cry 2"
 SHORTCUT_NAME="Far Cry 2: Fortune's Edition"
@@ -69,4 +78,4 @@
 exit 0
 _EOF_
 
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-08-29 21-13)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-08-29 21-13)
#   Initial script
# [Pierre Etchemaite] (2014-11-02 20-41)
#   Wine 1.6.2
# [Dadu042] (2020-04-08 13:30).
#   Wine 1.6.2 (outdated) -> 3.0.3


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

GOGID="far_cry_2_fortunes_edition"
PREFIX="FarCry2_gog"
WORKING_WINE_VERSION="3.0.3"

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

Réponses

petch Dimanche 2 Novembre 2014 à 22:37
petch

Warning

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

Messages

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!

Nouveau code source

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

Réponses

Anonymous
Vendredi 29 Janvier 2016 à 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?
Samedi 30 Janvier 2016 à 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 Jeudi 23 Octobre 2014 à 22:50
rawmilk905

Messages

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?

Réponses

Samedi 25 Octobre 2014 à 7:34
The script is up-to-date vs current installer version (2.0.0.8)
Mardi 4 Novembre 2014 à 2:36
Thank you.