Farming Simulator 17

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 : 7550
Wine: 4.0.3

Retours d'expérience

Description

Game from the famous serie.

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-05 18-22)
# Last revision : (2019-05-05 18-22)
# 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
   
[ "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Farming Simulator 17"
PREFIX="fs17"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Giants"
GAME_URL="https://en.wikipedia.org/wiki/Farming_Simulator"

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

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

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"

POL_Call POL_Install_d3dx11
  
###############
# Go          #
###############
    
POL_SetupWindow_InstallMethod "LOCAL,DVD"
    
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 "autorun.inf"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi
    
POL_Shortcut "FarmingSimulator2017.exe" "$TITLE" ""
  
# Filename to change according the language
POL_Shortcut_Document "$TITLE" "FarmingSimulator2017_EN.pdf"

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "1024"
 
POL_Call POL_Install_VideoDriver

POL_Call POL_Install_physx

################
# Patch update #
################
 
POL_SetupWindow_menu "$(eval_gettext 'Do want to install a official update file? (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
  
if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Lundi 3 Février 2020 à 21:26
Dadu042

Information

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

Differences

@@ -13,7 +13,7 @@
     
 TITLE="Farming Simulator 17"
 PREFIX="fs17"
-WORKING_WINE_VERSION="4.0.1"
+WORKING_WINE_VERSION="4.0.3"
 AUTHOR="Dadu042"
 EDITOR="Giants"
 GAME_URL="https://en.wikipedia.org/wiki/Farming_Simulator"
@@ -23,7 +23,9 @@
 POL_Debug_Init
     
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-    
+
+POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-05 18-22)
# Last revision : (2019-05-05 18-22)
# 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
   
[ "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Farming Simulator 17"
PREFIX="fs17"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Giants"
GAME_URL="https://en.wikipedia.org/wiki/Farming_Simulator"

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

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

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"

POL_Call POL_Install_d3dx11
  
###############
# Go          #
###############
    
POL_SetupWindow_InstallMethod "LOCAL,DVD"
    
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 "autorun.inf"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi
    
POL_Shortcut "FarmingSimulator2017.exe" "$TITLE" ""
  
# Filename to change according the language
POL_Shortcut_Document "$TITLE" "FarmingSimulator2017_EN.pdf"

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "1024"
 
POL_Call POL_Install_VideoDriver

POL_Call POL_Install_physx

################
# Patch update #
################
 
POL_SetupWindow_menu "$(eval_gettext 'Do want to install a official update file? (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
  
if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Dimanche 5 Mai 2019 à 19:50
Dadu042

Warning

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

Messages

Script v1.2

 

I played only 5 minutes.

Differences

@@ -13,7 +13,7 @@
     
 TITLE="Farming Simulator 17"
 PREFIX="fs17"
-WORKING_WINE_VERSION="4.1"
+WORKING_WINE_VERSION="4.0.1"
 AUTHOR="Dadu042"
 EDITOR="Giants"
 GAME_URL="https://en.wikipedia.org/wiki/Farming_Simulator"

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-05 18-22)
# Last revision : (2019-05-05 18-22)
# 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
   
[ "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Farming Simulator 17"
PREFIX="fs17"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Giants"
GAME_URL="https://en.wikipedia.org/wiki/Farming_Simulator"

 
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"

POL_Call POL_Install_d3dx11
  
###############
# Go          #
###############
    
POL_SetupWindow_InstallMethod "LOCAL,DVD"
    
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 "autorun.inf"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi
    
POL_Shortcut "FarmingSimulator2017.exe" "$TITLE" ""
  
# Filename to change according the language
POL_Shortcut_Document "$TITLE" "FarmingSimulator2017_EN.pdf"

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "1024"
 
POL_Call POL_Install_VideoDriver

POL_Call POL_Install_physx

################
# Patch update #
################
 
POL_SetupWindow_menu "$(eval_gettext 'Do want to install a official update file? (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
  
if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the patch file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Mercredi 29 Janvier 2020 à 23:29
Forget to approve it.

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