Farming Simulator 2019

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 9257
Wine: 4.8

Feedbacks

Description

Test in progress. This game does not work currently.

 

If you know how to use Wine without Playonlinux, please contribue to write test reports on appdb.winehq.org

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-01 12-26)
# Last revision : see changelog
# Wine version used : 4.8
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-04-01)
#   First script.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion 4.3.4
#   Improve POL_Shortcut
#
# KNOWN ISSUEs:
# - As of 2019-04-0 with Wine 3.19 : game suffer from graphic issues (red filter).
# - As of 2019-04-0 with Wine 4.5 : game suffer from graphic issues (black parts).

 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Farming simulator 19"
PREFIX="fs19"
WORKING_WINE_VERSION="4.8"
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.4" || 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_VideoDriver

# Really Useful ? (Dadu042)
POL_SetupWindow_VMS "1024"

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 "Setup-3.bin"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi
  
POL_Shortcut "FarmingSimulator2019.exe" "$TITLE" "" "" "Game;"

# Filename to change ?
POL_Shortcut_Document "$TITLE" "Manual.pdf"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 31 December 2019 at 1:38
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,15 +1,23 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-04-01 12-26)
-# Last revision : (2019-04-01 12-26)
-# Wine version used : 4.5
+# Last revision : see changelog
+# Wine version used : 4.8
 # Distribution used to test : Ubuntu 18.04 x64
 # Script licence : GPL3
 # Program licence : Retail
 #
 # Playonlinux version used : 4.3.4
-# 
-# As of 2019-04-0 with Wine 3.19 : game suffer from graphic issues (red filter).
-# As of 2019-04-0 with Wine 4.5 : game suffer from graphic issues (black parts).
+#
+# CHANGELOG
+# [Dadu042] (2019-04-01)
+#   First script.
+# [Dadu042] (2019-12-30)
+#   POL_RequiredVersion 4.3.4
+#   Improve POL_Shortcut
+#
+# KNOWN ISSUEs:
+# - As of 2019-04-0 with Wine 3.19 : game suffer from graphic issues (red filter).
+# - As of 2019-04-0 with Wine 4.5 : game suffer from graphic issues (black parts).
 
  
 [ -z "$PLAYONLINUX" ] && exit 0
@@ -26,7 +34,9 @@
 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 "amd64"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
@@ -62,9 +72,9 @@
         cd "$POL_System_TmpDir"
 fi
   
-POL_Shortcut "FarmingSimulator2019.exe" "$TITLE" ""
+POL_Shortcut "FarmingSimulator2019.exe" "$TITLE" "" "" "Game;"
 
-# Filename to change ?
+# Filename to change ?
 POL_Shortcut_Document "$TITLE" "Manual.pdf"
 
 POL_System_TmpDelete

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-01 12-26)
# Last revision : see changelog
# Wine version used : 4.8
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-04-01)
#   First script.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion 4.3.4
#   Improve POL_Shortcut
#
# KNOWN ISSUEs:
# - As of 2019-04-0 with Wine 3.19 : game suffer from graphic issues (red filter).
# - As of 2019-04-0 with Wine 4.5 : game suffer from graphic issues (black parts).

 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Farming simulator 19"
PREFIX="fs19"
WORKING_WINE_VERSION="4.8"
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.4" || 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_VideoDriver

# Really Useful ? (Dadu042)
POL_SetupWindow_VMS "1024"

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 "Setup-3.bin"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi
  
POL_Shortcut "FarmingSimulator2019.exe" "$TITLE" "" "" "Game;"

# Filename to change ?
POL_Shortcut_Document "$TITLE" "Manual.pdf"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Monday 13 May 2019 at 16:18
Dadu042

Warning

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

Message

v0.1

Differences

@@ -0,0 +1,72 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-04-01 12-26)
+# Last revision : (2019-04-01 12-26)
+# Wine version used : 4.5
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+#
+# Playonlinux version used : 4.3.4
+# 
+# As of 2019-04-0 with Wine 3.19 : game suffer from graphic issues (red filter).
+# As of 2019-04-0 with Wine 4.5 : game suffer from graphic issues (black parts).
+
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Farming simulator 19"
+PREFIX="fs19"
+WORKING_WINE_VERSION="4.8"
+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_VideoDriver
+
+# Really Useful ? (Dadu042)
+POL_SetupWindow_VMS "1024"
+
+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 "Setup-3.bin"
+        POL_Wine start /unix "$CDROM/Setup.exe"
+        POL_Wine_WaitExit "Setup.exe"
+        cd "$POL_System_TmpDir"
+fi
+  
+POL_Shortcut "FarmingSimulator2019.exe" "$TITLE" ""
+
+# Filename to change ?
+POL_Shortcut_Document "$TITLE" "Manual.pdf"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-01 12-26)
# Last revision : (2019-04-01 12-26)
# Wine version used : 4.5
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
# 
# As of 2019-04-0 with Wine 3.19 : game suffer from graphic issues (red filter).
# As of 2019-04-0 with Wine 4.5 : game suffer from graphic issues (black parts).

 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Farming simulator 19"
PREFIX="fs19"
WORKING_WINE_VERSION="4.8"
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_VideoDriver

# Really Useful ? (Dadu042)
POL_SetupWindow_VMS "1024"

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 "Setup-3.bin"
        POL_Wine start /unix "$CDROM/Setup.exe"
        POL_Wine_WaitExit "Setup.exe"
        cd "$POL_System_TmpDir"
fi
  
POL_Shortcut "FarmingSimulator2019.exe" "$TITLE" ""

# Filename to change ?
POL_Shortcut_Document "$TITLE" "Manual.pdf"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

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