Stronghold is a real time strategy game. Its basically about building a castle, defending it against enemys and invading other castles. It also contains some non-combat missions.
This script works without any additional modifications
[code language=playonlinux]
#!/bin/bash
# Date : (2013-05-09 18-45)
# Last revision : (2013-05-09 20-45)
# Distribution used to test : Ubuntu 12.10 using Unity and Gnome
# Author : Manuel Vögele
# Script licence : GPLv3
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
TITLE="Stronghold"
WORKING_WINE_VERSION="1.4.1"
WINEPREFIX="Stronghold"
CD_FILE_TO_CHECK="disk1/Stronghold.exe"
CD_INSTALL_FILE="disk1/Setup.exe"
POL_SetupWindow_presentation "Stronghold" "Firefly Studios" "http://www.fireflyworlds.com/" "Manuel Vögele" "$WINEPREFIX"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "$CD_FILE_TO_CHECK"
POL_Wine_SelectPrefix "$WINEPREFIX"
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.exe" "Stronghold"
POL_SetupWindow_Close
exit
[/code]

22x22 icon





Edité par ManuelV