GOG.com - The Settlers 2: 10th Anniversary

Informations

Créateur Messages
TonyFlow

Information

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

Informations

Plate-formes :
Téléchargements : 15328
Wine: 2.22

Retours d'expérience

Description

Code source

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

Contribuer
Membre Messages
Dadu042 Mardi 31 Décembre 2019 à 14:34
Dadu042

Information

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

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"

Nouveau code source

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

Réponses

Jingah Mardi 5 Décembre 2017 à 0:55
Jingah Anonymous

Warning

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

Messages

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"

Nouveau code source

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

Réponses

Mardi 31 Décembre 2019 à 14:33
Script approved.
Jingah Mardi 5 Décembre 2017 à 0:30
Jingah Anonymous

Messages

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

Réponses

Anonymous
Mardi 5 Décembre 2017 à 0:32
The drive log: https://pastebin.com/5ZGvjDNn
pyq Lundi 12 September 2016 à 1:22
pyq Anonymous

Messages

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?

Réponses

Anonymous
Vendredi 23 September 2016 à 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!
Mardi 31 Décembre 2019 à 14:29
Perhaps by creating a virtual desktop.