Beach Life

Informatie

Creator Bericht
xlours Anonymous

Warning

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

Informatie

Platforms:
Downloads: 499
Wine: 4.0.2

Feedbacks

Omschrijving

Business strategy video game, 2002. A kind of 'theme park for holidays'.

 

https://fr.wikipedia.org/wiki/Beach_Life  - PCGamingWiki -

 

En fait, ce programme ne fonctionne PLUS: sur UBUNTU 16.04, en wine version 2.21, je jouais sans problème. L'installation ne nécessitait rien AVANT mais depuis UBUNTU 18.04 le jeu s'installe sans problème mais lors du lancement, le jeu plante sur "En cours de chargement. Veuillez patienter".

j'espère bientôt voir une solution sur votre site ...  cordialement

Schermafdrukken

MiniatureMiniature

Broncode

#!/bin/bash
# Date : (2019-06-20 23-21)
# Last revision : See changelog
# 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
#
# Software version used to write this script: CD-ROM v1.1 (according Readme.htm)
# Software based on: DirectX 8.1, Quicktime (2004).
#
# CHANGELOG
# [Dadu042] (2019-06-20)
#   Initial writting.
# [Dadu042] (2019-09-02)
#   Cleanup. Comments.
#
# Known issues:
#   Wine x86 2.22, 3.0.5, 4.0.1, 4.0.2, 4.11: Installation fail (loop) when creating the game folder ('Eidos Interactive\Beach Life'). Tried: install MFC42, xmllite, msxml6.
#       From a .ISO : no problem.  I think the issue was that the files were copied from the CD to the HDD.
#   Wine x86 4.0.2: game fail to launch (log: GStreamer issue). Tried: amstream, quartz, ffdshow.


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Beach Life"
PREFIX="beach-life"
WORKING_WINE_VERSION="4.0.2"
AUTHOR="Dadu042"
EDITOR="Eidos Interactive"
GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_SetArch "x86"
POL_System_TmpCreate "$TITLE"
 
Set_OS "winxp"
 
# Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
# POL_Call POL_Install_mfc42

# POL_Call POL_Install_amstream

# POL_Call POL_Install_msxml6

# Useless ?
# POL_Call POL_Install_vcrun2005
 
###############
# GPU         #
###############
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
# POL_Install_VideoDriver
  
# Asking about memory size of graphic card
# GAME_VMS="16"
# POL_SetupWindow_VMS "$GAME_VMS"
 
 
###############
# Go          #
###############
    
POL_SetupWindow_InstallMethod "LOCAL"
    
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"
fi
 
POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
       
POL_Shortcut_Document "$TITLE" "Readme.htm"
 
#######################################
# Create a 'virtual desktop' (window) #
#######################################
  
# Workaround to fix the "No mouse nor keyboard on main menu":
  
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
    
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
  
Set_Desktop "On" "$WIDTH" "$HEIGHT"
  
Set_WineWindowTitle "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Dinsdag 3 September 2019 om 0:28
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -7,65 +7,73 @@
 # Program licence : Retail
 # Playonlinux version used : 4.3.4
 #
-# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
-# Software based on: DirectX 8.1
+# Software version used to write this script: CD-ROM v1.1 (according Readme.htm)
+# Software based on: DirectX 8.1, Quicktime (2004).
 #
 # CHANGELOG
 # [Dadu042] (2019-06-20)
 #   Initial writting.
+# [Dadu042] (2019-09-02)
+#   Cleanup. Comments.
 #
 # Known issues:
-#   Wine 4.0.1 and 4.11: Installation fail (loop) when creating the game folder ('Eidos Interactive\Beach Life').
-  
-    
+#   Wine x86 2.22, 3.0.5, 4.0.1, 4.0.2, 4.11: Installation fail (loop) when creating the game folder ('Eidos Interactive\Beach Life'). Tried: install MFC42, xmllite, msxml6.
+#       From a .ISO : no problem.  I think the issue was that the files were copied from the CD to the HDD.
+#   Wine x86 4.0.2: game fail to launch (log: GStreamer issue). Tried: amstream, quartz, ffdshow.
+
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="Beach Life"
 PREFIX="beach-life"
-WORKING_WINE_VERSION="3.0.5"
+WORKING_WINE_VERSION="4.0.2"
 AUTHOR="Dadu042"
 EDITOR="Eidos Interactive"
 GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
-     
+      
 POL_SetupWindow_Init
 POL_Debug_Init
-    
+     
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-    
+     
 POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_SetArch "x86"
 POL_System_TmpCreate "$TITLE"
-
+ 
 Set_OS "winxp"
-
+ 
 # Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
-# POL_Call POL_Install_mfc42
+# POL_Call POL_Install_mfc42
+
+# POL_Call POL_Install_amstream
+
+# POL_Call POL_Install_msxml6
 
 # Useless ?
 # POL_Call POL_Install_vcrun2005
-
+ 
 ###############
 # GPU         #
 ###############
-
-# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
-# POL_Call POL_Install_VideoDriver
  
+# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+# POL_Install_VideoDriver
+  
 # Asking about memory size of graphic card
 # GAME_VMS="16"
 # POL_SetupWindow_VMS "$GAME_VMS"
-
-
+ 
+ 
 ###############
 # Go          #
 ###############
-   
+    
 POL_SetupWindow_InstallMethod "LOCAL"
-   
+    
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then
         cd "$HOME"
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -74,27 +82,27 @@
         POL_Wine_WaitExit "$TITLE"
         cd "$POL_System_TmpDir"
 fi
-
+ 
 POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
-      
+       
 POL_Shortcut_Document "$TITLE" "Readme.htm"
-
+ 
 #######################################
 # Create a 'virtual desktop' (window) #
 #######################################
- 
+  
 # Workaround to fix the "No mouse nor keyboard on main menu":
- 
+  
 POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
-   
+    
 resolution="$APP_ANSWER"
 WIDTH="$(echo $resolution | cut -d"x" -f1)"
 HEIGHT="$(echo $resolution | cut -d"x" -f2)"
- 
+  
 Set_Desktop "On" "$WIDTH" "$HEIGHT"
- 
+  
 Set_WineWindowTitle "$TITLE"
-
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-06-20 23-21)
# Last revision : See changelog
# 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
#
# Software version used to write this script: CD-ROM v1.1 (according Readme.htm)
# Software based on: DirectX 8.1, Quicktime (2004).
#
# CHANGELOG
# [Dadu042] (2019-06-20)
#   Initial writting.
# [Dadu042] (2019-09-02)
#   Cleanup. Comments.
#
# Known issues:
#   Wine x86 2.22, 3.0.5, 4.0.1, 4.0.2, 4.11: Installation fail (loop) when creating the game folder ('Eidos Interactive\Beach Life'). Tried: install MFC42, xmllite, msxml6.
#       From a .ISO : no problem.  I think the issue was that the files were copied from the CD to the HDD.
#   Wine x86 4.0.2: game fail to launch (log: GStreamer issue). Tried: amstream, quartz, ffdshow.


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Beach Life"
PREFIX="beach-life"
WORKING_WINE_VERSION="4.0.2"
AUTHOR="Dadu042"
EDITOR="Eidos Interactive"
GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_SetArch "x86"
POL_System_TmpCreate "$TITLE"
 
Set_OS "winxp"
 
# Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
# POL_Call POL_Install_mfc42

# POL_Call POL_Install_amstream

# POL_Call POL_Install_msxml6

# Useless ?
# POL_Call POL_Install_vcrun2005
 
###############
# GPU         #
###############
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
# POL_Install_VideoDriver
  
# Asking about memory size of graphic card
# GAME_VMS="16"
# POL_SetupWindow_VMS "$GAME_VMS"
 
 
###############
# Go          #
###############
    
POL_SetupWindow_InstallMethod "LOCAL"
    
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"
fi
 
POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
       
POL_Shortcut_Document "$TITLE" "Readme.htm"
 
#######################################
# Create a 'virtual desktop' (window) #
#######################################
  
# Workaround to fix the "No mouse nor keyboard on main menu":
  
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
    
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
  
Set_Desktop "On" "$WIDTH" "$HEIGHT"
  
Set_WineWindowTitle "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Antwoorden

Maandag 9 September 2019 om 11:30
I found a easy way to let the game start ! (working around the gstreamer MPEG1 issue) : rename the file 'EidosMovie.mpg' to 'EidosMovie_OFF.mpg'
Dadu042 Vrijdag 28 Juni\ 2019 om 20:34
Dadu042
Moderator

Warning

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

Bericht

Impossible to install for me. See KNOWN ISSUES.

Differences

@@ -0,0 +1,100 @@
+#!/bin/bash
+# Date : (2019-06-20 23-21)
+# Last revision : See changelog
+# 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
+#
+# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
+# Software based on: DirectX 8.1
+#
+# CHANGELOG
+# [Dadu042] (2019-06-20)
+#   Initial writting.
+#
+# Known issues:
+#   Wine 4.0.1 and 4.11: Installation fail (loop) when creating the game folder ('Eidos Interactive\Beach Life').
+  
+    
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Beach Life"
+PREFIX="beach-life"
+WORKING_WINE_VERSION="3.0.5"
+AUTHOR="Dadu042"
+EDITOR="Eidos Interactive"
+GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
+     
+POL_SetupWindow_Init
+POL_Debug_Init
+    
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+    
+POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_SetArch "x86"
+POL_System_TmpCreate "$TITLE"
+
+Set_OS "winxp"
+
+# Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
+# POL_Call POL_Install_mfc42
+
+# Useless ?
+# POL_Call POL_Install_vcrun2005
+
+###############
+# GPU         #
+###############
+
+# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+# POL_Call POL_Install_VideoDriver
+ 
+# Asking about memory size of graphic card
+# GAME_VMS="16"
+# POL_SetupWindow_VMS "$GAME_VMS"
+
+
+###############
+# Go          #
+###############
+   
+POL_SetupWindow_InstallMethod "LOCAL"
+   
+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"
+fi
+
+POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
+      
+POL_Shortcut_Document "$TITLE" "Readme.htm"
+
+#######################################
+# Create a 'virtual desktop' (window) #
+#######################################
+ 
+# Workaround to fix the "No mouse nor keyboard on main menu":
+ 
+POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
+   
+resolution="$APP_ANSWER"
+WIDTH="$(echo $resolution | cut -d"x" -f1)"
+HEIGHT="$(echo $resolution | cut -d"x" -f2)"
+ 
+Set_Desktop "On" "$WIDTH" "$HEIGHT"
+ 
+Set_WineWindowTitle "$TITLE"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2019-06-20 23-21)
# Last revision : See changelog
# 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
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: DirectX 8.1
#
# CHANGELOG
# [Dadu042] (2019-06-20)
#   Initial writting.
#
# Known issues:
#   Wine 4.0.1 and 4.11: Installation fail (loop) when creating the game folder ('Eidos Interactive\Beach Life').
  
    
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Beach Life"
PREFIX="beach-life"
WORKING_WINE_VERSION="3.0.5"
AUTHOR="Dadu042"
EDITOR="Eidos Interactive"
GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
     
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_SetArch "x86"
POL_System_TmpCreate "$TITLE"

Set_OS "winxp"

# Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
# POL_Call POL_Install_mfc42

# Useless ?
# POL_Call POL_Install_vcrun2005

###############
# GPU         #
###############

# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
# POL_Call POL_Install_VideoDriver
 
# Asking about memory size of graphic card
# GAME_VMS="16"
# POL_SetupWindow_VMS "$GAME_VMS"


###############
# Go          #
###############
   
POL_SetupWindow_InstallMethod "LOCAL"
   
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"
fi

POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
      
POL_Shortcut_Document "$TITLE" "Readme.htm"

#######################################
# Create a 'virtual desktop' (window) #
#######################################
 
# Workaround to fix the "No mouse nor keyboard on main menu":
 
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
   
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
 
Set_Desktop "On" "$WIDTH" "$HEIGHT"
 
Set_WineWindowTitle "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Antwoorden

Dadu042 Donderdag 20 Juni\ 2019 om 22:00
Dadu042
Moderator

Warning

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

Bericht

Script pas encore testé.

Differences

@@ -0,0 +1,99 @@
+#!/bin/bash
+# Date : (2019-06-20 23-21)
+# Last revision : See changelog
+# 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
+#
+# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
+# Software based on: DirectX 8.1
+#
+# CHANGELOG
+# [Dadu042] (2019-06-20)
+#   Initial writting.
+#
+# Known issues:
+#   None... yet
+  
+    
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Beach Life"
+PREFIX="beach-life"
+WORKING_WINE_VERSION="4.0.1"
+AUTHOR="Dadu042"
+EDITOR="Eidos Interactive"
+GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
+     
+POL_SetupWindow_Init
+POL_Debug_Init
+    
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+    
+POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_SetArch "x86"
+POL_System_TmpCreate "$TITLE"
+    
+Set_OS "winxp"
+  
+# Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
+POL_Call POL_Install_mfc42
+
+###############
+# GPU         #
+###############
+
+# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+POL_Call POL_Install_VideoDriver
+ 
+# Asking about memory size of graphic card
+GAME_VMS="16"
+POL_SetupWindow_VMS "$GAME_VMS"
+
+
+
+
+###############
+# Go          #
+###############
+   
+POL_SetupWindow_InstallMethod "LOCAL"
+   
+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"
+fi
+   
+POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
+      
+POL_Shortcut_Document "$TITLE" "Readme.htm"
+
+#######################################
+# Create a 'virtual desktop' (window) #
+#######################################
+ 
+# Workaround to fix the "No mouse nor keyboard on main menu":
+ 
+POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
+   
+resolution="$APP_ANSWER"
+WIDTH="$(echo $resolution | cut -d"x" -f1)"
+HEIGHT="$(echo $resolution | cut -d"x" -f2)"
+ 
+Set_Desktop "On" "$WIDTH" "$HEIGHT"
+ 
+Set_WineWindowTitle "$TITLE"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0 

New source code

#!/bin/bash
# Date : (2019-06-20 23-21)
# Last revision : See changelog
# 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
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: DirectX 8.1
#
# CHANGELOG
# [Dadu042] (2019-06-20)
#   Initial writting.
#
# Known issues:
#   None... yet
  
    
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Beach Life"
PREFIX="beach-life"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Eidos Interactive"
GAME_URL="https://en.wikipedia.org/wiki/Beach_Life"
     
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_SetArch "x86"
POL_System_TmpCreate "$TITLE"
    
Set_OS "winxp"
  
# Seems required for the installer (otherwise it can create the folder and loop the window of the pathname target)
POL_Call POL_Install_mfc42

###############
# GPU         #
###############

# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
 
# Asking about memory size of graphic card
GAME_VMS="16"
POL_SetupWindow_VMS "$GAME_VMS"




###############
# Go          #
###############
   
POL_SetupWindow_InstallMethod "LOCAL"
   
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"
fi
   
POL_Shortcut "BeachLife.exe" "$TITLE" "" "Game;StrategyGame;"
      
POL_Shortcut_Document "$TITLE" "Readme.htm"

#######################################
# Create a 'virtual desktop' (window) #
#######################################
 
# Workaround to fix the "No mouse nor keyboard on main menu":
 
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
   
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
 
Set_Desktop "On" "$WIDTH" "$HEIGHT"
 
Set_WineWindowTitle "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0 

Antwoorden

Aangepast door Dadu042