GOG.com - Stronghold HD

Informations

Créateur Messages
TonyFlow

Information

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

Informations

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

Retours d'expérience

Description

Stronghold is a real time strategy game. Its basically about building a castle, defending it against enemies and invading other castles. It also contains some non-combat missions.
(updated for GOG installer v2.2)

GOG now has installers for Mac

Code source

#!/bin/bash
# Date : (2013-05-27 22-00)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Fedora 17, Debian Sid
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [TonyFlow] (2013-05-27 22-00)
#   Initial script.
# [Pierre Etchemaite] (2013-12-29 11-28)
#   Script updated for GOG's installer v2 ?
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

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

GOGID="stronghold"
PREFIX="Stronghold_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Stronghold HD"
SHORTCUT_NAME="Stronghold HD"

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

POL_SetupWindow_presentation "$TITLE" "FireFly Studios" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" --alternate "setup_$GOGID" "2" "a26178ebca7865949d2458818464cd4e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

POL_Call POL_Install_directplay

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesnt hurt ;)
POL_Wine_reboot

# Language selection for the manual shortcut
POL_SetupWindow_menu "$(eval_gettext 'What is your preferred language?')" "$(eval_gettext 'Language')" "en: English~fr: French~de: German~it: Italian~es: Spanish" "~"
MAN_LANG=$(echo "${APP_ANSWER}" | cut -d ':' -f 1)

# Configure the shortcut
GOGPATH="$GOGROOT/Stronghold HD"
POL_Shortcut "Stronghold.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/manual/manual_$MAN_LANG.pdf"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 19 Avril 2020 à 18:36
Dadu042

Information

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

Differences

@@ -1,20 +1,27 @@
 #!/bin/bash
 # Date : (2013-05-27 22-00)
-# Last revision : (2013-12-29 11-28)
-# Wine version used : 1.4.1
+# Last revision : see changelog
+# Wine version used : 
 # Distribution used to test : Fedora 17, Debian Sid
 # Author : TonyFlow
-#   updated petch
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [TonyFlow] (2013-05-27 22-00)
+#   Initial script.
+# [Pierre Etchemaite] (2013-12-29 11-28)
+#   Script updated for GOG's installer v2 ?
+# [Dadu042] (2020-04-19 17:30).
+#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="stronghold"
 PREFIX="Stronghold_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Stronghold HD"
 SHORTCUT_NAME="Stronghold HD"
@@ -54,4 +61,4 @@
 POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/manual/manual_$MAN_LANG.pdf"
 
 POL_SetupWindow_Close
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2013-05-27 22-00)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Fedora 17, Debian Sid
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [TonyFlow] (2013-05-27 22-00)
#   Initial script.
# [Pierre Etchemaite] (2013-12-29 11-28)
#   Script updated for GOG's installer v2 ?
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

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

GOGID="stronghold"
PREFIX="Stronghold_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Stronghold HD"
SHORTCUT_NAME="Stronghold HD"

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

POL_SetupWindow_presentation "$TITLE" "FireFly Studios" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" --alternate "setup_$GOGID" "2" "a26178ebca7865949d2458818464cd4e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

POL_Call POL_Install_directplay

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesnt hurt ;)
POL_Wine_reboot

# Language selection for the manual shortcut
POL_SetupWindow_menu "$(eval_gettext 'What is your preferred language?')" "$(eval_gettext 'Language')" "en: English~fr: French~de: German~it: Italian~es: Spanish" "~"
MAN_LANG=$(echo "${APP_ANSWER}" | cut -d ':' -f 1)

# Configure the shortcut
GOGPATH="$GOGROOT/Stronghold HD"
POL_Shortcut "Stronghold.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/manual/manual_$MAN_LANG.pdf"

POL_SetupWindow_Close
exit 0

Réponses

piratmartin Lundi 20 Février 2017 à 13:42
piratmartin Anonymous

Messages

Install not create icons but command wine Stronghold.exe runs game. Game work.

Réponses

Hoshpak Lundi 18 Aoüt 2014 à 22:19
Hoshpak Anonymous

Warning

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

Messages

Stronghold HD relies on DirectPlay for multiplayer games these don't work properly without the native dlls. Therefore I suggest adding POL_Install_directplay to the script.

Differences

@@ -34,6 +34,8 @@
 
 POL_Call POL_GoG_install
 
+POL_Call POL_Install_directplay
+
 # GoG work!
 Set_OS winxp
 

Nouveau code source

#!/bin/bash
# Date : (2013-05-27 22-00)
# Last revision : (2013-12-29 11-28)
# Wine version used : 1.4.1
# Distribution used to test : Fedora 17, Debian Sid
# Author : TonyFlow
#   updated petch
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="stronghold"
PREFIX="Stronghold_gog"
WORKING_WINE_VERSION="1.4.1"

TITLE="GOG.com - Stronghold HD"
SHORTCUT_NAME="Stronghold HD"

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

POL_SetupWindow_presentation "$TITLE" "FireFly Studios" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" --alternate "setup_$GOGID" "2" "a26178ebca7865949d2458818464cd4e"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

POL_Call POL_Install_directplay

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesnt hurt ;)
POL_Wine_reboot

# Language selection for the manual shortcut
POL_SetupWindow_menu "$(eval_gettext 'What is your preferred language?')" "$(eval_gettext 'Language')" "en: English~fr: French~de: German~it: Italian~es: Spanish" "~"
MAN_LANG=$(echo "${APP_ANSWER}" | cut -d ':' -f 1)

# Configure the shortcut
GOGPATH="$GOGROOT/Stronghold HD"
POL_Shortcut "Stronghold.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/manual/manual_$MAN_LANG.pdf"

POL_SetupWindow_Close
exit 0

Réponses

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