GOG.com - Far Cry

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 33168
Wine: 3.0.3

Feedbacks

Description

English: FPS, 2004, Wikipedia. Top soldier in charge of protecting a journalist, you find yourself on an island paradise, watching suspicious mercenaries...(updated for GOG installer v2)

Français : Soldat d'élite engagé par une journaliste, vous voilà sur des îles paradisiaques pour observer des mercenaires bien suspects... (mis à jour pour l'installeur GOG v2)

Appdb.winehq.org

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (2011-12-18 11-39)
# Last revision : see changelog
# Wine version used : 1.3.36, 1.4.1, 1.6.2
# Distribution used to test : Kubuntu 18.04 amd64
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2011-12-18 11-39)
#   Initial script (Wine 1.3.36).
#   1.3.35 has a problem with Direct3D9 renderer water effects.  Seems to be fixed in 1.3.36 :) 
# [Pierre Etchemaite] (2014-04-01 19-02)
#   Wine 1.4.1 -> 1.6.2 ?
# [Dadu042] (2020-03-20 19:30). Script tested with GOG v2.0.0.9.
#   Wine 1.6.2 -> 3.0.3
# [Dadu042] (2020-04-09 18:30). Script tested with GOG v2.1.0.12.
#   Remove '/nogui' at 'POL_Call POL_GoG_install' because this crash the GOG installer v2.x
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
GOGID="far_cry"
PREFIX="FarCry_gog"
WORKING_WINE_VERSION="3.0.3"
  
TITLE="GOG.com - Far Cry"
SHORTCUT_NAME="Far Cry"
SHORTCUT_EDITOR="$SHORTCUT_NAME - CryEngine Sandbox"
  
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 1024
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Crytek Studios / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
  
POL_Call POL_GoG_setup "$GOGID" "e26869ba3755084f7b51be5174479d01" "980dbc3d41af088b46d6b3dfa1c1dc3d" "d7cbea9fa8afb4de00f30beeca9d11fa"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_Call POL_GoG_install
  
  
cd "$GOGROOT/Far Cry/"
if [ $? -eq 0 ]; then
    # Disable new external configurator, as it generates setups that are
    # not compatible with Wine...
    mv "Bin32/FarCryConfigurator.exe" "Bin32/FarCryConfigurator.exe.disabled"
else
  POL_Debug_Error "$(eval_gettext 'Could not find program directory')"
fi
  
# GoG work!
Set_OS winxp
  
POL_SetupWindow_VMS "64"
  
# Doesn't hurt ;)
POL_Wine_reboot
  
LNG_EDITOR="$(eval_gettext 'The level editor')"
POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}" "~"
SHORTCUTS="$APP_ANSWER"
  
POL_Shortcut "FarCry.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Far Cry/Manual.pdf"
# C:/GOG Games/Far Cry/Readme.txt
# C:/GOG Games/Far Cry/Manual_1_4.pdf
  
if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
    POL_Shortcut "Editor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;ActionGame;"
    POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Far Cry/Editor Manual.pdf"
fi
  
# C:/GOG Games/Far Cry/Dedicated server guide.rtf
# C:/GOG Games/Far Cry/Using the FarCry dedicated server.rtf
# C:/GOG Games/Far Cry/Server_Command_Table.pdf
  
POL_SetupWindow_message "$(eval_gettext 'Default video settings are a bit low for modern computers,\nremember to click on "Auto-detect" in advanced video settings.')" "$TITLE"
  
POL_SetupWindow_Close
  
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=""
  
POL_LoadVar_PROGRAMFILES
  
cd "$GOGROOT/Far Cry/" || exit 1
  
TITLE="$TITLE"
  
POL_SetupWindow_Init
  
[ -f system.cfg ] || POL_Debug_Fatal "\$(eval_gettext 'Run the game once to create the configuration file!')"
  
DRIVER="\$(sed -e 's/^r_Driver = \"\(.*\)\".*/\1/p; d' system.cfg)"
VERBOSITY="\$(sed -e 's/^log_Verbosity = \"\(.*\)\".*/\1/p; d' system.cfg)"
  
POL_SetupWindow_menu_list "\$(eval_gettext 'Pick video driver to use [experimental]:')" "\$TITLE" "Direct3D9~OpenGL" "~" "\$DRIVER"
NEW_DRIVER="\$APP_ANSWER"
  
POL_SetupWindow_menu_list "\$(eval_gettext 'Verbosity while loading maps:')" "\$TITLE" "0~1~2~3~4~5~6~7~8" "~" "\$VERBOSITY"
NEW_VERBOSITY="\$APP_ANSWER"
  
if [ "\$NEW_DRIVER" != "\$DRIVER" -o "\$NEW_VERBOSITY" != "\$VERBOSITY" ]; then
    sed -i.bak -e 's/^r_Driver = ".*"/r_Driver = "'"\$NEW_DRIVER"'"/' \
               -e 's/^log_Verbosity = ".*"/log_Verbosity = "'"\$NEW_VERBOSITY"'"/' \
      system.cfg
fi
  
POL_SetupWindow_Close
exit 0
_EOF_
  
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 9 April 2020 at 18:42
Dadu042

Information

This update has been approved by the team.

Differences

@@ -2,7 +2,7 @@
 # Date : (2011-12-18 11-39)
 # Last revision : see changelog
 # Wine version used : 1.3.36, 1.4.1, 1.6.2
-# Distribution used to test : Debian Sid (Unstable)
+# Distribution used to test : Kubuntu 18.04 amd64
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
@@ -16,36 +16,36 @@
 #   Wine 1.4.1 -> 1.6.2 ?
 # [Dadu042] (2020-03-20 19:30). Script tested with GOG v2.0.0.9.
 #   Wine 1.6.2 -> 3.0.3
-#   
-
-
+# [Dadu042] (2020-04-09 18:30). Script tested with GOG v2.1.0.12.
+#   Remove '/nogui' at 'POL_Call POL_GoG_install' because this crash the GOG installer v2.x
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 GOGID="far_cry"
 PREFIX="FarCry_gog"
 WORKING_WINE_VERSION="3.0.3"
- 
+  
 TITLE="GOG.com - Far Cry"
 SHORTCUT_NAME="Far Cry"
 SHORTCUT_EDITOR="$SHORTCUT_NAME - CryEngine Sandbox"
- 
+  
 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 1024
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "Crytek Studios / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
- 
+  
 POL_Call POL_GoG_setup "$GOGID" "e26869ba3755084f7b51be5174479d01" "980dbc3d41af088b46d6b3dfa1c1dc3d" "d7cbea9fa8afb4de00f30beeca9d11fa"
- 
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
- 
-POL_Call POL_GoG_install /nogui
- 
- 
+  
+POL_Call POL_GoG_install
+  
+  
 cd "$GOGROOT/Far Cry/"
 if [ $? -eq 0 ]; then
     # Disable new external configurator, as it generates setups that are
@@ -54,71 +54,71 @@
 else
   POL_Debug_Error "$(eval_gettext 'Could not find program directory')"
 fi
- 
+  
 # GoG work!
 Set_OS winxp
- 
+  
 POL_SetupWindow_VMS "64"
- 
+  
 # Doesn't hurt ;)
 POL_Wine_reboot
- 
+  
 LNG_EDITOR="$(eval_gettext 'The level editor')"
 POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}" "~"
 SHORTCUTS="$APP_ANSWER"
- 
+  
 POL_Shortcut "FarCry.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
 POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Far Cry/Manual.pdf"
 # C:/GOG Games/Far Cry/Readme.txt
 # C:/GOG Games/Far Cry/Manual_1_4.pdf
- 
+  
 if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
     POL_Shortcut "Editor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;ActionGame;"
     POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Far Cry/Editor Manual.pdf"
 fi
- 
+  
 # C:/GOG Games/Far Cry/Dedicated server guide.rtf
 # C:/GOG Games/Far Cry/Using the FarCry dedicated server.rtf
 # C:/GOG Games/Far Cry/Server_Command_Table.pdf
- 
+  
 POL_SetupWindow_message "$(eval_gettext 'Default video settings are a bit low for modern computers,\nremember to click on "Auto-detect" in advanced video settings.')" "$TITLE"
- 
+  
 POL_SetupWindow_Close
- 
+  
 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=""
- 
+  
 POL_LoadVar_PROGRAMFILES
- 
+  
 cd "$GOGROOT/Far Cry/" || exit 1
- 
+  
 TITLE="$TITLE"
- 
+  
 POL_SetupWindow_Init
- 
+  
 [ -f system.cfg ] || POL_Debug_Fatal "\$(eval_gettext 'Run the game once to create the configuration file!')"
- 
+  
 DRIVER="\$(sed -e 's/^r_Driver = \"\(.*\)\".*/\1/p; d' system.cfg)"
 VERBOSITY="\$(sed -e 's/^log_Verbosity = \"\(.*\)\".*/\1/p; d' system.cfg)"
- 
+  
 POL_SetupWindow_menu_list "\$(eval_gettext 'Pick video driver to use [experimental]:')" "\$TITLE" "Direct3D9~OpenGL" "~" "\$DRIVER"
 NEW_DRIVER="\$APP_ANSWER"
- 
+  
 POL_SetupWindow_menu_list "\$(eval_gettext 'Verbosity while loading maps:')" "\$TITLE" "0~1~2~3~4~5~6~7~8" "~" "\$VERBOSITY"
 NEW_VERBOSITY="\$APP_ANSWER"
- 
+  
 if [ "\$NEW_DRIVER" != "\$DRIVER" -o "\$NEW_VERBOSITY" != "\$VERBOSITY" ]; then
     sed -i.bak -e 's/^r_Driver = ".*"/r_Driver = "'"\$NEW_DRIVER"'"/' \
                -e 's/^log_Verbosity = ".*"/log_Verbosity = "'"\$NEW_VERBOSITY"'"/' \
       system.cfg
 fi
- 
+  
 POL_SetupWindow_Close
 exit 0
 _EOF_
- 
+  
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2011-12-18 11-39)
# Last revision : see changelog
# Wine version used : 1.3.36, 1.4.1, 1.6.2
# Distribution used to test : Kubuntu 18.04 amd64
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2011-12-18 11-39)
#   Initial script (Wine 1.3.36).
#   1.3.35 has a problem with Direct3D9 renderer water effects.  Seems to be fixed in 1.3.36 :) 
# [Pierre Etchemaite] (2014-04-01 19-02)
#   Wine 1.4.1 -> 1.6.2 ?
# [Dadu042] (2020-03-20 19:30). Script tested with GOG v2.0.0.9.
#   Wine 1.6.2 -> 3.0.3
# [Dadu042] (2020-04-09 18:30). Script tested with GOG v2.1.0.12.
#   Remove '/nogui' at 'POL_Call POL_GoG_install' because this crash the GOG installer v2.x
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
GOGID="far_cry"
PREFIX="FarCry_gog"
WORKING_WINE_VERSION="3.0.3"
  
TITLE="GOG.com - Far Cry"
SHORTCUT_NAME="Far Cry"
SHORTCUT_EDITOR="$SHORTCUT_NAME - CryEngine Sandbox"
  
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 1024
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Crytek Studios / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
  
POL_Call POL_GoG_setup "$GOGID" "e26869ba3755084f7b51be5174479d01" "980dbc3d41af088b46d6b3dfa1c1dc3d" "d7cbea9fa8afb4de00f30beeca9d11fa"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_Call POL_GoG_install
  
  
cd "$GOGROOT/Far Cry/"
if [ $? -eq 0 ]; then
    # Disable new external configurator, as it generates setups that are
    # not compatible with Wine...
    mv "Bin32/FarCryConfigurator.exe" "Bin32/FarCryConfigurator.exe.disabled"
else
  POL_Debug_Error "$(eval_gettext 'Could not find program directory')"
fi
  
# GoG work!
Set_OS winxp
  
POL_SetupWindow_VMS "64"
  
# Doesn't hurt ;)
POL_Wine_reboot
  
LNG_EDITOR="$(eval_gettext 'The level editor')"
POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}" "~"
SHORTCUTS="$APP_ANSWER"
  
POL_Shortcut "FarCry.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Far Cry/Manual.pdf"
# C:/GOG Games/Far Cry/Readme.txt
# C:/GOG Games/Far Cry/Manual_1_4.pdf
  
if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
    POL_Shortcut "Editor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;ActionGame;"
    POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Far Cry/Editor Manual.pdf"
fi
  
# C:/GOG Games/Far Cry/Dedicated server guide.rtf
# C:/GOG Games/Far Cry/Using the FarCry dedicated server.rtf
# C:/GOG Games/Far Cry/Server_Command_Table.pdf
  
POL_SetupWindow_message "$(eval_gettext 'Default video settings are a bit low for modern computers,\nremember to click on "Auto-detect" in advanced video settings.')" "$TITLE"
  
POL_SetupWindow_Close
  
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=""
  
POL_LoadVar_PROGRAMFILES
  
cd "$GOGROOT/Far Cry/" || exit 1
  
TITLE="$TITLE"
  
POL_SetupWindow_Init
  
[ -f system.cfg ] || POL_Debug_Fatal "\$(eval_gettext 'Run the game once to create the configuration file!')"
  
DRIVER="\$(sed -e 's/^r_Driver = \"\(.*\)\".*/\1/p; d' system.cfg)"
VERBOSITY="\$(sed -e 's/^log_Verbosity = \"\(.*\)\".*/\1/p; d' system.cfg)"
  
POL_SetupWindow_menu_list "\$(eval_gettext 'Pick video driver to use [experimental]:')" "\$TITLE" "Direct3D9~OpenGL" "~" "\$DRIVER"
NEW_DRIVER="\$APP_ANSWER"
  
POL_SetupWindow_menu_list "\$(eval_gettext 'Verbosity while loading maps:')" "\$TITLE" "0~1~2~3~4~5~6~7~8" "~" "\$VERBOSITY"
NEW_VERBOSITY="\$APP_ANSWER"
  
if [ "\$NEW_DRIVER" != "\$DRIVER" -o "\$NEW_VERBOSITY" != "\$VERBOSITY" ]; then
    sed -i.bak -e 's/^r_Driver = ".*"/r_Driver = "'"\$NEW_DRIVER"'"/' \
               -e 's/^log_Verbosity = ".*"/log_Verbosity = "'"\$NEW_VERBOSITY"'"/' \
      system.cfg
fi
  
POL_SetupWindow_Close
exit 0
_EOF_
  
exit 0

Replies

Dadu042 Saturday 21 March 2020 at 0:22
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Played 20 min.

Differences

@@ -1,43 +1,51 @@
 #!/bin/bash
 # Date : (2011-12-18 11-39)
-# Last revision : (2014-04-01 19-02)
+# Last revision : see changelog
 # Wine version used : 1.3.36, 1.4.1, 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 :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2011-12-18 11-39)
+#   Initial script (Wine 1.3.36).
+#   1.3.35 has a problem with Direct3D9 renderer water effects.  Seems to be fixed in 1.3.36 :) 
+# [Pierre Etchemaite] (2014-04-01 19-02)
+#   Wine 1.4.1 -> 1.6.2 ?
+# [Dadu042] (2020-03-20 19:30). Script tested with GOG v2.0.0.9.
+#   Wine 1.6.2 -> 3.0.3
+#   
 
-# 1.3.35 has a problem with Direct3D9 renderer water effects 
-# Seems to be fixed in 1.3.36 :)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 GOGID="far_cry"
 PREFIX="FarCry_gog"
-WORKING_WINE_VERSION="1.6.2"
-
+WORKING_WINE_VERSION="3.0.3"
+ 
 TITLE="GOG.com - Far Cry"
 SHORTCUT_NAME="Far Cry"
 SHORTCUT_EDITOR="$SHORTCUT_NAME - CryEngine Sandbox"
-
+ 
 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 1024
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Crytek Studios / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
-
+ 
 POL_Call POL_GoG_setup "$GOGID" "e26869ba3755084f7b51be5174479d01" "980dbc3d41af088b46d6b3dfa1c1dc3d" "d7cbea9fa8afb4de00f30beeca9d11fa"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_Call POL_GoG_install /nogui
-
-
+ 
+ 
 cd "$GOGROOT/Far Cry/"
 if [ $? -eq 0 ]; then
     # Disable new external configurator, as it generates setups that are
@@ -46,71 +54,71 @@
 else
   POL_Debug_Error "$(eval_gettext 'Could not find program directory')"
 fi
-
+ 
 # GoG work!
 Set_OS winxp
-
+ 
 POL_SetupWindow_VMS "64"
-
+ 
 # Doesn't hurt ;)
 POL_Wine_reboot
-
+ 
 LNG_EDITOR="$(eval_gettext 'The level editor')"
 POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}" "~"
 SHORTCUTS="$APP_ANSWER"
-
+ 
 POL_Shortcut "FarCry.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
 POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Far Cry/Manual.pdf"
 # C:/GOG Games/Far Cry/Readme.txt
 # C:/GOG Games/Far Cry/Manual_1_4.pdf
-
+ 
 if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
     POL_Shortcut "Editor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;ActionGame;"
     POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Far Cry/Editor Manual.pdf"
 fi
-
+ 
 # C:/GOG Games/Far Cry/Dedicated server guide.rtf
 # C:/GOG Games/Far Cry/Using the FarCry dedicated server.rtf
 # C:/GOG Games/Far Cry/Server_Command_Table.pdf
-
+ 
 POL_SetupWindow_message "$(eval_gettext 'Default video settings are a bit low for modern computers,\nremember to click on "Auto-detect" in advanced video settings.')" "$TITLE"
-
+ 
 POL_SetupWindow_Close
-
+ 
 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=""
-
+ 
 POL_LoadVar_PROGRAMFILES
-
+ 
 cd "$GOGROOT/Far Cry/" || exit 1
-
+ 
 TITLE="$TITLE"
-
+ 
 POL_SetupWindow_Init
-
+ 
 [ -f system.cfg ] || POL_Debug_Fatal "\$(eval_gettext 'Run the game once to create the configuration file!')"
-
+ 
 DRIVER="\$(sed -e 's/^r_Driver = \"\(.*\)\".*/\1/p; d' system.cfg)"
 VERBOSITY="\$(sed -e 's/^log_Verbosity = \"\(.*\)\".*/\1/p; d' system.cfg)"
-
+ 
 POL_SetupWindow_menu_list "\$(eval_gettext 'Pick video driver to use [experimental]:')" "\$TITLE" "Direct3D9~OpenGL" "~" "\$DRIVER"
 NEW_DRIVER="\$APP_ANSWER"
-
+ 
 POL_SetupWindow_menu_list "\$(eval_gettext 'Verbosity while loading maps:')" "\$TITLE" "0~1~2~3~4~5~6~7~8" "~" "\$VERBOSITY"
 NEW_VERBOSITY="\$APP_ANSWER"
-
+ 
 if [ "\$NEW_DRIVER" != "\$DRIVER" -o "\$NEW_VERBOSITY" != "\$VERBOSITY" ]; then
     sed -i.bak -e 's/^r_Driver = ".*"/r_Driver = "'"\$NEW_DRIVER"'"/' \
                -e 's/^log_Verbosity = ".*"/log_Verbosity = "'"\$NEW_VERBOSITY"'"/' \
       system.cfg
 fi
-
+ 
 POL_SetupWindow_Close
 exit 0
 _EOF_
-
-exit 0
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2011-12-18 11-39)
# Last revision : see changelog
# Wine version used : 1.3.36, 1.4.1, 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 :
#
# CHANGELOG
# [Pierre Etchemaite] (2011-12-18 11-39)
#   Initial script (Wine 1.3.36).
#   1.3.35 has a problem with Direct3D9 renderer water effects.  Seems to be fixed in 1.3.36 :) 
# [Pierre Etchemaite] (2014-04-01 19-02)
#   Wine 1.4.1 -> 1.6.2 ?
# [Dadu042] (2020-03-20 19:30). Script tested with GOG v2.0.0.9.
#   Wine 1.6.2 -> 3.0.3
#   


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="far_cry"
PREFIX="FarCry_gog"
WORKING_WINE_VERSION="3.0.3"
 
TITLE="GOG.com - Far Cry"
SHORTCUT_NAME="Far Cry"
SHORTCUT_EDITOR="$SHORTCUT_NAME - CryEngine Sandbox"
 
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 1024
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Crytek Studios / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "e26869ba3755084f7b51be5174479d01" "980dbc3d41af088b46d6b3dfa1c1dc3d" "d7cbea9fa8afb4de00f30beeca9d11fa"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install /nogui
 
 
cd "$GOGROOT/Far Cry/"
if [ $? -eq 0 ]; then
    # Disable new external configurator, as it generates setups that are
    # not compatible with Wine...
    mv "Bin32/FarCryConfigurator.exe" "Bin32/FarCryConfigurator.exe.disabled"
else
  POL_Debug_Error "$(eval_gettext 'Could not find program directory')"
fi
 
# GoG work!
Set_OS winxp
 
POL_SetupWindow_VMS "64"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
LNG_EDITOR="$(eval_gettext 'The level editor')"
POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}" "~"
SHORTCUTS="$APP_ANSWER"
 
POL_Shortcut "FarCry.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Far Cry/Manual.pdf"
# C:/GOG Games/Far Cry/Readme.txt
# C:/GOG Games/Far Cry/Manual_1_4.pdf
 
if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
    POL_Shortcut "Editor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;ActionGame;"
    POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Far Cry/Editor Manual.pdf"
fi
 
# C:/GOG Games/Far Cry/Dedicated server guide.rtf
# C:/GOG Games/Far Cry/Using the FarCry dedicated server.rtf
# C:/GOG Games/Far Cry/Server_Command_Table.pdf
 
POL_SetupWindow_message "$(eval_gettext 'Default video settings are a bit low for modern computers,\nremember to click on "Auto-detect" in advanced video settings.')" "$TITLE"
 
POL_SetupWindow_Close
 
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=""
 
POL_LoadVar_PROGRAMFILES
 
cd "$GOGROOT/Far Cry/" || exit 1
 
TITLE="$TITLE"
 
POL_SetupWindow_Init
 
[ -f system.cfg ] || POL_Debug_Fatal "\$(eval_gettext 'Run the game once to create the configuration file!')"
 
DRIVER="\$(sed -e 's/^r_Driver = \"\(.*\)\".*/\1/p; d' system.cfg)"
VERBOSITY="\$(sed -e 's/^log_Verbosity = \"\(.*\)\".*/\1/p; d' system.cfg)"
 
POL_SetupWindow_menu_list "\$(eval_gettext 'Pick video driver to use [experimental]:')" "\$TITLE" "Direct3D9~OpenGL" "~" "\$DRIVER"
NEW_DRIVER="\$APP_ANSWER"
 
POL_SetupWindow_menu_list "\$(eval_gettext 'Verbosity while loading maps:')" "\$TITLE" "0~1~2~3~4~5~6~7~8" "~" "\$VERBOSITY"
NEW_VERBOSITY="\$APP_ANSWER"
 
if [ "\$NEW_DRIVER" != "\$DRIVER" -o "\$NEW_VERBOSITY" != "\$VERBOSITY" ]; then
    sed -i.bak -e 's/^r_Driver = ".*"/r_Driver = "'"\$NEW_DRIVER"'"/' \
               -e 's/^log_Verbosity = ".*"/log_Verbosity = "'"\$NEW_VERBOSITY"'"/' \
      system.cfg
fi
 
POL_SetupWindow_Close
exit 0
_EOF_
 
exit 0

Replies

petch Saturday 13 June 2015 at 18:07
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Adding /nogui parameter to the installer as some run into bug #32451

Differences

@@ -35,7 +35,7 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-POL_Call POL_GoG_install
+POL_Call POL_GoG_install /nogui
 
 
 cd "$GOGROOT/Far Cry/"

New source code

#!/bin/bash
# Date : (2011-12-18 11-39)
# Last revision : (2014-04-01 19-02)
# Wine version used : 1.3.36, 1.4.1, 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 :

# 1.3.35 has a problem with Direct3D9 renderer water effects 
# Seems to be fixed in 1.3.36 :)

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

GOGID="far_cry"
PREFIX="FarCry_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - Far Cry"
SHORTCUT_NAME="Far Cry"
SHORTCUT_EDITOR="$SHORTCUT_NAME - CryEngine Sandbox"

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

POL_SetupWindow_presentation "$TITLE" "Crytek Studios / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "e26869ba3755084f7b51be5174479d01" "980dbc3d41af088b46d6b3dfa1c1dc3d" "d7cbea9fa8afb4de00f30beeca9d11fa"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install /nogui


cd "$GOGROOT/Far Cry/"
if [ $? -eq 0 ]; then
    # Disable new external configurator, as it generates setups that are
    # not compatible with Wine...
    mv "Bin32/FarCryConfigurator.exe" "Bin32/FarCryConfigurator.exe.disabled"
else
  POL_Debug_Error "$(eval_gettext 'Could not find program directory')"
fi

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

LNG_EDITOR="$(eval_gettext 'The level editor')"
POL_SetupWindow_checkbox_list "$(eval_gettext 'What extra shortcuts should be created?')" "$TITLE" "${LNG_EDITOR}" "~"
SHORTCUTS="$APP_ANSWER"

POL_Shortcut "FarCry.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Far Cry/Manual.pdf"
# C:/GOG Games/Far Cry/Readme.txt
# C:/GOG Games/Far Cry/Manual_1_4.pdf

if echo "$SHORTCUTS" | grep -q "$LNG_EDITOR"; then
    POL_Shortcut "Editor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;ActionGame;"
    POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGROOT/Far Cry/Editor Manual.pdf"
fi

# C:/GOG Games/Far Cry/Dedicated server guide.rtf
# C:/GOG Games/Far Cry/Using the FarCry dedicated server.rtf
# C:/GOG Games/Far Cry/Server_Command_Table.pdf

POL_SetupWindow_message "$(eval_gettext 'Default video settings are a bit low for modern computers,\nremember to click on "Auto-detect" in advanced video settings.')" "$TITLE"

POL_SetupWindow_Close

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=""

POL_LoadVar_PROGRAMFILES

cd "$GOGROOT/Far Cry/" || exit 1

TITLE="$TITLE"

POL_SetupWindow_Init

[ -f system.cfg ] || POL_Debug_Fatal "\$(eval_gettext 'Run the game once to create the configuration file!')"

DRIVER="\$(sed -e 's/^r_Driver = \"\(.*\)\".*/\1/p; d' system.cfg)"
VERBOSITY="\$(sed -e 's/^log_Verbosity = \"\(.*\)\".*/\1/p; d' system.cfg)"

POL_SetupWindow_menu_list "\$(eval_gettext 'Pick video driver to use [experimental]:')" "\$TITLE" "Direct3D9~OpenGL" "~" "\$DRIVER"
NEW_DRIVER="\$APP_ANSWER"

POL_SetupWindow_menu_list "\$(eval_gettext 'Verbosity while loading maps:')" "\$TITLE" "0~1~2~3~4~5~6~7~8" "~" "\$VERBOSITY"
NEW_VERBOSITY="\$APP_ANSWER"

if [ "\$NEW_DRIVER" != "\$DRIVER" -o "\$NEW_VERBOSITY" != "\$VERBOSITY" ]; then
    sed -i.bak -e 's/^r_Driver = ".*"/r_Driver = "'"\$NEW_DRIVER"'"/' \
               -e 's/^log_Verbosity = ".*"/log_Verbosity = "'"\$NEW_VERBOSITY"'"/' \
      system.cfg
fi

POL_SetupWindow_Close
exit 0
_EOF_

exit 0

Replies

Mirppc Thursday 30 October 2014 at 19:58
Mirppc

Message

This also does not work on the official CD Setup executable.

Replies

Friday 31 October 2014 at 2:20
This is a script for the GOG release, no CD release are supported
rawmilk905 Thursday 23 October 2014 at 21:39
rawmilk905

Message

This appears to no longer work using the current GOG installer. After installation, the executable does not run. 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

Anonymous
Friday 24 October 2014 at 10:41
I'm running proprietary nVidia drivers and get the same result.
Saturday 25 October 2014 at 6:38
The script is up-to-date vs current installer version (2.0.0.9)
Anonymous
Saturday 25 October 2014 at 22:49
Then, is it Mint 17 who's the culprit?
Sunday 26 October 2014 at 17:19
Too little technical information to tell either way
Tools > PlayOnLinux debugger > Scripts > GOG.com - Far Cry > Locate this logfile
Log from the virtual drive may be useful too, but could be sent in a second time
Anonymous
Monday 27 October 2014 at 18:10
PlayOnLinux debbuging tool (v4.2.5)
-----------------------------------------------
Debugging: GOG.com - Far Cry

Warning. This is a PlayOnLinux script logfile. It does not contains everything that happened in your program virtual drive (wineprefix)
Please do not use this logfile on winehq forum, this logfile is not interesting for wine debugging.

Date: 09/29/14 22:32:00

> uname -a
Linux apa-H67MA-UD2H-B3 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a

> wine --version (Be careful, this version might not be the version used
in the script. Read the content of this file for more information)
wine-1.7.26
> glxinfo \| grep rendering
direct rendering: Yes
GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
> glxinfo \| grep renderer
OpenGL renderer string: GeForce GTX 660 Ti/PCIe/SSE2
> OpenGL libs
32bits direct rendering is enabled
64bits direct rendering is enabled
> export
declare -x AMD64_COMPATIBLE="True"
declare -x APPLICATION_TITLE="PlayOnLinux"
declare -x CINNAMON_VERSION="2.2.16"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-Fuqu6pxvfz,guid=7050eadf816903469c0387ae5421a77b"
declare -x DEBIAN_PACKAGE="FALSE"
declare -x DEFAULTS_PATH="/usr/share/gconf/default.default.path"
declare -x DESKTOP="/home/apa/Desktop"
declare -x DESKTOP_SESSION="default"
declare -x DISPLAY=":0"
declare -x DONT_MONITOR="1"
declare -x DYLDPATH_ORIGIN=""
declare -x DYLD_LIBRARY_PATH=""
declare -x GDMSESSION="default"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GECKO_SITE="http://www.playonlinux.com/wine/gecko"
declare -x GIO_LAUNCHED_DESKTOP_FILE="/usr/share/applications/PlayOnLinux.desktop"
declare -x GIO_LAUNCHED_DESKTOP_FILE_PID="26124"
declare -x GJS_DEBUG_OUTPUT="stderr"
declare -x GJS_DEBUG_TOPICS="JS ERROR;JS LOG"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_CONTROL="/run/user/1000/keyring-TCARjG"
declare -x GNOME_KEYRING_PID="1777"
declare -x GNUPGHOME="/home/apa/.PlayOnLinux//gpg"
declare -x GPG_AGENT_INFO="/run/user/1000/keyring-TCARjG/gpg:0:1"
declare -x G_FILENAME_ENCODING="UTF-8"
declare -x HOME="/home/apa"
declare -x IGNORE_ICON_DIR="false"
declare -x LANG="en_US.UTF-8"
declare -x LC_ADDRESS="en_US.UTF-8"
declare -x LC_IDENTIFICATION="en_US.UTF-8"
declare -x LC_MEASUREMENT="en_US.UTF-8"
declare -x LC_MONETARY="en_US.UTF-8"
declare -x LC_NAME="en_US.UTF-8"
declare -x LC_NUMERIC="en_US.UTF-8"
declare -x LC_PAPER="en_US.UTF-8"
declare -x LC_TELEPHONE="en_US.UTF-8"
declare -x LC_TIME="en_US.UTF-8"
declare -x LD_32_PATH_ORIGIN=""
declare -x LD_LIBRARY_PATH=""
declare -x LD_PATH_ORIGIN=""
declare -x LOGNAME="apa"
declare -x MACHTYPE="x86_64-pc-linux-gnu"
declare -x MANDATORY_PATH="/usr/share/gconf/default.mandatory.path"
declare -x MD5_COMMAND="md5sum"
declare -x MDMSESSION="default"
declare -x MDM_LANG="en_US.UTF-8"
declare -x MDM_XSERVER_LOCATION="local"
declare -x MONO_SITE="http://www.playonlinux.com/wine/mono"
declare -x NOBUGREPORT="YES"
declare -x OLDPWD="/home/apa/.PlayOnLinux/configurations/setups/GOG.com - Far Cry"
declare -x OS_NAME="linux"
declare -x OpenGL32="1"
declare -x OpenGL64="1"
declare -x PAPERSIZE="a4"
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
declare -x PATH_ORIGIN="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
declare -x PLAYONLINUX="/usr/share/playonlinux"
declare -x POL_ARCH="x86"
declare -x POL_BAD_SIGNATURE="TRUE"
declare -x POL_COOKIE="8U4FoWEI1MtXuMBML9ik"
declare -x POL_CURL="curl"
declare -x POL_DNS="playonlinux.com"
declare -x POL_HOST="127.0.0.1"
declare -x POL_ID="88673096"
declare -x POL_LANG="en"
declare -x POL_OS="Linux"
declare -x POL_PORT="30001"
declare -x POL_PYTHON="python"
declare -x POL_SetupWindow_ID="31722"
declare -x POL_TERM="xterm"
declare -x POL_UPTODATE="TRUE"
declare -x POL_USER_ARCH="x86"
declare -x POL_USER_ROOT="/home/apa/.PlayOnLinux/"
declare -x POL_WGET="wget --prefer-family=IPv4 -q"
declare -x PWD="/home/apa"
declare -x REPERTOIRE="/home/apa/.PlayOnLinux/"
declare -x SED="sed"
declare -x SESSION_MANAGER="local/apa-H67MA-UD2H-B3:@/tmp/.ICE-unix/1853,unix/apa-H67MA-UD2H-B3:/tmp/.ICE-unix/1853"
declare -x SETUPWINDOW_INIT="true"
declare -x SHELL="/bin/bash"
declare -x SHLVL="4"
declare -x SITE="http://repository.playonlinux.com"
declare -x SSH_AGENT_PID="1994"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring-TCARjG/ssh"
declare -x TEXTDOMAIN="pol"
declare -x TEXTDOMAINDIR="/usr/share/playonlinux/lang/locale/"
declare -x TITLE="GOG.com - Far Cry"
declare -x TITRE="PlayOnLinux"
declare -x UBUNTU_MENUPROXY="0"
declare -x USER="apa"
declare -x USERNAME="apa"
declare -x VERSION="4.2.5"
declare -x WGETRC="/home/apa/.PlayOnLinux//configurations/wgetrc"
declare -x WINDOWPATH="8"
declare -x WINEDLLOVERRIDES="winemenubuilder.exe=d"
declare -x WINEPREFIX="/home/apa/.PlayOnLinux//wineprefix/default"
declare -x WINE_SITE="http://www.playonlinux.com/wine/binaries"
declare -x WorkingDirectory="/home/apa"
declare -x XAUTHORITY="/home/apa/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-default:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="X-Cinnamon"
declare -x XDG_DATA_DIRS="/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_COOKIE="02775e3fe561341d727af33f5409b17a-1411491706.535417-624807820"
declare -x XDG_SESSION_DESKTOP="default"
declare -x XDG_SESSION_ID="c1"
declare -x XDG_VTNR="8"


09/29/14 22:32:11 - [POL_Call] Message: Calling POL_GoG_setup
09/29/14 22:32:11 - [POL_Call] Message: ----- Starting function POL_GoG_setup -----
09/29/14 22:32:11 - [POL_GPG_auth_script] Message: Checking signature of POL_GoG_setup
09/29/14 22:32:11 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
09/29/14 22:32:11 - [POL_Source] Message: POL GPG : Good signature
09/29/14 22:32:11 - [source] Message: PlayOnLinux can understand GoG_Download
09/29/14 22:32:14 - [POL_SetupWindow_icon_menu] Message: icon_menu answer: Use a setup file in my computer
09/29/14 22:32:14 - [POL_SetupWindow_InstallMethod] Message: Install method: LOCAL
09/29/14 22:32:14 - [source] Message: Install method LOCAL
09/29/14 22:32:27 - [POL_SetupWindow_browse] Message: browser answer: /home/apa/Downloads/setup_far_cry_2.0.0.9.exe
09/29/14 22:32:27 - [POL_Call] Message: ----- Ending function POL_GoG_setup -----
09/29/14 22:32:27 - [POL_Wine_SelectPrefix] Message: Selecting prefix: FarCry_gog
09/29/14 22:32:27 - [POL_Wine_PrefixCreate] Message: Setting POL_WINEVERSION to 1.7.27
09/29/14 22:32:27 - [POL_Wine_PrefixCreate] Message: Creating prefix (1.7.27)...
09/29/14 22:32:27 - [POL_Wine_PrefixCreate] Message: Using wine 1.7.27
09/29/14 22:32:27 - [POL_Wine_InstallVersion] Message: Installing wine version path: 1.7.27, x86
09/29/14 22:32:27 - [POL_Config_PrefixWrite] Message: Prefix config write: ARCH x86
09/29/14 22:32:27 - [POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.7.27
09/29/14 22:32:28 - [POL_Wine] Message: Running wine-1.7.27 --version (Working directory : /home/apa)
09/29/14 22:32:28 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
wine-1.7.27
09/29/14 22:32:28 - [POL_Wine] Message: Wine return: 0
09/29/14 22:32:39 - [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name
09/29/14 22:32:39 - [POL_Wine] Message: Running wine-1.7.27 cmd /c echo %ProgramFiles% (Working directory : /home/apa)
09/29/14 22:32:39 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
C:\Program Files
09/29/14 22:32:39 - [POL_Wine] Message: Wine return: 0
09/29/14 22:32:42 - [POL_Call] Message: Calling POL_GoG_install
09/29/14 22:32:42 - [POL_Call] Message: ----- Starting function POL_GoG_install -----
09/29/14 22:32:42 - [POL_GPG_auth_script] Message: Checking signature of POL_GoG_install
09/29/14 22:32:42 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
09/29/14 22:32:42 - [POL_Source] Message: POL GPG : Good signature
09/29/14 22:32:42 - [POL_Call] Message: Calling POL_Function_SetNativeExtension
09/29/14 22:32:42 - [POL_Call] Message: ----- Starting function POL_Function_SetNativeExtension -----
09/29/14 22:32:42 - [POL_GPG_auth_script] Message: Checking signature of POL_Function_SetNativeExtension
09/29/14 22:32:42 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
09/29/14 22:32:42 - [POL_Source] Message: POL GPG : Good signature
09/29/14 22:32:42 - [POL_Wine] Message: Running wine-1.7.27 regedit /home/apa/.PlayOnLinux//tmp/nativeext.reg (Working directory : /home/apa/.PlayOnLinux/tmp)
09/29/14 22:32:42 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
09/29/14 22:32:43 - [POL_Wine] Message: Wine return: 0
09/29/14 22:32:43 - [POL_Call] Message: ----- Ending function POL_Function_SetNativeExtension -----
09/29/14 22:32:43 - [POL_Call] Message: Calling POL_Install_gdiplus
09/29/14 22:32:43 - [POL_Call] Message: ----- Starting function POL_Install_gdiplus -----
09/29/14 22:32:43 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_gdiplus
09/29/14 22:32:43 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
09/29/14 22:32:43 - [POL_Source] Message: POL GPG : Good signature
09/29/14 22:32:43 - [POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe
09/29/14 22:32:43 - [POL_Download_Resource] Message: Resource already present
09/29/14 22:32:43 - [POL_System_CheckFS] Message: Checking filesystem for WindowsXP-KB975337-x86-ENU.exe
09/29/14 22:32:43 - [POL_Wine] Message: Running wine-1.7.27 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /home/apa/.PlayOnLinux/ressources)
fixme:advapi:DecryptFileA ("C:\\Tmp\\", 00000000): stub
09/29/14 22:32:45 - [POL_Wine] Message: Wine return: 0
09/29/14 22:32:45 - [POL_Wine_OverrideDLL] Message: Overriding DLLs
09/29/14 22:32:45 - [POL_Wine] Message: Running wine-1.7.27 regedit /home/apa/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/apa/.PlayOnLinux/wineprefix/FarCry_gog/drive_c/Tmp)
09/29/14 22:32:45 - [POL_Wine] Message: Wine return: 0
09/29/14 22:32:45 - [POL_Call] Message: ----- Ending function POL_Install_gdiplus -----
09/29/14 22:32:45 - [POL_System_CheckFS] Message: Checking filesystem for /home/apa/Downloads/setup_far_cry_2.0.0.9.exe
09/29/14 22:32:45 - [POL_Wine] Message: Running wine-1.7.27 /home/apa/Downloads/setup_far_cry_2.0.0.9.exe POL_GoG_install (Working directory : /home/apa/.PlayOnLinux/tmp)
fixme:process:SetProcessDEPPolicy (1): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilterEx 0x1008c c057 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x2008c c057 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x10092 c057 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x20092 c057 1 (nil)
fixme:shell:SHAutoComplete stub
fixme:msg:ChangeWindowMessageFilterEx 0x100b4 c057 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x100ba c057 1 (nil)
fixme:win:EnumDisplayDevicesW ((null),0,0x33f3e8,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x10122 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10122 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable 0: stub!
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\GOG Games\\Far Cry\\unins000.exe") stub
fixme:win:WINNLSEnableIME hwnd 0x10120 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10120 enable -1: stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d3a8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d6a8,0x00000000), stub!
fixme:gameux:GameExplorerImpl_VerifyAccess (0xcc392a0, L"C:\\GOG Games\\Far Cry\\Bin32\\goggame.dll", 0x33f2ec)
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ReleaseDate" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Genres" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Ratings" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Version" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Developers" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Publishers" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"GameExecutables" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ExtendedProperties" in Game Definition File not yet supported
fixme:win:WINNLSEnableIME hwnd 0x10122 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10122 enable -1: stub!
09/29/14 22:36:39 - [POL_Wine] Message: Wine return: 0
09/29/14 22:36:39 - [POL_Call] Message: ----- Ending function POL_GoG_install -----
09/29/14 22:36:39 - [Set_OS] Message: Setting Windows OS to winxp
09/29/14 22:36:39 - [POL_Wine] Message: Running wine-1.7.27 regedit /home/apa/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/apa/.PlayOnLinux/wineprefix/FarCry_gog/drive_c/GOG Games/Far Cry)
09/29/14 22:36:39 - [POL_Wine] Message: Wine return: 0
09/29/14 22:36:40 - [POL_Wine_Direct3D] Message: Setting wine Direct3D /home/apa/.PlayOnLinux//wineprefix/FarCry_gog VideoMemorySize 3072
09/29/14 22:36:40 - [POL_Wine] Message: Running wine-1.7.27 regedit /home/apa/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/apa/.PlayOnLinux/wineprefix/FarCry_gog/drive_c/GOG Games/Far Cry)
09/29/14 22:36:40 - [POL_Wine] Message: Wine return: 0
09/29/14 22:36:40 - [POL_Wine] Message: Running wine-1.7.27 wineboot (Working directory : /home/apa/.PlayOnLinux/wineprefix/FarCry_gog/drive_c/GOG Games/Far Cry)
09/29/14 22:36:40 - [POL_Wine] Message: Wine return: 0
09/29/14 22:36:45 - [POL_SetupWindow_checkbox_list] Message: checkbox_list answer:
09/29/14 22:36:45 - [POL_Shortcut] Message: Looking for , found <./GOG Games/Far Cry/Bin32/FarCry.exe>
09/29/14 22:36:45 - [POL_Shortcut] Message: Shortcut created: FarCry.exe Far Cry
09/29/14 22:36:56 - [POL_SetupWindow_Close] Message: Closing window for pid 31722
Monday 27 October 2014 at 19:13
Installation log looks ok, try to start the game in debug mode:
select the shortcut then click on "Debug" in the side panel
After the problem occurred, the debugger window should be open at the right place (otherwise Virtual drives > FarCry_gog)
Again, send the logfile
Saturday 1 November 2014 at 12:14
(Something broken though, the install script is supposed to use Wine 1.6.2 but according to the install log it's the system Wine, 1.7.27, that is being used...)