Farming Simulator 2019

Informations

Creator Meddelanden
Dadu042
Moderator

Warning

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

Informations

Platforms:
Downloads: 1369
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 : (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

Contributions

Filters:

Contribute
Member Meddelanden
Dadu042 Monday 13 May 2019 at 16:18
Dadu042
Moderator

Information

This update has been approved by the team.

Meddelanden

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

Svar