Delta Force: Black Hawk Down

Informations

Créateur Messages
Dadu042

Attention

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

Informations

Plate-formes :
Téléchargements : 5617
Wine: 3.20

Retours d'expérience

Description

First-person shooter video game (2003).

Wikipedia. PCGamingWiki. appdb.winehq.org

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-01 16-10)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used: CD-ROM V1.2.2.4 (see file VERSION.TXT once installed). May 2003 (in /DFBHD/).
#
# CHANGELOG:
# [Dadu042] (2019-06-01 16-10)
#   Initial script.
# [Dadu042] (2019-12-30)
#   Wine 3.21 -> 3.20 (max available on POL v4.2.12)
#   Add POL_RequiredVersion (v4.0.0)
#   Fix a POL_Shortcut
#
# KNOWN ISSUES:
# None.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Delta Force: Black Hawk Down"
PREFIX="delta_force_BHD"
WORKING_WINE_VERSION="3.20"
AUTHOR="Dadu042"
EDITOR="NovaLogic"
GAME_URL="https://en.wikipedia.org/wiki/Delta_Force:_Black_Hawk_Down"

POL_SetupWindow_Init
POL_Debug_Init

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

POL_RequiredVersion "4.0.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"

Set_OS "winxp"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "32"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# Useless because On by default (Set if the window manager will be allowed to manage Wine windows.)
# Set_Managed "On"

# POL_Wine_X11Drv "DXGrab" "Y"
# Was used in 2009:
# Set_DXGrab "On"

###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"

POL_SetupWindow_message "Note: at the end of the installation, DO NOT install DirectX when asked."


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 "$CDROM/DFBHD/DFBHDLC.EXE"
        POL_SetupWindow_check_cdrom "AUTOPLAY.BAT"
        POL_Wine start /unix "$CDROM/DFBHD/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "dfbhd.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_Document "$TITLE" "DFBHDMAN.PDF"

POL_Shortcut "dfbhdlc.exe" "$TITLE - LAN only" "" "" "Game;"

POL_Shortcut "dfbhdmed.exe" "$TITLE - Mission editor" "" "" "Game;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mardi 31 Décembre 2019 à 1:29
Dadu042

Information

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

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-06-01 16-10)
-# Last revision : (2019-06-01 16-10)
+# Last revision : see changelog
 # Wine version used : see below
 # Distribution used to test : Ubuntu 18.04 x64
 # Script licence : GPL3
@@ -12,7 +12,11 @@
 #
 # CHANGELOG:
 # [Dadu042] (2019-06-01 16-10)
-#   Initial script.
+#   Initial script.
+# [Dadu042] (2019-12-30)
+#   Wine 3.21 -> 3.20 (max available on POL v4.2.12)
+#   Add POL_RequiredVersion (v4.0.0)
+#   Fix a POL_Shortcut
 #
 # KNOWN ISSUES:
 # None.
@@ -22,7 +26,7 @@
    
 TITLE="Delta Force: Black Hawk Down"
 PREFIX="delta_force_BHD"
-WORKING_WINE_VERSION="3.21"
+WORKING_WINE_VERSION="3.20"
 AUTHOR="Dadu042"
 EDITOR="NovaLogic"
 GAME_URL="https://en.wikipedia.org/wiki/Delta_Force:_Black_Hawk_Down"
@@ -32,6 +36,8 @@
 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
+POL_RequiredVersion "4.0.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"
@@ -85,12 +91,12 @@
         cd "$POL_System_TmpDir"
 fi
 
-POL_Shortcut "dfbhd.exe" "$TITLE" "" "Game;"
+POL_Shortcut "dfbhd.exe" "$TITLE" "" "" "Game;"
 POL_Shortcut_Document "$TITLE" "DFBHDMAN.PDF"
 
-POL_Shortcut "dfbhdlc.exe" "$TITLE - LAN only" "" "Game;"
+POL_Shortcut "dfbhdlc.exe" "$TITLE - LAN only" "" "" "Game;"
 
-POL_Shortcut "dfbhdmed.exe" "$TITLE - Mission editor" "" "Game;"
+POL_Shortcut "dfbhdmed.exe" "$TITLE - Mission editor" "" "" "Game;"
 
 POL_System_TmpDelete
 POL_SetupWindow_Close

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-01 16-10)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used: CD-ROM V1.2.2.4 (see file VERSION.TXT once installed). May 2003 (in /DFBHD/).
#
# CHANGELOG:
# [Dadu042] (2019-06-01 16-10)
#   Initial script.
# [Dadu042] (2019-12-30)
#   Wine 3.21 -> 3.20 (max available on POL v4.2.12)
#   Add POL_RequiredVersion (v4.0.0)
#   Fix a POL_Shortcut
#
# KNOWN ISSUES:
# None.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Delta Force: Black Hawk Down"
PREFIX="delta_force_BHD"
WORKING_WINE_VERSION="3.20"
AUTHOR="Dadu042"
EDITOR="NovaLogic"
GAME_URL="https://en.wikipedia.org/wiki/Delta_Force:_Black_Hawk_Down"

POL_SetupWindow_Init
POL_Debug_Init

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

POL_RequiredVersion "4.0.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"

Set_OS "winxp"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "32"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# Useless because On by default (Set if the window manager will be allowed to manage Wine windows.)
# Set_Managed "On"

# POL_Wine_X11Drv "DXGrab" "Y"
# Was used in 2009:
# Set_DXGrab "On"

###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"

POL_SetupWindow_message "Note: at the end of the installation, DO NOT install DirectX when asked."


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 "$CDROM/DFBHD/DFBHDLC.EXE"
        POL_SetupWindow_check_cdrom "AUTOPLAY.BAT"
        POL_Wine start /unix "$CDROM/DFBHD/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "dfbhd.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_Document "$TITLE" "DFBHDMAN.PDF"

POL_Shortcut "dfbhdlc.exe" "$TITLE - LAN only" "" "" "Game;"

POL_Shortcut "dfbhdmed.exe" "$TITLE - Mission editor" "" "" "Game;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Samedi 1 Juin 2019 à 16:16
Dadu042

Warning

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

Messages

OK.

Differences

@@ -1,4 +1,3 @@
-#!/bin/bash
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-06-01 16-10)
 # Last revision : (2019-06-01 16-10)

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-01 16-10)
# Last revision : (2019-06-01 16-10)
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used: CD-ROM V1.2.2.4 (see file VERSION.TXT once installed). May 2003 (in /DFBHD/).
#
# CHANGELOG:
# [Dadu042] (2019-06-01 16-10)
#   Initial script.
#
# KNOWN ISSUES:
# None.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Delta Force: Black Hawk Down"
PREFIX="delta_force_BHD"
WORKING_WINE_VERSION="3.21"
AUTHOR="Dadu042"
EDITOR="NovaLogic"
GAME_URL="https://en.wikipedia.org/wiki/Delta_Force:_Black_Hawk_Down"

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"

Set_OS "winxp"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "32"

POL_Call POL_Install_VideoDriver

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# Useless because On by default (Set if the window manager will be allowed to manage Wine windows.)
# Set_Managed "On"

# POL_Wine_X11Drv "DXGrab" "Y"
# Was used in 2009:
# Set_DXGrab "On"

###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"

POL_SetupWindow_message "Note: at the end of the installation, DO NOT install DirectX when asked."


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 "$CDROM/DFBHD/DFBHDLC.EXE"
        POL_SetupWindow_check_cdrom "AUTOPLAY.BAT"
        POL_Wine start /unix "$CDROM/DFBHD/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "dfbhd.exe" "$TITLE" "" "Game;"
POL_Shortcut_Document "$TITLE" "DFBHDMAN.PDF"

POL_Shortcut "dfbhdlc.exe" "$TITLE - LAN only" "" "Game;"

POL_Shortcut "dfbhdmed.exe" "$TITLE - Mission editor" "" "Game;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Edité par Dadu042

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