You are here    Supported software    Empire Earth nl sv ru pl es de fr

Empire Earth

Informations

Creator Message
petr97 Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

This is script for installing a game "Empire Earth".

Source code

				

Contributions

Filters:

Contribute
Member Message
petr97 Tuesday 3 April 2018 at 18:22
petr97 Anonymous

Warning

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

Message

And remain two questions: how enable CSMT and where i can hosting NOCD.

Differences

@@ -0,0 +1,44 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2018-04-13 16-00)
+# UPDATED: Wine version used : 2.12-staging
+# Distribution used to test : ALT Linux 8
+# Author : Petr Akhlamov
+# Only For : http://www.playonlinux.com
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Empire Earth"
+PREFIX="EE"
+WINEVERSION_VERSION="2.6-staging"
+
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "Empire Earth" "Sierra"
+POL_Debug_Init
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_SetArch "x86"
+Set_OS "win7"
+
+POL_Call POL_Install_directmusic
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+SetupIs="$APP_ANSWER"
+
+POL_Wine "$SetupIs"
+POL_Wine_WaitExit "$TITLE"
+
+POL_Wine_OverrideDLL "native" "msvcrt.dll"
+
+cd "$WINEPREFIX/drive_c/Sierra/Empire Earth"
+POL_Download //where i can hosted nocd?
+unzip -o empireearth-nocd-1_0-ENG.zip
+rm -f empireearth-nocd-1_0-ENG.zip
+
+POL_Shortcut "Empire Earth.exe" "$TITLE" "" "-nostartup"
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully!')" "$TITLE"
+POL_SetupWindow_Close
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2018-04-13 16-00)
# UPDATED: Wine version used : 2.12-staging
# Distribution used to test : ALT Linux 8
# Author : Petr Akhlamov
# Only For : http://www.playonlinux.com

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Empire Earth"
PREFIX="EE"
WINEVERSION_VERSION="2.6-staging"

POL_SetupWindow_Init
POL_SetupWindow_presentation "Empire Earth" "Sierra"
POL_Debug_Init

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_SetArch "x86"
Set_OS "win7"

POL_Call POL_Install_directmusic

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

POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"

POL_Wine_OverrideDLL "native" "msvcrt.dll"

cd "$WINEPREFIX/drive_c/Sierra/Empire Earth"
POL_Download //where i can hosted nocd?
unzip -o empireearth-nocd-1_0-ENG.zip
rm -f empireearth-nocd-1_0-ENG.zip

POL_Shortcut "Empire Earth.exe" "$TITLE" "" "-nostartup"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully!')" "$TITLE"
POL_SetupWindow_Close
POL_SetupWindow_Close
exit

Replies

petr97 Tuesday 3 April 2018 at 16:46
petr97 Anonymous

Warning

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

Message

I tryed to make script, but he doesn't work.
About parameters:

POL_Wine_OverrideDLL "native" "msvcrt" -ok
POL_Call POL_Install_directmusic -ok

And how enable CSMT? It enabled or via GUI, or via regedit. How with using POL change this parameter?

For CSMT need create key 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Wine\DllRedirects]

"wined3d"="wined3d-csmt.dll"

but how?

Differences

@@ -0,0 +1,35 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2018-04-13 16-00)
+# UPDATED: Wine version used : 2.12-staging
+# Distribution used to test : ALT Linux 8
+# Author : Petr Akhlamov
+# Only For : http://www.playonlinux.com
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Empire Earth"
+PREFIX="EE"
+WINEVERSION_VERSION="2.6-staging"
+
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "Empire Earth" "Sierra"
+POL_Debug_Init
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_SetArch "x86"
+Set_OS "win7"
+
+POL_Wine_OverrideDLL "native" "msvcrt"
+POL_Call POL_Install_directmusic
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+SetupIs="$APP_ANSWER"
+
+POL_Shortcut "Empire Earth.exe" "$TITLE" "" "-nostartup"
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully!')" "$TITLE"
+POL_SetupWindow_Close
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2018-04-13 16-00)
# UPDATED: Wine version used : 2.12-staging
# Distribution used to test : ALT Linux 8
# Author : Petr Akhlamov
# Only For : http://www.playonlinux.com

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Empire Earth"
PREFIX="EE"
WINEVERSION_VERSION="2.6-staging"

POL_SetupWindow_Init
POL_SetupWindow_presentation "Empire Earth" "Sierra"
POL_Debug_Init

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_SetArch "x86"
Set_OS "win7"

POL_Wine_OverrideDLL "native" "msvcrt"
POL_Call POL_Install_directmusic

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

POL_Shortcut "Empire Earth.exe" "$TITLE" "" "-nostartup"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully!')" "$TITLE"
POL_SetupWindow_Close
POL_SetupWindow_Close
exit

Replies

petr97 Tuesday 3 April 2018 at 14:13
petr97 Anonymous

Message

For this game needed:

-wine-staging 2.6

-using native msvcrt.dll

-install directmusic

-enable CSMT

Game runs, sound works, you can play in singleplayer, but campaigns doesn't works.

Replies