Stronghold Crusader

Informations

Créateur Messages
ertaiNL Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 0
Wine: 1.6.2-scummvm_support

Retours d'expérience

Description

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

Wikipedia.

Code source

#!/bin/bash
# Date : (2014-10-10 18:32)
# Last Revision : (2015-10-18 22:18)
# Wine Version used : 1.6.2-scummvm_support
# Distribution used to test : Ubuntu 15.04
# Author: ertaiNL
# Script license : GPL v2
# Programm license : Retail
# Depend :

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

TITLE="Stronghold Crusader"
PREFIX="StrongholdCrusader"
PUBLISHER="Firefly Studios"
PUBLISHER_URL="http://www.fireflyworlds.com/"
AUTHOR="ErtaiNL"
WORKING_WINE_VERSION="1.6.2-scummvm_support"
CD_PATH="Disk1"
CD_INSTALL_FILE="Setup.exe"
STARTUP_FILE="Stronghold Crusader.exe"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$PUBLISHER_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "$CD_PATH/$STARTUP_FILE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Check the disc again since the user could have removed it at this point
POL_SetupWindow_check_cdrom "$CD_PATH/$STARTUP_FILE"
POL_Wine "$CDROM/$CD_PATH/$CD_INSTALL_FILE"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you get an error the first time you start Stronghold Crusader. Normally it works the second time.')" "$TITLE"

POL_Shortcut "$STARTUP_FILE" "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
ertaiNL Lundi 19 Octobre 2015 à 23:47
ertaiNL Anonymous

Information

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

Messages

Improved the code as asked in the thread "Stronghold Crusader Original"

Differences

@@ -0,0 +1,45 @@
+#!/bin/bash
+# Date : (2014-10-10 18:32)
+# Last Revision : (2015-10-18 22:18)
+# Wine Version used : 1.6.2-scummvm_support
+# Distribution used to test : Ubuntu 15.04
+# Author: ertaiNL
+# Script license : GPL v2
+# Programm license : Retail
+# Depend :
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Stronghold Crusader"
+PREFIX="StrongholdCrusader"
+PUBLISHER="Firefly Studios"
+PUBLISHER_URL="http://www.fireflyworlds.com/"
+AUTHOR="ErtaiNL"
+WORKING_WINE_VERSION="1.6.2-scummvm_support"
+CD_PATH="Disk1"
+CD_INSTALL_FILE="Setup.exe"
+STARTUP_FILE="Stronghold Crusader.exe"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$PUBLISHER_URL" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "$CD_PATH/$STARTUP_FILE"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# Check the disc again since the user could have removed it at this point
+POL_SetupWindow_check_cdrom "$CD_PATH/$STARTUP_FILE"
+POL_Wine "$CDROM/$CD_PATH/$CD_INSTALL_FILE"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you get an error the first time you start Stronghold Crusader. Normally it works the second time.')" "$TITLE"
+
+POL_Shortcut "$STARTUP_FILE" "$TITLE"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2014-10-10 18:32)
# Last Revision : (2015-10-18 22:18)
# Wine Version used : 1.6.2-scummvm_support
# Distribution used to test : Ubuntu 15.04
# Author: ertaiNL
# Script license : GPL v2
# Programm license : Retail
# Depend :

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

TITLE="Stronghold Crusader"
PREFIX="StrongholdCrusader"
PUBLISHER="Firefly Studios"
PUBLISHER_URL="http://www.fireflyworlds.com/"
AUTHOR="ErtaiNL"
WORKING_WINE_VERSION="1.6.2-scummvm_support"
CD_PATH="Disk1"
CD_INSTALL_FILE="Setup.exe"
STARTUP_FILE="Stronghold Crusader.exe"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$PUBLISHER_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "$CD_PATH/$STARTUP_FILE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Check the disc again since the user could have removed it at this point
POL_SetupWindow_check_cdrom "$CD_PATH/$STARTUP_FILE"
POL_Wine "$CDROM/$CD_PATH/$CD_INSTALL_FILE"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you get an error the first time you start Stronghold Crusader. Normally it works the second time.')" "$TITLE"

POL_Shortcut "$STARTUP_FILE" "$TITLE"

POL_SetupWindow_Close
exit 0

Réponses

Edité par petch

ertaiNL Vendredi 10 Octobre 2014 à 0:10
ertaiNL Anonymous

Warning

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

Messages

Forgot to add the script

Differences

@@ -0,0 +1,38 @@
+#!/bin/bash
+# Date : (2014-10-10 18:32)
+# Last Revision : (2014-10-10 22:07)
+# Wine Version used : 1.4.1
+# Distribution used to test : Ubuntu 14.04
+# Author: Ertai
+# Script license : GPL v2
+# Programm license : Retail
+# Depend :
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Stronghold Crusader"
+PREFIX="StrongholdCrusader"
+WORKING_WINE_VERSION="1.6.2-scummvm_support"
+CD_FILE_TO_CHECK="disk1/Stronghold Crusader.exe"
+CD_INSTALL_FILE="disk1/Setup.exe"
+
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Firefly Studios" "http://www.fireflyworlds.com/" "Ertai" "$PREFIX"
+
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "$CD_FILE_TO_CHECK"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Check the disc again since the user could have removed it at this point
+POL_SetupWindow_check_cdrom "$CD_FILE_TO_CHECK"
+POL_Wine start /unix "$CDROM/$CD_INSTALL_FILE"
+POL_Wine_WaitExit
+ 
+POL_Shortcut "Stronghold Crusader.exe" "Stronghold Crusader"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2014-10-10 18:32)
# Last Revision : (2014-10-10 22:07)
# Wine Version used : 1.4.1
# Distribution used to test : Ubuntu 14.04
# Author: Ertai
# Script license : GPL v2
# Programm license : Retail
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Stronghold Crusader"
PREFIX="StrongholdCrusader"
WORKING_WINE_VERSION="1.6.2-scummvm_support"
CD_FILE_TO_CHECK="disk1/Stronghold Crusader.exe"
CD_INSTALL_FILE="disk1/Setup.exe"

POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "Firefly Studios" "http://www.fireflyworlds.com/" "Ertai" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "$CD_FILE_TO_CHECK"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Check the disc again since the user could have removed it at this point
POL_SetupWindow_check_cdrom "$CD_FILE_TO_CHECK"
POL_Wine start /unix "$CDROM/$CD_INSTALL_FILE"
POL_Wine_WaitExit
 
POL_Shortcut "Stronghold Crusader.exe" "Stronghold Crusader"
 
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