Forum

[Script] Stronghold Crusader

Författare Svar
ertaiNL Tuesday 14 October 2014 at 0:29
ertaiNLAnonymous

Description: This is a game of Firefly. You play a Castle-lord and have to destroy your enemies.

Errors: The game doesn't work correctly when started with 2 monitors. The game starts behind other windows.

Remark: I can't really make a screenshot. All screenshots I make with Ubuntu are of the intro or menu. Even when I take the screenshot when I see the actual game. I don't know why but it doesn't work.

[code language=playonlinux]
#!/bin/bash
# Date : (2014-10-10 18:32)
# Last Revision : (2014-10-13 23:47)
# Wine Version used : 1.6.2-scummvm_support
# Distribution used to test : Ubuntu 14.04
# Author: ertaiNL
# 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
[/code]

game-icon: https://github.com/ertaiNL/PlayOnLinuxScripts/blob/master/StrongholdCrusader/StrongholdCrusader_game_icon.png

install-icon: https://github.com/ertaiNL/PlayOnLinuxScripts/blob/master/StrongholdCrusader/StrongholdCrusader_install_icon.png

minature: https://github.com/ertaiNL/PlayOnLinuxScripts/blob/master/StrongholdCrusader/StrongholdCrusader_miniature.png

Screenshot: https://github.com/ertaiNL/PlayOnLinuxScripts/blob/master/StrongholdCrusader/StrongholdCrusader_screenshot_menu.png

ertaiNL Sunday 26 October 2014 at 14:12
ertaiNLAnonymous

As nobody answers can I post this script as new supported software?

Quentin PÂRIS Sunday 26 October 2014 at 15:35
Quentin PÂRISAnonymous

Yes, do not hesitate

ertaiNL Tuesday 28 October 2014 at 23:46
ertaiNLAnonymous

I tried earlier to enter this game. And now I can't enter a game with the same name. Can the old one be removed?

ertaiNL Sunday 23 November 2014 at 20:22
ertaiNLAnonymous

Can somebody remove the application for Stronghold Crusader I created earlier?

So I can re-enter an application for Stronghold Crusader