Gameforge Live client

Informations

Creator Wiadmości
YukkuriLord Anonymous

Warning

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

Informations

Platforms:
Downloads: 1952
Wine: 4.21-staging

Feedbacks

Description

You need this client to download the games edited by Gameforge (Wikipedia). Website.

AppDB.winehq.org

Source code

#!/bin/bash
# Date : (2016-09-04)
# Distribution used to test : Xubuntu 20.04 64bits
# Author : YukkuriLord (Sparkylinux 4.3 32 bit pae)
 
# Tests reports: https://appdb.winehq.org/objectManager.php?sClass=application&iId=16223


# TESTED Editions (version at the bottom of the login window): 0.377.0 / Settings -> About: '2.1.13. 0.377.0'.
 
# Middlewares used by this software : Visual C++ 2015 (as of 2019).
 
# CHANGELOG:
# [YukkuriLord] (2016-09-04)
#   Initial writting.
# [Dadu042] (2019-12-09)
#   Localized download links don't work anymore (impossible to refind these), I remake it simple.
#   Wine 1.9.18 -> 4.21.
# [Dadu042] (2020-10-29 12-00). Client: '2.1.13. 0.377.0'
#   Wine 4.21 -> 4.21-staging
#   Disable: POL_Install_gecko (outdated) POL_Install_wininet (should be useless).

# KNOWN ISSUES:
#  Wine x86 4.0.3, 4.0.4, 5.0.2: SparkWebHelper.exe has multiple crashes. Fix: Wine 4.21-staging
#  Wine x86 4.0.3, 4.21: Texts are not displayed in the windows. Fix: Wine 4.21-staging
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
PREFIX="Gameforge"
WINEVERSION="4.21-staging"
TITLE="Gameforge Live"
EDITOR="Gameforge 4D GmbH"
GAME_URL="https://gameforge.com/"
AUTHOR="YukkuriLord"
   
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2599
   
POL_Debug_Init
   
# Presentation
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"
 
############################################
#  Choose architecture: 32 bits or 64 bits #
############################################

# POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~"
# if [ "$APP_ANSWER" == "32 bits" ]; then
#        POL_System_SetArch "x86"
# elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then
#        POL_System_SetArch "amd64"
# fi

POL_System_SetArch "x86"

############################################
#  Create Wine prefix                      #
############################################

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
 
cd "$POL_System_TmpDir"
    
# Configuration
Set_OS "win7"

# (2016, Wine 1.9.18)   https://fr.wikipedia.org/wiki/Multipurpose_Internet_Mail_Extensions
POL_Wine_OverrideDLL "native,builtin" "mailmime"
   
# Dependencies
POL_Call POL_Install_corefonts
 
# POL_Call POL_Install_wininet
# POL_Call POL_Install_gecko
   
# Installation
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until the installation is complete.')" "$TITLE"
 
cd "$HOME"
POL_Wine "$SETUP_EXE" # "/SILENT"
POL_Wine_WaitExit "$TITLE" --allow-kill
   
POL_SetupWindow_VMS "64"
POL_Wine_reboot
   
# Create Shortcut
POL_Shortcut "Gameforge live.exe" "$TITLE" "" "" "Game;"
   
# Cleanup
POL_System_TmpDelete
   
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Thursday 29 October 2020 at 12:18
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

Not tested after login window.

Differences

@@ -1,82 +1,104 @@
 #!/bin/bash
 # Date : (2016-09-04)
-# Distribution used to test : Sparkylinux 4.3 32 bit pae
-# Author : YukkuriLord
-
+# Distribution used to test : Xubuntu 20.04 64bits
+# Author : YukkuriLord (Sparkylinux 4.3 32 bit pae)
+ 
 # Tests reports: https://appdb.winehq.org/objectManager.php?sClass=application&iId=16223
 
-# Middlewares used by this software : Visual C++ 2015.
 
+# TESTED Editions (version at the bottom of the login window): 0.377.0 / Settings -> About: '2.1.13. 0.377.0'.
+ 
+# Middlewares used by this software : Visual C++ 2015 (as of 2019).
+ 
 # CHANGELOG:
 # [YukkuriLord] (2016-09-04)
 #   Initial writting.
 # [Dadu042] (2019-12-09)
 #   Localized download links don't work anymore (impossible to refind these), I remake it simple.
-#   Wine 1.9.18 -> system version.
+#   Wine 1.9.18 -> 4.21.
+# [Dadu042] (2020-10-29 12-00). Client: '2.1.13. 0.377.0'
+#   Wine 4.21 -> 4.21-staging
+#   Disable: POL_Install_gecko (outdated) POL_Install_wininet (should be useless).
 
 # KNOWN ISSUES:
-#  Wine 4.0.3 x86: SparkWebHelper.exe has multiple crashes.
-#  Wine 4.0.3 x86: Texts are not displayed in the windows.
- 
+#  Wine x86 4.0.3, 4.0.4, 5.0.2: SparkWebHelper.exe has multiple crashes. Fix: Wine 4.21-staging
+#  Wine x86 4.0.3, 4.21: Texts are not displayed in the windows. Fix: Wine 4.21-staging
+  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 PREFIX="Gameforge"
-WINEVERSION="4.21"
-POL_System_SetArch "x86"
-TITLE="Gameforge live"
+WINEVERSION="4.21-staging"
+TITLE="Gameforge Live"
 EDITOR="Gameforge 4D GmbH"
 GAME_URL="https://gameforge.com/"
 AUTHOR="YukkuriLord"
-  
+   
 #Initialization
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2599
-  
+   
 POL_Debug_Init
-  
+   
 # Presentation
 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"
+ 
+############################################
+#  Choose architecture: 32 bits or 64 bits #
+############################################
+
+# POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~"
+# if [ "$APP_ANSWER" == "32 bits" ]; then
+#	POL_System_SetArch "x86"
+# elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then
+#	POL_System_SetArch "amd64"
+# fi
+
+POL_System_SetArch "x86"
+
+############################################
+#  Create Wine prefix                      #
+############################################
 
-# Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
 SETUP_EXE="$APP_ANSWER"
-
+ 
 cd "$POL_System_TmpDir"
-   
+    
 # Configuration
 Set_OS "win7"
-  
+
+# (2016, Wine 1.9.18)   https://fr.wikipedia.org/wiki/Multipurpose_Internet_Mail_Extensions
 POL_Wine_OverrideDLL "native,builtin" "mailmime"
-  
+   
 # Dependencies
 POL_Call POL_Install_corefonts
-
-POL_Call POL_Install_wininet
-POL_Call POL_Install_gecko
-  
+ 
+# POL_Call POL_Install_wininet
+# POL_Call POL_Install_gecko
+   
 # Installation
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until the installation is complete.')" "$TITLE"
-
+ 
 cd "$HOME"
 POL_Wine "$SETUP_EXE" # "/SILENT"
 POL_Wine_WaitExit "$TITLE" --allow-kill
-  
+   
 POL_SetupWindow_VMS "64"
 POL_Wine_reboot
-  
+   
 # Create Shortcut
 POL_Shortcut "Gameforge live.exe" "$TITLE" "" "" "Game;"
-  
+   
 # Cleanup
 POL_System_TmpDelete
-  
+   
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-09-04)
# Distribution used to test : Xubuntu 20.04 64bits
# Author : YukkuriLord (Sparkylinux 4.3 32 bit pae)
 
# Tests reports: https://appdb.winehq.org/objectManager.php?sClass=application&iId=16223


# TESTED Editions (version at the bottom of the login window): 0.377.0 / Settings -> About: '2.1.13. 0.377.0'.
 
# Middlewares used by this software : Visual C++ 2015 (as of 2019).
 
# CHANGELOG:
# [YukkuriLord] (2016-09-04)
#   Initial writting.
# [Dadu042] (2019-12-09)
#   Localized download links don't work anymore (impossible to refind these), I remake it simple.
#   Wine 1.9.18 -> 4.21.
# [Dadu042] (2020-10-29 12-00). Client: '2.1.13. 0.377.0'
#   Wine 4.21 -> 4.21-staging
#   Disable: POL_Install_gecko (outdated) POL_Install_wininet (should be useless).

# KNOWN ISSUES:
#  Wine x86 4.0.3, 4.0.4, 5.0.2: SparkWebHelper.exe has multiple crashes. Fix: Wine 4.21-staging
#  Wine x86 4.0.3, 4.21: Texts are not displayed in the windows. Fix: Wine 4.21-staging
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
PREFIX="Gameforge"
WINEVERSION="4.21-staging"
TITLE="Gameforge Live"
EDITOR="Gameforge 4D GmbH"
GAME_URL="https://gameforge.com/"
AUTHOR="YukkuriLord"
   
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2599
   
POL_Debug_Init
   
# Presentation
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"
 
############################################
#  Choose architecture: 32 bits or 64 bits #
############################################

# POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~"
# if [ "$APP_ANSWER" == "32 bits" ]; then
#        POL_System_SetArch "x86"
# elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then
#        POL_System_SetArch "amd64"
# fi

POL_System_SetArch "x86"

############################################
#  Create Wine prefix                      #
############################################

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
 
cd "$POL_System_TmpDir"
    
# Configuration
Set_OS "win7"

# (2016, Wine 1.9.18)   https://fr.wikipedia.org/wiki/Multipurpose_Internet_Mail_Extensions
POL_Wine_OverrideDLL "native,builtin" "mailmime"
   
# Dependencies
POL_Call POL_Install_corefonts
 
# POL_Call POL_Install_wininet
# POL_Call POL_Install_gecko
   
# Installation
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until the installation is complete.')" "$TITLE"
 
cd "$HOME"
POL_Wine "$SETUP_EXE" # "/SILENT"
POL_Wine_WaitExit "$TITLE" --allow-kill
   
POL_SetupWindow_VMS "64"
POL_Wine_reboot
   
# Create Shortcut
POL_Shortcut "Gameforge live.exe" "$TITLE" "" "" "Game;"
   
# Cleanup
POL_System_TmpDelete
   
POL_SetupWindow_Close
exit 0

Odpowiedzi

Edytowane przez Dadu042

Tetris Friday 1 May 2020 at 23:59
Tetris Anonymous

Wiadmości

Hello, I'm a noob in Linux. I want to install the Gameforge Client on Raspbian with playonlinux and wine. At the Installation of the Gameforgelive.exe I got these errors.

 

Error in POL_Wine

Wine seems to be broken.

 

If your Program runs forward, than ignore this message.

 

Alle Programs are up to date. I cannot find the POL_Wine Log. Do you have a suggestion?

Odpowiedzi

Saturday 2 May 2020 at 10:20
Make a post in the forum with logs attached : http://wiki.playonlinux.com/index.php/How_to_Post_in_the_Forums
Dadu042 Sunday 8 December 2019 at 21:36
Dadu042
Moderator

Warning

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

Wiadmości

Updated but still not working (see changelog).
 

Differences

@@ -3,60 +3,80 @@
 # Distribution used to test : Sparkylinux 4.3 32 bit pae
 # Author : YukkuriLord
 
+# Tests reports: https://appdb.winehq.org/objectManager.php?sClass=application&iId=16223
+
+# Middlewares used by this software : Visual C++ 2015.
+
+# CHANGELOG:
+# [YukkuriLord] (2016-09-04)
+#   Initial writting.
+# [Dadu042] (2019-12-09)
+#   Localized download links don't work anymore (impossible to refind these), I remake it simple.
+#   Wine 1.9.18 -> system version.
+
+# KNOWN ISSUES:
+#  Wine 4.0.3 x86: SparkWebHelper.exe has multiple crashes.
+#  Wine 4.0.3 x86: Texts are not displayed in the windows.
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 PREFIX="Gameforge"
-WINEVERSION="1.9.18"
+WINEVERSION="4.21"
 POL_System_SetArch "x86"
 TITLE="Gameforge live"
-EDITOR="GGameforge 4D GmbH?."
-GAME_URL="https://gameforge.com/en_GB/games"
+EDITOR="Gameforge 4D GmbH"
+GAME_URL="https://gameforge.com/"
 AUTHOR="YukkuriLord"
- 
+  
 #Initialization
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2599
- 
+  
 POL_Debug_Init
- 
+  
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your language')" "$TITLE" "English (United States)~English (United Kingdom)~Deutsch~Français" "~"
-CLIENT_NAME="GameforgeLiveSetup-"$APP_ANSWER".exe"
-DOWNLOAD_BASE="http://dlcl.gfsrv.net/gfl/GameforgeLiveSetup.exe"
-POL_System_TmpCreate "$PREFIX"
- 
-cd "$POL_System_TmpDir"
-POL_Download "$DOWNLOAD_BASE$CLIENT_NAME"
- 
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
+POL_System_TmpCreate "$PREFIX"
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+SETUP_EXE="$APP_ANSWER"
+
+cd "$POL_System_TmpDir"
+   
 # Configuration
 Set_OS "win7"
- 
+  
 POL_Wine_OverrideDLL "native,builtin" "mailmime"
- 
+  
 # Dependencies
 POL_Call POL_Install_corefonts
- 
+
+POL_Call POL_Install_wininet
+POL_Call POL_Install_gecko
+  
 # Installation
-POL_SetupWindow_message "$(eval_gettext 'NOTICE: Don't close $TITLE until the installation is complete $TITLE')" "$TITLE"
- 
-POL_Wine "$POL_System_TmpDir/$CLIENT_NAME"
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until the installation is complete.')" "$TITLE"
+
+cd "$HOME"
+POL_Wine "$SETUP_EXE" # "/SILENT"
 POL_Wine_WaitExit "$TITLE" --allow-kill
- 
+  
 POL_SetupWindow_VMS "64"
 POL_Wine_reboot
- 
+  
 # Create Shortcut
-POL_Shortcut "Gameforge live.exe" "$TITLE"
- 
+POL_Shortcut "Gameforge live.exe" "$TITLE" "" "" "Game;"
+  
 # Cleanup
 POL_System_TmpDelete
- 
+  
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-09-04)
# Distribution used to test : Sparkylinux 4.3 32 bit pae
# Author : YukkuriLord

# Tests reports: https://appdb.winehq.org/objectManager.php?sClass=application&iId=16223

# Middlewares used by this software : Visual C++ 2015.

# CHANGELOG:
# [YukkuriLord] (2016-09-04)
#   Initial writting.
# [Dadu042] (2019-12-09)
#   Localized download links don't work anymore (impossible to refind these), I remake it simple.
#   Wine 1.9.18 -> system version.

# KNOWN ISSUES:
#  Wine 4.0.3 x86: SparkWebHelper.exe has multiple crashes.
#  Wine 4.0.3 x86: Texts are not displayed in the windows.
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Gameforge"
WINEVERSION="4.21"
POL_System_SetArch "x86"
TITLE="Gameforge live"
EDITOR="Gameforge 4D GmbH"
GAME_URL="https://gameforge.com/"
AUTHOR="YukkuriLord"
  
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2599
  
POL_Debug_Init
  
# Presentation
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"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"

cd "$POL_System_TmpDir"
   
# Configuration
Set_OS "win7"
  
POL_Wine_OverrideDLL "native,builtin" "mailmime"
  
# Dependencies
POL_Call POL_Install_corefonts

POL_Call POL_Install_wininet
POL_Call POL_Install_gecko
  
# Installation
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Do not close $TITLE until the installation is complete.')" "$TITLE"

cd "$HOME"
POL_Wine "$SETUP_EXE" # "/SILENT"
POL_Wine_WaitExit "$TITLE" --allow-kill
  
POL_SetupWindow_VMS "64"
POL_Wine_reboot
  
# Create Shortcut
POL_Shortcut "Gameforge live.exe" "$TITLE" "" "" "Game;"
  
# Cleanup
POL_System_TmpDelete
  
POL_SetupWindow_Close
exit 0

Odpowiedzi

Dadu042 Friday 2 August 2019 at 21:07
Dadu042
Moderator

Wiadmości

The download URL is dead.

Odpowiedzi

Sunday 8 December 2019 at 20:40
It's working now.
YukkuriLord Sunday 4 September 2016 at 20:27
YukkuriLord Anonymous

Warning

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

Differences

@@ -0,0 +1,62 @@
+#!/bin/bash
+# Date : (2016-09-04)
+# Distribution used to test : Sparkylinux 4.3 32 bit pae
+# Author : YukkuriLord
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="Gameforge"
+WINEVERSION="1.9.18"
+POL_System_SetArch "x86"
+TITLE="Gameforge live"
+EDITOR="GGameforge 4D GmbH?."
+GAME_URL="https://gameforge.com/en_GB/games"
+AUTHOR="YukkuriLord"
+ 
+#Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2599
+ 
+POL_Debug_Init
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your language')" "$TITLE" "English (United States)~English (United Kingdom)~Deutsch~Français" "~"
+CLIENT_NAME="GameforgeLiveSetup-"$APP_ANSWER".exe"
+DOWNLOAD_BASE="http://dlcl.gfsrv.net/gfl/GameforgeLiveSetup.exe"
+POL_System_TmpCreate "$PREFIX"
+ 
+cd "$POL_System_TmpDir"
+POL_Download "$DOWNLOAD_BASE$CLIENT_NAME"
+ 
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+# Configuration
+Set_OS "win7"
+ 
+POL_Wine_OverrideDLL "native,builtin" "mailmime"
+ 
+# Dependencies
+POL_Call POL_Install_corefonts
+ 
+# Installation
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: Don't close $TITLE until the installation is complete $TITLE')" "$TITLE"
+ 
+POL_Wine "$POL_System_TmpDir/$CLIENT_NAME"
+POL_Wine_WaitExit "$TITLE" --allow-kill
+ 
+POL_SetupWindow_VMS "64"
+POL_Wine_reboot
+ 
+# Create Shortcut
+POL_Shortcut "Gameforge live.exe" "$TITLE"
+ 
+# Cleanup
+POL_System_TmpDelete
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-09-04)
# Distribution used to test : Sparkylinux 4.3 32 bit pae
# Author : YukkuriLord

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Gameforge"
WINEVERSION="1.9.18"
POL_System_SetArch "x86"
TITLE="Gameforge live"
EDITOR="GGameforge 4D GmbH?."
GAME_URL="https://gameforge.com/en_GB/games"
AUTHOR="YukkuriLord"
 
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2599
 
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_SetupWindow_menu_list "$(eval_gettext 'Please choose your language')" "$TITLE" "English (United States)~English (United Kingdom)~Deutsch~Français" "~"
CLIENT_NAME="GameforgeLiveSetup-"$APP_ANSWER".exe"
DOWNLOAD_BASE="http://dlcl.gfsrv.net/gfl/GameforgeLiveSetup.exe"
POL_System_TmpCreate "$PREFIX"
 
cd "$POL_System_TmpDir"
POL_Download "$DOWNLOAD_BASE$CLIENT_NAME"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Configuration
Set_OS "win7"
 
POL_Wine_OverrideDLL "native,builtin" "mailmime"
 
# Dependencies
POL_Call POL_Install_corefonts
 
# Installation
POL_SetupWindow_message "$(eval_gettext 'NOTICE: Don't close $TITLE until the installation is complete $TITLE')" "$TITLE"
 
POL_Wine "$POL_System_TmpDir/$CLIENT_NAME"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
POL_SetupWindow_VMS "64"
POL_Wine_reboot
 
# Create Shortcut
POL_Shortcut "Gameforge live.exe" "$TITLE"
 
# Cleanup
POL_System_TmpDelete
 
POL_SetupWindow_Close
exit 0

Odpowiedzi

Friday 2 August 2019 at 17:59
Approved.