GOG.com - Disciples 2 Gold

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 17727
Wine: 2.22

Feedbacks

Description

English: A strategy game with good mechanics and gripping graphics and music!
(updated for GOG installer v2). Appdb.winehq.org

Français : Un jeu de stratégie avec une mécanique réussie et un habillage graphique et sonore magnifique !
(mis à jour pour l'installeur GOG v2)

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-07-20 01-46)
# Last revision : see changelog
# Wine version used : 2.22
# 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-07-20 01-46)
#   First script. Wine 1.7.55.
# [Pierre Etchemaite] (2013-11-26 23-02)
#   ?
# [Dadu042] (2019-12-30)
#   Wine 1.4.1 -> 2.22

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

GOGID="disciples_2_gold"
PREFIX="Disciples2Gold_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Disciples 2 Gold"
SHORTCUT_NAME1="Disciples 2: Dark Prophecy and Gallean's Return"
SHORTCUT_NAME2="Disciples 2: Rise of the Elves"

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

POL_SetupWindow_presentation "$TITLE" "Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "665091a9385687b91702f17cc6392ec7"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS "winxp"

POL_SetupWindow_VMS "16"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "GOG Games/Disciples 2 Gold/Disciples 2 - Dark Prophecy and Gallean's Return/Discipl2.exe" "$SHORTCUT_NAME1" "$SHORTCUT_NAME1.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME1" "$GOGROOT/Disciples 2 Gold/Disciples 2 - Dark Prophecy and Gallean's Return/manual.pdf"
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Dark Prophecy and Gallean's Return\ScenEdit.exe
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Dark Prophecy and Gallean's Return\Readme.txt

POL_Shortcut "GOG Games/Disciples 2 Gold/Disciples 2 - Rise of the Elves/Discipl2.exe" "$SHORTCUT_NAME2" "$SHORTCUT_NAME2.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME2" "$GOGROOT/Disciples 2 Gold/Disciples 2 - Rise of the Elves/manual addon.pdf"
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Rise of the Elves\ScenEdit.exe
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Rise of the Elves\Readme.txt

POL_SetupWindow_Close

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

POL_LoadVar_PROGRAMFILES
cd "$GOGROOT/Disciples 2 Gold/Disciples 2 - Dark Prophecy and Gallean's Return/" || exit 1
TITLE="$TITLE"
POL_Wine ConfigEditor.exe
exit 0
_EOF_

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

POL_LoadVar_PROGRAMFILES
cd "$GOGROOT/Disciples 2 Gold/Disciples 2 - Rise of the Elves/" || exit 1
TITLE="$TITLE"
POL_Wine ConfigEditor.exe
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 31 December 2019 at 12:52
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-07-20 01-46)
-# Last revision : (2013-11-26 23-02)
-# Wine version used : 1.4.1
+# Last revision : see changelog
+# Wine version used : 2.22
 # 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-07-20 01-46)
+#   First script. Wine 1.7.55.
+# [Pierre Etchemaite] (2013-11-26 23-02)
+#   ?
+# [Dadu042] (2019-12-30)
+#   Wine 1.4.1 -> 2.22
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="disciples_2_gold"
 PREFIX="Disciples2Gold_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Disciples 2 Gold"
 SHORTCUT_NAME1="Disciples 2: Dark Prophecy and Gallean's Return"
@@ -36,7 +44,7 @@
 
 
 # GoG work!
-Set_OS winxp
+Set_OS "winxp"
 
 POL_SetupWindow_VMS "16"
 

New source code

#!/bin/bash
# Date : (2012-07-20 01-46)
# Last revision : see changelog
# Wine version used : 2.22
# 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-07-20 01-46)
#   First script. Wine 1.7.55.
# [Pierre Etchemaite] (2013-11-26 23-02)
#   ?
# [Dadu042] (2019-12-30)
#   Wine 1.4.1 -> 2.22

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

GOGID="disciples_2_gold"
PREFIX="Disciples2Gold_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Disciples 2 Gold"
SHORTCUT_NAME1="Disciples 2: Dark Prophecy and Gallean's Return"
SHORTCUT_NAME2="Disciples 2: Rise of the Elves"

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

POL_SetupWindow_presentation "$TITLE" "Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "665091a9385687b91702f17cc6392ec7"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS "winxp"

POL_SetupWindow_VMS "16"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "GOG Games/Disciples 2 Gold/Disciples 2 - Dark Prophecy and Gallean's Return/Discipl2.exe" "$SHORTCUT_NAME1" "$SHORTCUT_NAME1.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME1" "$GOGROOT/Disciples 2 Gold/Disciples 2 - Dark Prophecy and Gallean's Return/manual.pdf"
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Dark Prophecy and Gallean's Return\ScenEdit.exe
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Dark Prophecy and Gallean's Return\Readme.txt

POL_Shortcut "GOG Games/Disciples 2 Gold/Disciples 2 - Rise of the Elves/Discipl2.exe" "$SHORTCUT_NAME2" "$SHORTCUT_NAME2.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME2" "$GOGROOT/Disciples 2 Gold/Disciples 2 - Rise of the Elves/manual addon.pdf"
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Rise of the Elves\ScenEdit.exe
# C:\GOG Games\Disciples 2 Gold\Disciples 2 - Rise of the Elves\Readme.txt

POL_SetupWindow_Close

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

POL_LoadVar_PROGRAMFILES
cd "$GOGROOT/Disciples 2 Gold/Disciples 2 - Dark Prophecy and Gallean's Return/" || exit 1
TITLE="$TITLE"
POL_Wine ConfigEditor.exe
exit 0
_EOF_

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

POL_LoadVar_PROGRAMFILES
cd "$GOGROOT/Disciples 2 Gold/Disciples 2 - Rise of the Elves/" || exit 1
TITLE="$TITLE"
POL_Wine ConfigEditor.exe
exit 0
_EOF_

exit 0

Replies

overtone Wednesday 24 May 2017 at 13:21
overtone Anonymous

Message

Can't get past login to GOG stage.

Username and password are absolutely correct but the prompt keeps saying that its incorrect.

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com