Frontlines: Fuel of War
Informations
| Créateur | Messages | 
|---|---|
| Dadu042   
 | InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes :   Retours d'expérience1 0 DescriptionFPS, 2008. Captures d'écranCode source#!/bin/bash
# Date : (2019-08-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : v1.0.0 (retail 2x DVDs, western europe)
#
# Game based on (ie: middlewares): .
#
#
# CHANGELOG:
# [Dadu042] (2019-08-14)
#   First script.
# [Dadu042] (2019-08-16)
#   Add Known issues.
#
# KNOWN ISSUES:
# - Wine 4.01, 4.11: DRM does not recognize the original DVD #1 (but is OK with #2).
# - Wine 4.01, 4.11: Once clicked from POL, the game only launch (ie: intro videos) after 3 minutes (CPU used: Intel I3-4130).
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Frontlines: Fuel of War"
PREFIX="Frontlines_FOW"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL=""
    
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion "4.3.4" || 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_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "vista"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##
# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM"
     
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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/9460
        POL_Wine_WaitBefore "$TITLE"
elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "dotnetfx.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/9460"
else         
       POL_Shortcut "FFOW.exe" "$TITLE" "" "" "Game;Shooter;"
       POL_Shortcut_Document "$TITLE" "FFOW_Manual.pdf"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0 | 
Contributions
Filters:
Contribuer| Membre | Messages | 
| Dadu042 | Vendredi 16 Aoüt 2019 à 15:50 | 
| Dadu042   
 | InformationCette mise à jour a été acceptée par l'équipe Messages# KNOWN ISSUES: Differences@@ -17,12 +17,10 @@
 #   First script.
 # [Dadu042] (2019-08-16)
 #   Add Known issues.
-#   Wine 4.0.1 -> 4.11
 #
 # KNOWN ISSUES:
-# - Wine 4.0.1: DRM does not recognize the original DVD #1 nor #2.
-# - Wine 4.11: DRM does not recognize the original DVD #1 (but is OK with #2).
-# - Wine 4.11: Once clicked from POL, the game only launch (ie: intro videosà) after 3 minutes (CPU used: Intel I3-4130).
+# - Wine 4.01, 4.11: DRM does not recognize the original DVD #1 (but is OK with #2).
+# - Wine 4.01, 4.11: Once clicked from POL, the game only launch (ie: intro videos) after 3 minutes (CPU used: Intel I3-4130).
 
 
 
@@ -31,7 +29,7 @@
          
 TITLE="Frontlines: Fuel of War"
 PREFIX="Frontlines_FOW"
-WORKING_WINE_VERSION="4.11"
+WORKING_WINE_VERSION="4.0.1"
 AUTHOR="Dadu042"
 EDITOR=""
 GAME_URL=""
Nouveau code source#!/bin/bash
# Date : (2019-08-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : v1.0.0 (retail 2x DVDs, western europe)
#
# Game based on (ie: middlewares): .
#
#
# CHANGELOG:
# [Dadu042] (2019-08-14)
#   First script.
# [Dadu042] (2019-08-16)
#   Add Known issues.
#
# KNOWN ISSUES:
# - Wine 4.01, 4.11: DRM does not recognize the original DVD #1 (but is OK with #2).
# - Wine 4.01, 4.11: Once clicked from POL, the game only launch (ie: intro videos) after 3 minutes (CPU used: Intel I3-4130).
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Frontlines: Fuel of War"
PREFIX="Frontlines_FOW"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL=""
    
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion "4.3.4" || 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_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "vista"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##
# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM"
     
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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/9460
        POL_Wine_WaitBefore "$TITLE"
elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "dotnetfx.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/9460"
else         
       POL_Shortcut "FFOW.exe" "$TITLE" "" "" "Game;Shooter;"
       POL_Shortcut_Document "$TITLE" "FFOW_Manual.pdf"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0RéponsesEdité par Dadu042 | 
| Dadu042 | Mercredi 14 Aoüt 2019 à 22:17 | 
| Dadu042   
 | WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI used the DVD version to write this script, but it should work with Steam too. Differences@@ -0,0 +1,97 @@ +#!/bin/bash +# Date : (2019-08-03) +# Last revision : see changelog +# Wine version used : see below +# Distribution used to test : XUbuntu 18.04 x64 +# Script licence : GPL3 +# Program licence : Retail +# Playonlinux v4.3.4 +# +# Tested version : v1.0.0 (retail 2x DVDs, euro) +# +# Game based on (ie: middlewares): . +# +# +# CHANGELOG: +# [Dadu042] (2019-08-14) +# First script. +# +# KNOWN ISSUES: + + + + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Frontlines: Fuel of War" +PREFIX="Frontlines_FOW" +WORKING_WINE_VERSION="4.0.1" +AUTHOR="Dadu042" +EDITOR="" +GAME_URL="" + +POL_SetupWindow_Init +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_RequiredVersion "4.3.4" || 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_Wine_PrefixCreate +POL_System_TmpCreate "$TITLE" + +Set_OS "vista" + +# POL_Call POL_Install_corefonts + +## Begin Common PlayOnMac Section ## +[ "$POL_OS" = "Mac" ] && Set_Managed "Off" +# End Section ## + +# This web game was not released on CD/DVD. +# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" +POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM" + +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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE" + + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" + +elif [ "$INSTALL_METHOD" == "STEAM" ];then + POL_Call POL_Install_steam + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine "steam.exe" steam://install/9460 + POL_Wine_WaitBefore "$TITLE" + +elif [ "$INSTALL_METHOD" == "DVD" ];then + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "dotnetfx.exe" + POL_Wine start /unix "$CDROM/setup.exe" + POL_Wine_WaitExit "setup.exe" + cd "$POL_System_TmpDir" +fi + + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/9460" +else + POL_Shortcut "FFOW.exe" "$TITLE" "" "" "Game;Shooter;" + POL_Shortcut_Document "$TITLE" "FFOW_Manual.pdf" +fi + +# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia). +POL_Call POL_Install_VideoDriver + +POL_System_TmpDelete +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash
# Date : (2019-08-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : v1.0.0 (retail 2x DVDs, euro)
#
# Game based on (ie: middlewares): .
#
#
# CHANGELOG:
# [Dadu042] (2019-08-14)
#   First script.
#
# KNOWN ISSUES:
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Frontlines: Fuel of War"
PREFIX="Frontlines_FOW"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL=""
    
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion "4.3.4" || 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_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "vista"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##
# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM"
     
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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/9460
        POL_Wine_WaitBefore "$TITLE"
elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "dotnetfx.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/9460"
else         
       POL_Shortcut "FFOW.exe" "$TITLE" "" "" "Game;Shooter;"
       POL_Shortcut_Document "$TITLE" "FFOW_Manual.pdf"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0Réponses | 
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
 Installer ce programme
 Installer ce programme                        
