GOG.com - The Settlers 2: 10th Anniversary

Informations

Creator Message
TonyFlow

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 15304
Wine: 2.22

Feedbacks

Description

Source code

#!/bin/bash
# Date : (2013-05-21 22-00)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : Fedora 17
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [TonyFlow] (2013-05-21 22-00)
#   First script.
# [Dadu042] (2019-12-30)
#   Wine 1.9.4 (1.4.1 a day ago) -> 2.22
#
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="the_settlers_2_10th_anniversary"
PREFIX="SettlersII_10thAnniversary_gog"
WORKING_WINE_VERSION="2.22"
 
TITLE="GOG.com - The Settlers 2: 10th Anniversary"
SHORTCUT_NAME="The Settlers II - 10th Anniversary"
#SHORTCUT_EDITOR="$SHORTCUT_NAME - $(eval_gettext 'Editor')"
SHORTCUT_EDITOR="$SHORTCUT_NAME - Editor"
 
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 1703
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blue Byte / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "9d460a721ac514126f2cdfa171dc95f2"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# GoG work!
Set_OS winxp
 
# Install DirectX9
POL_Call POL_Install_d3dx9_29
 
POL_SetupWindow_VMS "64"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
GOGPATH="$GOGROOT/The Settlers II - 10th Anniversary"
POL_Shortcut "S2DNG.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut "S2DNGEditor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/Manual.pdf"
POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGPATH/EditorManual.pdf"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 31 December 2019 at 14:34
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,26 @@
 #!/bin/bash
 # Date : (2013-05-21 22-00)
-# Last revision : (2013-05-21 22-00)
-# Wine version used : 1.4.1
+# Last revision : see changelog
+# Wine version used : 2.22
 # Distribution used to test : Fedora 17
 # Author : TonyFlow
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [TonyFlow] (2013-05-21 22-00)
+#   First script.
+# [Dadu042] (2019-12-30)
+#   Wine 1.9.4 (1.4.1 a day ago) -> 2.22
+#
  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 GOGID="the_settlers_2_10th_anniversary"
 PREFIX="SettlersII_10thAnniversary_gog"
-WORKING_WINE_VERSION="1.9.4"
+WORKING_WINE_VERSION="2.22"
  
 TITLE="GOG.com - The Settlers 2: 10th Anniversary"
 SHORTCUT_NAME="The Settlers II - 10th Anniversary"

New source code

#!/bin/bash
# Date : (2013-05-21 22-00)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : Fedora 17
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [TonyFlow] (2013-05-21 22-00)
#   First script.
# [Dadu042] (2019-12-30)
#   Wine 1.9.4 (1.4.1 a day ago) -> 2.22
#
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="the_settlers_2_10th_anniversary"
PREFIX="SettlersII_10thAnniversary_gog"
WORKING_WINE_VERSION="2.22"
 
TITLE="GOG.com - The Settlers 2: 10th Anniversary"
SHORTCUT_NAME="The Settlers II - 10th Anniversary"
#SHORTCUT_EDITOR="$SHORTCUT_NAME - $(eval_gettext 'Editor')"
SHORTCUT_EDITOR="$SHORTCUT_NAME - Editor"
 
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 1703
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blue Byte / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "9d460a721ac514126f2cdfa171dc95f2"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# GoG work!
Set_OS winxp
 
# Install DirectX9
POL_Call POL_Install_d3dx9_29
 
POL_SetupWindow_VMS "64"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
GOGPATH="$GOGROOT/The Settlers II - 10th Anniversary"
POL_Shortcut "S2DNG.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut "S2DNGEditor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/Manual.pdf"
POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGPATH/EditorManual.pdf"
 
POL_SetupWindow_Close
exit 0

Replies

Jingah Tuesday 5 December 2017 at 0:55
Jingah Anonymous

Warning

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

Message

Nvm, i found a fix for this problem

Differences

@@ -13,7 +13,7 @@
  
 GOGID="the_settlers_2_10th_anniversary"
 PREFIX="SettlersII_10thAnniversary_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="1.9.4"
  
 TITLE="GOG.com - The Settlers 2: 10th Anniversary"
 SHORTCUT_NAME="The Settlers II - 10th Anniversary"

New source code

#!/bin/bash
# Date : (2013-05-21 22-00)
# Last revision : (2013-05-21 22-00)
# Wine version used : 1.4.1
# Distribution used to test : Fedora 17
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="the_settlers_2_10th_anniversary"
PREFIX="SettlersII_10thAnniversary_gog"
WORKING_WINE_VERSION="1.9.4"
 
TITLE="GOG.com - The Settlers 2: 10th Anniversary"
SHORTCUT_NAME="The Settlers II - 10th Anniversary"
#SHORTCUT_EDITOR="$SHORTCUT_NAME - $(eval_gettext 'Editor')"
SHORTCUT_EDITOR="$SHORTCUT_NAME - Editor"
 
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 1703
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Blue Byte / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "9d460a721ac514126f2cdfa171dc95f2"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# GoG work!
Set_OS winxp
 
# Install DirectX9
POL_Call POL_Install_d3dx9_29
 
POL_SetupWindow_VMS "64"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
GOGPATH="$GOGROOT/The Settlers II - 10th Anniversary"
POL_Shortcut "S2DNG.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut "S2DNGEditor.exe" "$SHORTCUT_EDITOR" "$SHORTCUT_EDITOR.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/Manual.pdf"
POL_Shortcut_Document "$SHORTCUT_EDITOR" "$GOGPATH/EditorManual.pdf"
 
POL_SetupWindow_Close
exit 0

Replies

Tuesday 31 December 2019 at 14:33
Script approved.
Jingah Tuesday 5 December 2017 at 0:30
Jingah Anonymous

Message

When I try to install the game the installer stucks at creating the virtual drive. Is there any fix for this? Here is the installer log: https://pastebin.com/Uc76Eq8r

Replies

Anonymous
Tuesday 5 December 2017 at 0:32
The drive log: https://pastebin.com/5ZGvjDNn
pyq Monday 12 September 2016 at 1:22
pyq Anonymous

Message

Im trying to install the game on my Ubuntu 16.04 but get an error when the installation should be finished. Is there a workaround for this problem?

Replies

Anonymous
Friday 23 September 2016 at 12:52
I got the game running by not using the pol script but just installing it with wine 1.8.1 plus d3dx9. However, the game crashes, when I try to change the resolution from 1024x768. Is there a way to fix this? Thanks I advance!
Tuesday 31 December 2019 at 14:29
Perhaps by creating a virtual desktop.