Soldier of Fortune II: Double Helix Gold Edition

Informations

Creator Wiadmości
TwistedDrifter Anonymous

Warning

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

Informations

Platforms:
Downloads: 872
Wine: System

Feedbacks

Description

FPS, 2002.

Wikipedia.

Source code

#!/bin/bash
# Date : (????-??-?? ??-??)
# Last revision : (2014-08-13 12-22)
# Wine version used : -
# Distribution used to test : ?
# Stolen from: malownu, Updated by SuperPlumus

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

TITLE="Soldier of Fortune II: Double Helix Gold Edition"
PREFIX="SoldierofFortuneIIDoubleHelixGoldEdition"

if [ "$POL_LANG" == "fr" ]
then
LNG_INSTALL_RUN="Installation en cours..."
LNG_WAIT_END="Cliquez sur \"Suivant\" UNIQUEMENT quand l'installation de\n$TITLE sera terminée."
LNG_SUCCESS="$TITLE a été installé avec succès !"
else
LNG_INSTALL_RUN="Installation in progress..."
LNG_WAIT_END="Click on \"Forward\" ONLY when the\n$TITLE installation is finished."
LNG_SUCCESS="$TITLE has been installed successfully."
fi

POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Raven Software" "http://www.activision.com/games/soldieroffortune" "malownu, Modified by SuperPlumus, stolen and modified by TwistedDrifter" "$PREFIX"

POL_Wine_SelectPrefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_Wine_PrefixCreate

POL_LoadVar_PROGRAMFILES

POL_SetupWindow_browse
POL_Wine start /unix "$APP_ANSWER"

Set_OS "win2k"

POL_SetupWindow_wait "$LNG_INSTALL_RUN" "$TITLE"

POL_Wine start /unix "$APP_ANSWER"

POL_SetupWindow_detect_exit
POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"

POL_SetupWindow_auto_shortcut "$PREFIX" "SoF2.exe" "$TITLE"

POL_SetupWindow_message "$LNG_SUCCESS" "$TITLE"

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Wiadmości
TwistedDrifter Thursday 14 August 2014 at 3:16
TwistedDrifter Anonymous

Information

This update has been approved by the team.

Wiadmości

This is an installer for SOFII: Double Helix Gold Edition

Differences

@@ -0,0 +1,52 @@
+#!/bin/bash
+# Date : (????-??-?? ??-??)
+# Last revision : (2014-08-13 12-22)
+# Wine version used : -
+# Distribution used to test : ?
+# Stolen from: malownu, Updated by SuperPlumus
+
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Soldier of Fortune II: Double Helix Gold Edition"
+PREFIX="SoldierofFortuneIIDoubleHelixGoldEdition"
+
+if [ "$POL_LANG" == "fr" ]
+then
+LNG_INSTALL_RUN="Installation en cours..."
+LNG_WAIT_END="Cliquez sur \"Suivant\" UNIQUEMENT quand l'installation de\n$TITLE sera terminée."
+LNG_SUCCESS="$TITLE a été installé avec succès !"
+else
+LNG_INSTALL_RUN="Installation in progress..."
+LNG_WAIT_END="Click on \"Forward\" ONLY when the\n$TITLE installation is finished."
+LNG_SUCCESS="$TITLE has been installed successfully."
+fi
+
+POL_SetupWindow_Init
+
+POL_SetupWindow_presentation "$TITLE" "Raven Software" "http://www.activision.com/games/soldieroffortune" "malownu, Modified by SuperPlumus, stolen and modified by TwistedDrifter" "$PREFIX"
+
+POL_Wine_SelectPrefix "$REPERTOIRE/wineprefix/$PREFIX"
+POL_Wine_PrefixCreate
+
+POL_LoadVar_PROGRAMFILES
+
+POL_SetupWindow_browse
+POL_Wine start /unix "$APP_ANSWER"
+
+Set_OS "win2k"
+
+POL_SetupWindow_wait "$LNG_INSTALL_RUN" "$TITLE"
+
+POL_Wine start /unix "$APP_ANSWER"
+
+POL_SetupWindow_detect_exit
+POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
+
+POL_SetupWindow_auto_shortcut "$PREFIX" "SoF2.exe" "$TITLE"
+
+POL_SetupWindow_message "$LNG_SUCCESS" "$TITLE"
+
+POL_SetupWindow_Close
+
+exit

New source code

#!/bin/bash
# Date : (????-??-?? ??-??)
# Last revision : (2014-08-13 12-22)
# Wine version used : -
# Distribution used to test : ?
# Stolen from: malownu, Updated by SuperPlumus

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

TITLE="Soldier of Fortune II: Double Helix Gold Edition"
PREFIX="SoldierofFortuneIIDoubleHelixGoldEdition"

if [ "$POL_LANG" == "fr" ]
then
LNG_INSTALL_RUN="Installation en cours..."
LNG_WAIT_END="Cliquez sur \"Suivant\" UNIQUEMENT quand l'installation de\n$TITLE sera terminée."
LNG_SUCCESS="$TITLE a été installé avec succès !"
else
LNG_INSTALL_RUN="Installation in progress..."
LNG_WAIT_END="Click on \"Forward\" ONLY when the\n$TITLE installation is finished."
LNG_SUCCESS="$TITLE has been installed successfully."
fi

POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Raven Software" "http://www.activision.com/games/soldieroffortune" "malownu, Modified by SuperPlumus, stolen and modified by TwistedDrifter" "$PREFIX"

POL_Wine_SelectPrefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_Wine_PrefixCreate

POL_LoadVar_PROGRAMFILES

POL_SetupWindow_browse
POL_Wine start /unix "$APP_ANSWER"

Set_OS "win2k"

POL_SetupWindow_wait "$LNG_INSTALL_RUN" "$TITLE"

POL_Wine start /unix "$APP_ANSWER"

POL_SetupWindow_detect_exit
POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"

POL_SetupWindow_auto_shortcut "$PREFIX" "SoF2.exe" "$TITLE"

POL_SetupWindow_message "$LNG_SUCCESS" "$TITLE"

POL_SetupWindow_Close

exit

Odpowiedzi

Tuesday 7 January 2020 at 20:36
Script approved.
TwistedDrifter Wednesday 13 August 2014 at 22:42
TwistedDrifter Anonymous

Warning

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

Differences

@@ -0,0 +1,51 @@
+#!/bin/bash
+# Date : (????-??-?? ??-??)
+# Last revision : (2014-08-13 12-22)
+# Wine version used : -
+# Distribution used to test : ?
+# Stolen from: malownu, Updated by SuperPlumus
+ 
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Soldier of Fortune II: Double Helix Gold Edition"
+PREFIX="SoldierofFortuneIIDoubleHelixGoldEdition"
+ 
+if [ "$POL_LANG" == "fr" ]
+then
+LNG_INSTALL_RUN="Installation en cours..."
+LNG_WAIT_END="Cliquez sur \"Suivant\" UNIQUEMENT quand l'installation de\n$TITLE sera terminée."
+LNG_SUCCES="$TITLE a été installé avec succès !"
+else
+LNG_INSTALL_RUN="Installation in progress..."
+LNG_WAIT_END="Click on \"Forward\" ONLY when the\n$TITLE installation is finished."
+LNG_SUCCES="$TITLE has been installed successfully."
+fi
+ 
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Raven Software" "http://www.activision.com/games/soldieroffortune" "malownu, Modified by SuperPlumus, stolen and modified by TwistedDrifter" "$PREFIX"
+ 
+select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
+POL_SetupWindow_prefixcreate
+ 
+POL_LoadVar_PROGRAMFILES
+ 
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "Setup.exe"
+ 
+Set_OS "win2k"
+ 
+cd "$CDROM"
+POL_SetupWindow_wait_next_signal "$LNG_INSTALL_RUN" "$TITLE"
+wine "$CDROM/Setup.exe"
+POL_SetupWindow_detect_exit
+POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
+ 
+POL_SetupWindow_auto_shortcut "$PREFIX" "SoF2.exe" "$TITLE"
+ 
+POL_SetupWindow_message "$LNG_SUCCES" "$TITLE"
+ 
+POL_SetupWindow_Close
+ 
+exit

New source code

#!/bin/bash
# Date : (????-??-?? ??-??)
# Last revision : (2014-08-13 12-22)
# Wine version used : -
# Distribution used to test : ?
# Stolen from: malownu, Updated by SuperPlumus
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Soldier of Fortune II: Double Helix Gold Edition"
PREFIX="SoldierofFortuneIIDoubleHelixGoldEdition"
 
if [ "$POL_LANG" == "fr" ]
then
LNG_INSTALL_RUN="Installation en cours..."
LNG_WAIT_END="Cliquez sur \"Suivant\" UNIQUEMENT quand l'installation de\n$TITLE sera terminée."
LNG_SUCCES="$TITLE a été installé avec succès !"
else
LNG_INSTALL_RUN="Installation in progress..."
LNG_WAIT_END="Click on \"Forward\" ONLY when the\n$TITLE installation is finished."
LNG_SUCCES="$TITLE has been installed successfully."
fi
 
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "Raven Software" "http://www.activision.com/games/soldieroffortune" "malownu, Modified by SuperPlumus, stolen and modified by TwistedDrifter" "$PREFIX"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
 
POL_LoadVar_PROGRAMFILES
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"
 
Set_OS "win2k"
 
cd "$CDROM"
POL_SetupWindow_wait_next_signal "$LNG_INSTALL_RUN" "$TITLE"
wine "$CDROM/Setup.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
 
POL_SetupWindow_auto_shortcut "$PREFIX" "SoF2.exe" "$TITLE"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TITLE"
 
POL_SetupWindow_Close
 
exit

Odpowiedzi

Wednesday 13 August 2014 at 23:56
Can you update the description? Thank you :)

Also, your script is clearly out to date. We won't sign it until you fix it