Farming Simulator 2019

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 : 8892
Wine: 4.8

Retours d'expérience

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

Code source

#!/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:

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

Information

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

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

Nouveau code source

#!/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

Réponses

Dadu042 Lundi 13 Mai 2019 à 16:18
Dadu042

Warning

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

Messages

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

Nouveau code source

#!/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

Réponses