Star Trek Voyager - Elite Force

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4628
Wine: 3.20

Feedbacks

Description

Game released in 2000 for PC. Wikipedia page.

Source code

#!/bin/bash
# Date : (2019-03-21 19-11)
# Last revision : (2019-03-23 20-51)
# Wine version used : 3.19
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested : CD v1.10 french (ef.dbd : january 2001).
# Game released with DirectX 7.

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

TITLE="Star Trek Voyager - Elite Force"
PREFIX="star-trek-v-elite-force"
WORKING_WINE_VERSION="3.20"
AUTHOR="Dadu042"
EDITOR="Activision"
GAME_URL="https://en.wikipedia.org/wiki/Star_Trek:_Voyager_%E2%80%93_Elite_Force"

Set_OS "winxp"
Set_Desktop On 1024 768

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "ds32.dll"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "stvoy.exe" "$TITLE" ""
POL_Shortcut "stvoyHM.exe" "$TITLE - Multi player" ""
POL_Shortcut "sysinfo.exe" "$TITLE - Sysinfo" ""

POL_Shortcut_Document "$TITLE" "default.htm"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Monday 3 February 2020 at 21:44
Dadu042

Information

This update has been approved by the team.

Differences

@@ -15,7 +15,7 @@
 
 TITLE="Star Trek Voyager - Elite Force"
 PREFIX="star-trek-v-elite-force"
-WORKING_WINE_VERSION="3.19"
+WORKING_WINE_VERSION="3.20"
 AUTHOR="Dadu042"
 EDITOR="Activision"
 GAME_URL="https://en.wikipedia.org/wiki/Star_Trek:_Voyager_%E2%80%93_Elite_Force"
@@ -27,7 +27,9 @@
 POL_Debug_Init
  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
+
+POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

New source code

#!/bin/bash
# Date : (2019-03-21 19-11)
# Last revision : (2019-03-23 20-51)
# Wine version used : 3.19
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested : CD v1.10 french (ef.dbd : january 2001).
# Game released with DirectX 7.

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

TITLE="Star Trek Voyager - Elite Force"
PREFIX="star-trek-v-elite-force"
WORKING_WINE_VERSION="3.20"
AUTHOR="Dadu042"
EDITOR="Activision"
GAME_URL="https://en.wikipedia.org/wiki/Star_Trek:_Voyager_%E2%80%93_Elite_Force"

Set_OS "winxp"
Set_Desktop On 1024 768

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "ds32.dll"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "stvoy.exe" "$TITLE" ""
POL_Shortcut "stvoyHM.exe" "$TITLE - Multi player" ""
POL_Shortcut "sysinfo.exe" "$TITLE - Sysinfo" ""

POL_Shortcut_Document "$TITLE" "default.htm"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 28 March 2019 at 13:24
Dadu042

Message

As of 2019-03-28 the installation of the patch v1.02 does fail (launched into the Wine bottle, it can not end).

Replies

Edited by Dadu042

Dadu042 Wednesday 27 March 2019 at 10:17
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Script v1.

Differences

@@ -0,0 +1,62 @@
+#!/bin/bash
+# Date : (2019-03-21 19-11)
+# Last revision : (2019-03-23 20-51)
+# Wine version used : 3.19
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux v4.3.4
+#
+# Tested : CD v1.10 french (ef.dbd : january 2001).
+# Game released with DirectX 7.
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Star Trek Voyager - Elite Force"
+PREFIX="star-trek-v-elite-force"
+WORKING_WINE_VERSION="3.19"
+AUTHOR="Dadu042"
+EDITOR="Activision"
+GAME_URL="https://en.wikipedia.org/wiki/Star_Trek:_Voyager_%E2%80%93_Elite_Force"
+
+Set_OS "winxp"
+Set_Desktop On 1024 768
+
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+POL_SetupWindow_InstallMethod "LOCAL,CD"
+
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        cd "$POL_System_TmpDir"
+else
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "ds32.dll"
+        POL_Wine start /unix "$CDROM/Setup.exe"
+        POL_Wine_WaitExit "Setup.exe"
+        cd "$POL_System_TmpDir"
+fi
+
+POL_Shortcut "stvoy.exe" "$TITLE" ""
+POL_Shortcut "stvoyHM.exe" "$TITLE - Multi player" ""
+POL_Shortcut "sysinfo.exe" "$TITLE - Sysinfo" ""
+
+POL_Shortcut_Document "$TITLE" "default.htm"
+
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-03-21 19-11)
# Last revision : (2019-03-23 20-51)
# Wine version used : 3.19
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested : CD v1.10 french (ef.dbd : january 2001).
# Game released with DirectX 7.

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

TITLE="Star Trek Voyager - Elite Force"
PREFIX="star-trek-v-elite-force"
WORKING_WINE_VERSION="3.19"
AUTHOR="Dadu042"
EDITOR="Activision"
GAME_URL="https://en.wikipedia.org/wiki/Star_Trek:_Voyager_%E2%80%93_Elite_Force"

Set_OS "winxp"
Set_Desktop On 1024 768

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "ds32.dll"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "stvoy.exe" "$TITLE" ""
POL_Shortcut "stvoyHM.exe" "$TITLE - Multi player" ""
POL_Shortcut "sysinfo.exe" "$TITLE - Sysinfo" ""

POL_Shortcut_Document "$TITLE" "default.htm"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies