You are here    Supported software    Entropia Universe nl sv ru pl es de fr

Entropia Universe

Informations

Creator Message
Gurran Anonymous

Warning

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

Informations

Platforms:
Downloads: 3396
Wine: System

Feedbacks

Description

Entropia Universe is an advanced 3D online virtual environment with a developed planetary system and one universal Real Cash Economy system. Each planet offers a wide variety of exciting entertainment. You can travel between the planets through space and socialize with people from all over the world.

It does not cost anything to join and there are no subscription fees. The Entropia Universe economy is built on an advanced micro-payment system, giving you as a participant a great freedom-of-choice.

 

Note: This is untested and may not work. This was put together using the WineHQ AppDB & Bugzilla.

Source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-30
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="entropiauniverse"
GAME_URL="http://www.entropiauniverse.com/"

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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "EntropiaTemp"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi

POL_Wine_SelectPrefix "EntropiaUniverse"
POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
hoek Saturday 12 August 2017 at 12:02
hoek

Warning

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

Message

Wine update.

Differences

@@ -1,58 +1,65 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2017-07-09
+# Wine version used : 2.13-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
+# Email : hoek@protonmail.com
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+# Always up to date: https://github.com/h0ek/POL_EntropiaUniverse
+     
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
+WINEVERSION="2.13-staging"
+
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+     
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+     
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+     
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
-    INSTALLER="$APP_ANSWER"
+	POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+	INSTALLER="$APP_ANSWER"
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
-    cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
-    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
+	cd "$POL_System_TmpDir"
+	POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
+	INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+     
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+     
 POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_vcrun2012"
 POL_Call "POL_Install_d3dx9"
-POL_Call "POL_Install_vcrun2005"
-
+     
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+     
 POL_System_TmpDelete
-
+     
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "Y"
+POL_Wine_X11Drv "Decorated" "Y"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+     
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2017-07-09
# Wine version used : 2.13-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Email : hoek@protonmail.com
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
# Always up to date: https://github.com/h0ek/POL_EntropiaUniverse
     
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

WINEVERSION="2.13-staging"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
     
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
     
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
     
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
        INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
     
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
     
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
     
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
     
POL_System_TmpDelete
     
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "Y"
POL_Wine_X11Drv "Decorated" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
     
POL_SetupWindow_Close
exit

Replies

hoek Saturday 12 August 2017 at 12:01
hoek

Message

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2017-07-09
# Wine version used : 2.13-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Email : hoek@protonmail.com
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
# Always up to date: https://github.com/h0ek/POL_EntropiaUniverse
     
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
WINEVERSION="2.13-staging"
 
TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
     
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
     
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
     
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
cd "$POL_System_TmpDir"
POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
     
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
     
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
     
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
     
POL_System_TmpDelete
     
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "Y"
POL_Wine_X11Drv "Decorated" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
     
POL_SetupWindow_Close
exit

Replies

hoek Saturday 9 July 2016 at 21:49
hoek

Warning

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

Differences

@@ -1,31 +1,34 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2016-07-09
+# Wine version used : 1.9.13-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
+# Email : hoek@protonmail.com
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+     
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
+WINEVERSION="1.9.13-staging"
+
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+     
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+     
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+     
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -33,26 +36,29 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+     
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+     
 POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_vcrun2012"
 POL_Call "POL_Install_d3dx9"
-POL_Call "POL_Install_vcrun2005"
-
+     
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+     
 POL_System_TmpDelete
-
+     
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "Y"
+POL_Wine_X11Drv "Decorated" "Y"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+     
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-07-09
# Wine version used : 1.9.13-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Email : hoek@protonmail.com
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
     
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

WINEVERSION="1.9.13-staging"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
     
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
     
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
     
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
     
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
     
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
     
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
     
POL_System_TmpDelete
     
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "Y"
POL_Wine_X11Drv "Decorated" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
     
POL_SetupWindow_Close
exit

Replies

Anonymous
Thursday 14 July 2016 at 23:01 -
Thank you! The 'Stable' version of the script provided by PlayOnLinux is not working for me. Found this after a few G00gle searches and multiple workarounds. Thank you, and keep up the great work Hoek! For any reason if your wondering what my issue was: After a successful installation of the game the ClientLoader would update and then lose the location of "/bin32/ClientLoader.exe" even though it never moved directories.
Anonymous
Wednesday 16 November 2016 at 12:58 -
How do I even run this? Clicking 'Try this update" does nothing
hoek Sunday 27 March 2016 at 19:54
hoek

Warning

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

Differences

@@ -1,31 +1,31 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2016-03-27
+# Wine version used : 1.9.6-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+    
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+   
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+    
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+    
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+    
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -33,26 +33,29 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+    
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+    
 POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_vcrun2012"
 POL_Call "POL_Install_d3dx9"
-POL_Call "POL_Install_vcrun2005"
-
+    
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+    
 POL_System_TmpDelete
-
+    
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "Y"
+POL_Wine_X11Drv "Decorated" "Y"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+    
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-03-27
# Wine version used : 1.9.6-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
    
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
   
TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
    
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
    
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
    
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6421020c1937e7468f1cbcddd101cd19"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
    
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
    
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
    
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
    
POL_System_TmpDelete
    
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "Y"
POL_Wine_X11Drv "Decorated" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
    
POL_SetupWindow_Close
exit

Replies

hoek Sunday 27 March 2016 at 13:31
hoek

Warning

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

Differences

@@ -1,31 +1,31 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2016-03-27
+# Wine version used : 1.9.6-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+    
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+   
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+    
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+    
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+    
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -33,26 +33,30 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+    
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+    
 POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_vcrun2012"
 POL_Call "POL_Install_d3dx9"
-POL_Call "POL_Install_vcrun2005"
-
+POL_Call "POL_Install_dotnet35sp1"
+    
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+    
 POL_System_TmpDelete
-
+    
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "Y"
+POL_Wine_X11Drv "Decorated" "Y"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+    
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-03-27
# Wine version used : 1.9.6-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
    
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
   
TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
    
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
    
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
    
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
    
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
    
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_dotnet35sp1"
    
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
    
POL_System_TmpDelete
    
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "Y"
POL_Wine_X11Drv "Decorated" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
    
POL_SetupWindow_Close
exit

Replies

hoek Sunday 27 March 2016 at 13:19
hoek

Warning

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

Differences

@@ -1,31 +1,31 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2016-03-27
+# Wine version used : 1.9.6-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+   
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+  
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+   
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+   
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+   
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -33,26 +33,30 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+   
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+   
 POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_vcrun2012"
 POL_Call "POL_Install_d3dx9"
-POL_Call "POL_Install_vcrun2005"
-
+POL_Call "POL_Install_dotnet45"
+   
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+   
 POL_System_TmpDelete
-
+   
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "N"
+POL_Wine_X11Drv "Decorated" "N"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+   
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-03-27
# Wine version used : 1.9.6-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
   
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
   
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
   
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
   
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
   
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
   
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_dotnet45"
   
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
   
POL_System_TmpDelete
   
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "N"
POL_Wine_X11Drv "Decorated" "N"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
   
POL_SetupWindow_Close
exit

Replies

hoek Sunday 27 March 2016 at 12:49
hoek

Warning

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

Differences

@@ -1,31 +1,31 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2016-03-27
+# Wine version used : 1.9.6-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+  
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+  
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+  
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+  
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -33,26 +33,31 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+  
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+  
 POL_Call "POL_Install_corefonts"
-POL_Call "POL_Install_d3dx9"
 POL_Call "POL_Install_vcrun2005"
-
+POL_Call "POL_Install_vcrun2012"
+POL_Call "POL_Install_d3dx9"
+POL_Call "POL_Install_dotnet20sp2"
+  
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+  
 POL_System_TmpDelete
-
+  
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "N"
+POL_Wine_X11Drv "Decorated" "N"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-03-27
# Wine version used : 1.9.6-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
  
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
  
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
  
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
  
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2005"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_dotnet20sp2"
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
  
POL_System_TmpDelete
  
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "N"
POL_Wine_X11Drv "Decorated" "N"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Replies

hoek Saturday 12 March 2016 at 11:51
hoek

Warning

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

Differences

@@ -1,31 +1,31 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-30
-# Wine version used : 1.7.54-staging
-# Distribution used to test : Linux Mint 17.2 Rafaela
+# Last revision : 2016-03-12
+# Wine version used : 1.9.5-staging
+# Distribution used to test : Ubuntu, Mint, Xubuntu
 # Author : Hoek
 # Licence : GPLv3
-# PlayOnLinux:  playonlinux-4.2.9
-
-[ "$PLAYONLINUX" = "" ] && exit 
+# PlayOnLinux:  playonlinux-4.2.10
+ 
+[ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Entropia Universe"
 AUTHOR="Hoek"
 PUBLISHER="Mindark PE AB"
-PREFIX="entropiauniverse"
+PREFIX="EntropiaUniverse"
 GAME_URL="http://www.entropiauniverse.com/"
-
+ 
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_System_TmpCreate "EntropiaTemp"
-
+POL_System_TmpCreate "$PREFIX"
+ 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+ 
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
@@ -33,26 +33,30 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
-
-POL_Wine_SelectPrefix "EntropiaUniverse"
-POL_Wine_PrefixCreate
-
+ 
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
 POL_Call "POL_Install_corefonts"
-POL_Call "POL_Install_d3dx9"
 POL_Call "POL_Install_vcrun2005"
-
+POL_Call "POL_Install_vcrun2012"
+POL_Call "POL_Install_d3dx9"
+ 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+ 
 POL_System_TmpDelete
-
+ 
 Set_OS "win7"
 POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_X11Drv "Managed" "N"
+POL_Wine_X11Drv "Decorated" "N"
 POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
-POL_Shortcut "ClientLoader.exe" "Entropia Universe"
-
+POL_Shortcut "ClientLoader.exe" "$TITLE"
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-03-12
# Wine version used : 1.9.5-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"
 
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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi
 
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2005"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "N"
POL_Wine_X11Drv "Decorated" "N"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

petch Friday 4 December 2015 at 23:19
petch
Developer

Information

This update has been approved by the team.

Message

Add POL_SetupWindow_SetID

Differences

@@ -19,6 +19,7 @@
 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 2258
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
 POL_System_TmpCreate "EntropiaTemp"

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-30
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="entropiauniverse"
GAME_URL="http://www.entropiauniverse.com/"

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 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "EntropiaTemp"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi

POL_Wine_SelectPrefix "EntropiaUniverse"
POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Replies

petch Monday 30 November 2015 at 23:36
petch
Developer

Warning

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

Message

Update download hash

Differences

@@ -32,7 +32,7 @@
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
-    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
     INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
 

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-30
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="entropiauniverse"
GAME_URL="http://www.entropiauniverse.com/"

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_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "EntropiaTemp"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "665b9b4d959ecde0b3f200a791efc5fa"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi

POL_Wine_SelectPrefix "EntropiaUniverse"
POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Replies

petch Monday 30 November 2015 at 23:31
petch
Developer

Warning

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

Message

Start with user interactions, create virtual drive as late as possible (recommended best practices)

Differences

@@ -20,7 +20,7 @@
 
 POL_SetupWindow_Init
 POL_Debug_Init
-POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
 POL_System_TmpCreate "EntropiaTemp"
 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-30
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="entropiauniverse"
GAME_URL="http://www.entropiauniverse.com/"

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_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "EntropiaTemp"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi

POL_Wine_SelectPrefix "EntropiaUniverse"
POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Replies

Edited by petch

petch Monday 30 November 2015 at 23:23
petch
Developer

Warning

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

Message

Oops, forgot this one:

- Use standard message to avoid extra translation team work (http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_10:_Script_Translation)

Differences

@@ -34,13 +34,13 @@
 
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
     INSTALLER="$APP_ANSWER"
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
     cd "$POL_System_TmpDir"
     POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
-    INSTALLER="entropia_universe_setup.exe"
+    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
 fi
 
 POL_Wine_WaitBefore "$TITLE"

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-30
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="entropiauniverse"
GAME_URL="http://www.entropiauniverse.com/"

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_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"
POL_System_TmpCreate "EntropiaTemp"
POL_Wine_SelectPrefix "EntropiaUniverse"

POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Replies

hoek Monday 30 November 2015 at 23:08
hoek

Warning

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

Message

link to left.jpg -> http://oi66.tinypic.com/2rc7sw0.jpg

link to top.jpg -> http://oi63.tinypic.com/16m2b7k.jpg

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : 2015-11-09
-# Last revision : 2015-11-29
+# Last revision : 2015-11-30
 # Wine version used : 1.7.54-staging
 # Distribution used to test : Linux Mint 17.2 Rafaela
 # Author : Hoek
@@ -13,8 +13,11 @@
 TITLE="Entropia Universe"
 AUTOR="Hoek"
 PUBLISHER="Mindark PE AB"
+PREFIX="entropiauniverse"
 GAME_URL="http://www.entropiauniverse.com/"
 
+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_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-30
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="entropiauniverse"
GAME_URL="http://www.entropiauniverse.com/"

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_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"
POL_System_TmpCreate "EntropiaTemp"
POL_Wine_SelectPrefix "EntropiaUniverse"

POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    INSTALLER="entropia_universe_setup.exe"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Replies

Monday 30 November 2015 at 23:27 -
Validated

Edited by petch

hoek Sunday 29 November 2015 at 11:39
hoek

Warning

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

Message

Update

Differences

@@ -0,0 +1,54 @@
+#!/bin/bash
+# Date : 2015-11-09
+# Last revision : 2015-11-29
+# Wine version used : 1.7.54-staging
+# Distribution used to test : Linux Mint 17.2 Rafaela
+# Author : Hoek
+# Licence : GPLv3
+# PlayOnLinux:  playonlinux-4.2.9
+
+[ "$PLAYONLINUX" = "" ] && exit 
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Entropia Universe"
+AUTOR="Hoek"
+PUBLISHER="Mindark PE AB"
+GAME_URL="http://www.entropiauniverse.com/"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"
+POL_System_TmpCreate "EntropiaTemp"
+POL_Wine_SelectPrefix "EntropiaUniverse"
+
+POL_Wine_PrefixCreate
+
+POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_d3dx9"
+POL_Call "POL_Install_vcrun2005"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
+    INSTALLER="entropia_universe_setup.exe"
+fi
+
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+
+Set_OS "win7"
+POL_Wine_X11Drv "GrabFullScreen" "Y"
+POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
+POL_Shortcut "ClientLoader.exe" "Entropia Universe"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2015-11-09
# Last revision : 2015-11-29
# Wine version used : 1.7.54-staging
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.9

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTOR="Hoek"
PUBLISHER="Mindark PE AB"
GAME_URL="http://www.entropiauniverse.com/"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"
POL_System_TmpCreate "EntropiaTemp"
POL_Wine_SelectPrefix "EntropiaUniverse"

POL_Wine_PrefixCreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    INSTALLER="entropia_universe_setup.exe"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_Close
exit

Replies

Sunday 29 November 2015 at 11:43 -
How can I use POL_GetSetupImages? How to upload images to PlayOnLinuxResources? Where I can find updated script tutorials? I used this on Wiki and you found many errors, so where should I check for fresh commands and tips?
Monday 30 November 2015 at 18:44 -
The Wiki should always contain the lastest version of the documentation, that's the point of being updatable. If you find errors report them (or fix them if possible).
About graphic resources, for POL_GetSetupImages or the web server itself, there's currently no automated way to upload them, it requires an FTPS access; So for now upload them somewhere, communicate the URLs, and I (or another moderator) will upload the files where they need to be.
I'm not sure what you mean by PlayOnLinuxResources, or was it related to POL_GetSetupImages?
Anyway, your script lost POL_Debug_Init, but I think I'll fix that small problem on my own and validate the update...
Monday 30 November 2015 at 23:09 -
Thanks! Updated, I also added top and left jpg. Please upload them to ftp.

Edited by petch

hoek Monday 9 November 2015 at 15:24
hoek

Warning

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

Message

Update

Differences

@@ -0,0 +1,58 @@
+#!/bin/bash
+# Date : (2015-11-09)
+# Last revision : (2015-11-09)
+# Distribution used to test : Linux Mint 17.2 Rafaela
+# Author : Hoek
+# Licence : GPLv3
+# PlayOnLinux:  playonlinux-4.2.2
+
+[ "$PLAYONLINUX" = "" ] && exit 
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Entropia Universe"
+AUTOR="Hoek"
+PUBLISHER="Mindark PE AB"
+GAME_URL="http://www.entropiauniverse.com/"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"
+
+POL_System_TmpCreate "EntropiaTemp"
+
+POL_Wine_SelectPrefix "EntropiaUniverse"
+export POL_WINEVERSION="1.7.54-staging"
+
+POL_SetupWindow_prefixcreate
+
+POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_d3dx9"
+POL_Call "POL_Install_vcrun2005"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
+    POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
+    INSTALLER="entropia_universe_setup.exe"
+fi
+
+POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+
+POL_Shortcut "ClientLoader.exe" "Entropia Universe"
+
+POL_SetupWindow_message "Click Next button to finish installation and enjoy Entropia Universe on Linux. Before you run the game, choose it in menu then hit 'Configure', go to 'Wine' tab and hit 'Configure Wine'. Set 'Windows Version' to 'Windows 7' and on 'Graphic' tab check 'Automatically capture the mouse in full-screen windows', go to 'Staging' tab and check 'Enable CSMT'. That's all folks."
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-11-09)
# Last revision : (2015-11-09)
# Distribution used to test : Linux Mint 17.2 Rafaela
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.2

[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTOR="Hoek"
PUBLISHER="Mindark PE AB"
GAME_URL="http://www.entropiauniverse.com/"

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR"

POL_System_TmpCreate "EntropiaTemp"

POL_Wine_SelectPrefix "EntropiaUniverse"
export POL_WINEVERSION="1.7.54-staging"

POL_SetupWindow_prefixcreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
    INSTALLER="entropia_universe_setup.exe"
fi

POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_message "Click Next button to finish installation and enjoy Entropia Universe on Linux. Before you run the game, choose it in menu then hit 'Configure', go to 'Wine' tab and hit 'Configure Wine'. Set 'Windows Version' to 'Windows 7' and on 'Graphic' tab check 'Automatically capture the mouse in full-screen windows', go to 'Staging' tab and check 'Enable CSMT'. That's all folks."

POL_SetupWindow_Close
exit

Replies

Monday 9 November 2015 at 21:43 -
Ok, here's my review:

export POL_WINEVERSION="1.7.54-staging"

POL_SetupWindow_prefixcreate

POL_SetupWindow_prefixcreate has been deprecated for years, use POL_Wine_PrefixCreate now. And I'm not sure setting $POL_WINEVERSION has ever been allowed in scripts.

 

POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"

Visually this message will be immediately replaced by the next POL_SetupWindow_wait so you can remove it altogether

 

POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"

Use POL_Wine_WaitBefore "$TITLE" instead, that will be one less message to translate in 50 languages...

 

POL_SetupWindow_message "Click Next button to finish installation and enjoy Entropia Universe on Linux. Before you run the game, choose it in menu then hit 'Configure', go to 'Wine' tab and hit 'Configure Wine'. Set 'Windows Version' to 'Windows 7' and on 'Graphic' tab check 'Automatically capture the mouse in full-screen windows', go to 'Staging' tab and check 'Enable CSMT'. That's all folks."

You forgot the localization support (eval_gettext) here, however all those instructions can be automated, so the message can be removed too:

Set_OS "win7"

POL_Wine_X11Drv "GrabFullScreen" "Y"

POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'

PlayOnLinux/PlayOnMac 4.2.10 will have POL_Wine_RedirectDLL to simplify the latter, but it's not even out yet, not to mention widespread enough so that feature can be used in scripts). By the way the last time I tried CSMT on my hardware it actually resulted in a slow down (single CPU, already quite asynchronous nVidia proprietary driver, so not much to gain from CSMT); So do you enable it to fix some bugs or as a "performance tweak"?
Tuesday 10 November 2015 at 9:17 -
Wow! Awesome, thanks! This is my first script and I used information from 'Writing a scrip' documentation on Wiki. Is there any updated one? I will make changes soon and submit it again. This is necessary because it provides CSMT which happens to workaround a bug in CE2 while also providing a performance boost.
hoek Monday 9 November 2015 at 15:13
hoek

Warning

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

Message

About game:

Entropia Universe is an advanced 3D online virtual environment with a developed planetary system and one universal Real Cash Economy system. Each planet offers a wide variety of exciting entertainment. You can travel between the planets through space and socialize with people from all over the world.

It does not cost anything to join and there are no subscription fees. The Entropia Universe economy is built on an advanced micro-payment system, giving you as a participant a great freedom-of-choice.

Post installation configuration:

After installation some steps need to be done. Before you run the game, choose it in PlayOnLinux menu then hit 'Configure', go to 'Wine' tab and hit 'Configure Wine'. Set 'Windows Version' to 'Windows 7' and on 'Graphic' tab check 'Automatically capture the mouse in full-screen windows', go to 'Staging' tab and check 'Enable CSMT'.

Game website:

http://www.entropiauniverse.com/

Special thanks:

PkmX

Differences

@@ -0,0 +1,49 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Entropia Universe"
+AUTOR="Hoek"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$AUTOR" "http://hoek.pl/" "Hoek (for Entropia Universe players)"
+
+POL_System_TmpCreate "EntropiaTemp"
+
+POL_Wine_SelectPrefix "EntropiaUniverse"
+export POL_WINEVERSION="1.7.54-staging"
+
+POL_SetupWindow_prefixcreate
+
+POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_d3dx9"
+POL_Call "POL_Install_vcrun2005"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
+    POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
+    INSTALLER="entropia_universe_setup.exe"
+fi
+
+POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+
+POL_Shortcut "ClientLoader.exe" "Entropia Universe"
+
+POL_SetupWindow_message "Click Next button to finish installation and enjoy Entropia Universe on Linux. Before you run the game, choose it in menu then hit 'Configure', go to 'Wine' tab and hit 'Configure Wine'. Set 'Windows Version' to 'Windows 7' and on 'Graphic' tab check 'Automatically capture the mouse in full-screen windows', go to 'Staging' tab and check 'Enable CSMT'. That's all folks."
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTOR="Hoek"

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$AUTOR" "http://hoek.pl/" "Hoek (for Entropia Universe players)"

POL_System_TmpCreate "EntropiaTemp"

POL_Wine_SelectPrefix "EntropiaUniverse"
export POL_WINEVERSION="1.7.54-staging"

POL_SetupWindow_prefixcreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
    INSTALLER="entropia_universe_setup.exe"
fi

POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_message "Click Next button to finish installation and enjoy Entropia Universe on Linux. Before you run the game, choose it in menu then hit 'Configure', go to 'Wine' tab and hit 'Configure Wine'. Set 'Windows Version' to 'Windows 7' and on 'Graphic' tab check 'Automatically capture the mouse in full-screen windows', go to 'Staging' tab and check 'Enable CSMT'. That's all folks."

POL_SetupWindow_Close
exit

Replies

hoek Monday 9 November 2015 at 11:30
hoek

Warning

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

Message

My modification. Works perfect. You can install from already downloaded setup or download through installation.

Require Wine 1.7.54-staging version, Corefonts, d3dx9 and vcrun2005.

Any suggestions?

Differences

@@ -0,0 +1,49 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Entropia Universe"
+AUTOR="Hoek"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$AUTOR" "http://hoek.pl/" "Hoek (for Entropia Universe players)"
+
+POL_System_TmpCreate "EntropiaTemp"
+
+POL_Wine_SelectPrefix "EntropiaUniverse"
+export POL_WINEVERSION="1.7.54-staging"
+
+POL_SetupWindow_prefixcreate
+
+POL_Call "POL_Install_corefonts"
+POL_Call "POL_Install_d3dx9"
+POL_Call "POL_Install_vcrun2005"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
+    POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
+    INSTALLER="entropia_universe_setup.exe"
+fi
+
+POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+
+POL_Shortcut "ClientLoader.exe" "Entropia Universe"
+
+POL_SetupWindow_message "That's all folks. Click Next button to finish installation and enjoy Entropia Universe on Linux."
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTOR="Hoek"

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$AUTOR" "http://hoek.pl/" "Hoek (for Entropia Universe players)"

POL_System_TmpCreate "EntropiaTemp"

POL_Wine_SelectPrefix "EntropiaUniverse"
export POL_WINEVERSION="1.7.54-staging"

POL_SetupWindow_prefixcreate

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_d3dx9"
POL_Call "POL_Install_vcrun2005"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext "Please select the Entropia Universe setup file.")"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "6ec98f0ca11c2f5462d18c909353f440"
    POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
    INSTALLER="entropia_universe_setup.exe"
fi

POL_SetupWindow_wait "$(eval_gettext 'Entropia Universe installation in progress...')"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "ClientLoader.exe" "Entropia Universe"

POL_SetupWindow_message "That's all folks. Click Next button to finish installation and enjoy Entropia Universe on Linux."

POL_SetupWindow_Close
exit

Replies

Gurran Sunday 31 August 2014 at 14:30
Gurran Anonymous

Warning

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

Message

Sorry, first submission. Couldn't find the edit button.

Differences

@@ -0,0 +1,29 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "Entropia Universe" "MindArk PE AB" "http://www.entropiauniverse.com/" "MindArk PE AB" "Entropia"
+POL_Wine_SelectPrefix "Entropia"
+POL_Wine_PrefixCreate "1.6-rc4-d3d_doublebuffer"
+POL_Install_d3dx9
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+POL_System_TmpCreate "Entropia"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "Entropia Universe installer"
+    POL_SetupWindow_wait "Installation in progress." "Entropia Universe installation"
+    POL_Wine start /unix "$APP_ANSWER"
+    POL_Wine_WaitExit "$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe"
+    POL_SetupWindow_wait "Installation in progress." "Entropia Universe installation"
+    POL_Wine start /unix "$POL_System_TmpDir/entropia_universe_setup.exe"
+    POL_Wine_WaitExit "$POL_System_TmpDir/entropia_universe_setup.exe"
+fi
+POL_System_TmpDelete
+POL_Shortcut "ClientLoader.exe" "Entropia Launcher"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_SetupWindow_presentation "Entropia Universe" "MindArk PE AB" "http://www.entropiauniverse.com/" "MindArk PE AB" "Entropia"
POL_Wine_SelectPrefix "Entropia"
POL_Wine_PrefixCreate "1.6-rc4-d3d_doublebuffer"
POL_Install_d3dx9
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
POL_System_TmpCreate "Entropia"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "Entropia Universe installer"
    POL_SetupWindow_wait "Installation in progress." "Entropia Universe installation"
    POL_Wine start /unix "$APP_ANSWER"
    POL_Wine_WaitExit "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe"
    POL_SetupWindow_wait "Installation in progress." "Entropia Universe installation"
    POL_Wine start /unix "$POL_System_TmpDir/entropia_universe_setup.exe"
    POL_Wine_WaitExit "$POL_System_TmpDir/entropia_universe_setup.exe"
fi
POL_System_TmpDelete
POL_Shortcut "ClientLoader.exe" "Entropia Launcher"

POL_SetupWindow_Close
exit

Replies

Sunday 31 August 2014 at 18:55 -
Good job ! You're still missing some essential commands (POL_SetupWindow_presentation, POL_Wine_WaitBefore, ...). When you correct it, we will accept your script
Anonymous
Sunday 31 August 2014 at 19:30 -
I couldn't find Wine_WaitBefore, but I did find the Wine_WaitExit one. Did I get it right this time? Thanks for the help and the complement :-)
Anonymous
Monday 9 March 2015 at 15:59 -
Unfortunatly, 1.6-rc4-d3d is not available on the Mac, and more recent versions don't work. Any chance this will be helped?
Sunday 8 November 2015 at 14:14 -
It does not work for me :( After instalation I have an error that the application PlayOnLinux stopped working.

Edited by Gurran