Star Wars: Empire at War

Informations

Créateur Messages
kukulo Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 7874
Wine: 2.22

Retours d'expérience

Description

RTS, 2006. Wikipedia.

PCGamingWiki, Appdb.winehq.org

Script wrote in 2017 for 'Star Wars Empire at War Gold Pack - gog.com', but it can also install from local file.

Code source

#!/usr/bin/env bash
# Date conv:yy-mm-dd
# Date : (2017-06-17)
# Last revision : see changelog
# Wine version used : -
# Distribution used to test : -
# Author : Kukulo, ImperatorS79, Dadu042
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Kukulo] (2017-06-17)
#   First script.
# [ImperatorS79] (2017-06-19)
#   ?
# [Dadu042] (2019-11-30)
#   Wine 2.10-staging -> 2.22
#   Add shortcut category.
#   Add POL_RequiredVersion 4.0.0
#   Can install patch.
   
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
WINE_VERSION="2.22"
TITLE="Star Wars Empire at War Gold Pack - gog.com"
AUTOR="Kukulo"
GAME_URL="https://en.wikipedia.org/wiki/Star_Wars:_Empire_at_War"
EDITOR="LucasArts"
GAME_VMS="64"
 
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "SWEAWGP"
 
POL_Wine_PrefixCreate "$WINE_VERSION"
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9 

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

POL_SetupWindow_VMS "$GAME_VMS"
 
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
    SETUP_PATH="$APP_ANSWER"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "sweaw.exe" "Star Wars Empire at War" "" "" "Game;"
POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption" "" "" "Game;"

################
# Patch update #
################
   
POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ?\n (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
     
if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mardi 31 Décembre 2019 à 10:41
Dadu042

Information

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

Differences

@@ -17,6 +17,7 @@
 #   Wine 2.10-staging -> 2.22
 #   Add shortcut category.
 #   Add POL_RequiredVersion 4.0.0
+#   Can install patch.
    
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
@@ -63,6 +64,19 @@
  
 POL_Shortcut "sweaw.exe" "Star Wars Empire at War" "" "" "Game;"
 POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption" "" "" "Game;"
- 
+
+################
+# Patch update #
+################
+   
+POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ?\n (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
+     
+if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the file to run')" "$TITLE"
+        PATCH_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$PATCH_EXE"
+        POL_Wine_WaitExit "$PATCH_EXE"
+fi
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env bash
# Date conv:yy-mm-dd
# Date : (2017-06-17)
# Last revision : see changelog
# Wine version used : -
# Distribution used to test : -
# Author : Kukulo, ImperatorS79, Dadu042
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Kukulo] (2017-06-17)
#   First script.
# [ImperatorS79] (2017-06-19)
#   ?
# [Dadu042] (2019-11-30)
#   Wine 2.10-staging -> 2.22
#   Add shortcut category.
#   Add POL_RequiredVersion 4.0.0
#   Can install patch.
   
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
WINE_VERSION="2.22"
TITLE="Star Wars Empire at War Gold Pack - gog.com"
AUTOR="Kukulo"
GAME_URL="https://en.wikipedia.org/wiki/Star_Wars:_Empire_at_War"
EDITOR="LucasArts"
GAME_VMS="64"
 
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "SWEAWGP"
 
POL_Wine_PrefixCreate "$WINE_VERSION"
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9 

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

POL_SetupWindow_VMS "$GAME_VMS"
 
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
    SETUP_PATH="$APP_ANSWER"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "sweaw.exe" "Star Wars Empire at War" "" "" "Game;"
POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption" "" "" "Game;"

################
# Patch update #
################
   
POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ?\n (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
     
if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi

POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Mardi 31 Décembre 2019 à 10:39
Dadu042

Warning

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

Differences

@@ -1,20 +1,30 @@
 #!/usr/bin/env bash
 # Date conv:yy-mm-dd
 # Date : (2017-06-17)
-# Last revision : (2017-06-19)
+# Last revision : see changelog
 # Wine version used : -
 # Distribution used to test : -
-# Author : Kukulo, ImperatorS79
+# Author : Kukulo, ImperatorS79, Dadu042
 # Licence : Retail
 # Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [Kukulo] (2017-06-17)
+#   First script.
+# [ImperatorS79] (2017-06-19)
+#   ?
+# [Dadu042] (2019-11-30)
+#   Wine 2.10-staging -> 2.22
+#   Add shortcut category.
+#   Add POL_RequiredVersion 4.0.0
    
 [ "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
  
-WINE_VERSION="2.10-staging"
+WINE_VERSION="2.22"
 TITLE="Star Wars Empire at War Gold Pack - gog.com"
 AUTOR="Kukulo"
-GAME_URL="https://www.gog.com/"
+GAME_URL="https://en.wikipedia.org/wiki/Star_Wars:_Empire_at_War"
 EDITOR="LucasArts"
 GAME_VMS="64"
  
@@ -25,33 +35,34 @@
 POL_Debug_Init
  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"
- 
+
+POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "SWEAWGP"
  
 POL_Wine_PrefixCreate "$WINE_VERSION"
  
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_d3dx9 
- 
-POL_SetupWindow_VMS "$GAME_VMS"
- 
+
 # Set Graphic Card informations keys for wine
 POL_Wine_SetVideoDriver
+
+POL_SetupWindow_VMS "$GAME_VMS"
  
 POL_SetupWindow_InstallMethod "LOCAL"
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
-        SETUP_PATH="$APP_ANSWER"
-         POL_Wine_WaitBefore "$TITLE"
-        POL_Wine "$SETUP_PATH"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
+    SETUP_PATH="$APP_ANSWER"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine "$SETUP_PATH"
 fi
-   
+
 POL_Wine_WaitExit "$TITLE"
  
-POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
-POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"
+POL_Shortcut "sweaw.exe" "Star Wars Empire at War" "" "" "Game;"
+POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption" "" "" "Game;"
  
 POL_SetupWindow_Close
- 
 exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env bash
# Date conv:yy-mm-dd
# Date : (2017-06-17)
# Last revision : see changelog
# Wine version used : -
# Distribution used to test : -
# Author : Kukulo, ImperatorS79, Dadu042
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Kukulo] (2017-06-17)
#   First script.
# [ImperatorS79] (2017-06-19)
#   ?
# [Dadu042] (2019-11-30)
#   Wine 2.10-staging -> 2.22
#   Add shortcut category.
#   Add POL_RequiredVersion 4.0.0
   
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
WINE_VERSION="2.22"
TITLE="Star Wars Empire at War Gold Pack - gog.com"
AUTOR="Kukulo"
GAME_URL="https://en.wikipedia.org/wiki/Star_Wars:_Empire_at_War"
EDITOR="LucasArts"
GAME_VMS="64"
 
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "SWEAWGP"
 
POL_Wine_PrefixCreate "$WINE_VERSION"
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9 

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

POL_SetupWindow_VMS "$GAME_VMS"
 
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
    SETUP_PATH="$APP_ANSWER"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_PATH"
fi

POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "sweaw.exe" "Star Wars Empire at War" "" "" "Game;"
POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption" "" "" "Game;"
 
POL_SetupWindow_Close
exit 0

Réponses

ImperatorS79 Vendredi 23 Juin 2017 à 23:55
ImperatorS79 Anonymous

Warning

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

Messages

Since this game need fx_2_0 compilation target to work with more recent wine, I added POL_Call POL_Install_d3dx9  as a workaround

Please provide test for us to know if it's working now.

Differences

@@ -0,0 +1,57 @@
+#!/usr/bin/env bash
+# Date conv:yy-mm-dd
+# Date : (2017-06-17)
+# Last revision : (2017-06-19)
+# Wine version used : -
+# Distribution used to test : -
+# Author : Kukulo, ImperatorS79
+# Licence : Retail
+# Only For : http://www.playonlinux.com
+   
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+ 
+WINE_VERSION="2.10-staging"
+TITLE="Star Wars Empire at War Gold Pack - gog.com"
+AUTOR="Kukulo"
+GAME_URL="https://www.gog.com/"
+EDITOR="LucasArts"
+GAME_VMS="64"
+ 
+#POL_GetSetupImages "undefined" "undefine" "$TITLE"
+POL_SetupWindow_Init
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"
+ 
+POL_Wine_SelectPrefix "SWEAWGP"
+ 
+POL_Wine_PrefixCreate "$WINE_VERSION"
+ 
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_d3dx9 
+ 
+POL_SetupWindow_VMS "$GAME_VMS"
+ 
+# Set Graphic Card informations keys for wine
+POL_Wine_SetVideoDriver
+ 
+POL_SetupWindow_InstallMethod "LOCAL"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
+        SETUP_PATH="$APP_ANSWER"
+         POL_Wine_WaitBefore "$TITLE"
+        POL_Wine "$SETUP_PATH"
+fi
+   
+POL_Wine_WaitExit "$TITLE"
+ 
+POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
+POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"
+ 
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env bash
# Date conv:yy-mm-dd
# Date : (2017-06-17)
# Last revision : (2017-06-19)
# Wine version used : -
# Distribution used to test : -
# Author : Kukulo, ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
   
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
WINE_VERSION="2.10-staging"
TITLE="Star Wars Empire at War Gold Pack - gog.com"
AUTOR="Kukulo"
GAME_URL="https://www.gog.com/"
EDITOR="LucasArts"
GAME_VMS="64"
 
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"
 
POL_Wine_SelectPrefix "SWEAWGP"
 
POL_Wine_PrefixCreate "$WINE_VERSION"
 
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9 
 
POL_SetupWindow_VMS "$GAME_VMS"
 
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
 
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
         POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi
   
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"
 
POL_SetupWindow_Close
 
exit 0

Réponses

Anonymous
Samedi 24 Juin 2017 à 9:24
Tested: installation works, when launching game I get a linux system message that the game is unresponsive with two buttons - wait or close. When I switch the wine version to 1.5.31 everything works without the system message.
Anonymous
Dimanche 25 Juin 2017 à 21:23
It's interressant, since it works flawlessly for me but not for you with 2.x wine
Anonymous
Mardi 27 Juin 2017 à 18:13
The game works, but there is a system message about wait and close. It is a bit annoying.
ImperatorS79 Lundi 19 Juin 2017 à 14:27
ImperatorS79 Anonymous

Warning

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

Messages

I think it's a little more standardized like this

I add POL_Set_VMS and POL Wine Set Video driver

I also changed wine version, cause i know it's working with 2.x series

I think it needs corefont but i'm not sure

Differences

@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+# Date conv:yy-mm-dd
+# Date : (2017-06-17)
+# Last revision : (2017-06-19)
+# Wine version used : -
+# Distribution used to test : -
+# Author : Kukulo, ImperatorS79
+# Licence : Retail
+# Only For : http://www.playonlinux.com
+  
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+
+WINE_VERSION="2.10-staging"
+TITLE="Star Wars Empire at War Gold Pack - gog.com"
+AUTOR="Kukulo"
+GAME_URL="https://www.gog.com/"
+EDITOR="LucasArts"
+GAME_VMS="64"
+
+#POL_GetSetupImages "undefined" "undefine" "$TITLE"
+POL_SetupWindow_Init
+
+# Starting debugging API
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"
+
+POL_Wine_SelectPrefix "SWEAWGP"
+
+POL_Wine_PrefixCreate "$WINE_VERSION"
+
+POL_Call POL_Install_corefonts
+
+POL_SetupWindow_VMS "$GAME_VMS"
+
+# Set Graphic Card informations keys for wine
+POL_Wine_SetVideoDriver
+
+POL_SetupWindow_InstallMethod "LOCAL"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
+        SETUP_PATH="$APP_ANSWER"
+         POL_Wine_WaitBefore "$TITLE"
+        POL_Wine "$SETUP_PATH"
+fi
+  
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
+POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"
+
+POL_SetupWindow_Close
+
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env bash
# Date conv:yy-mm-dd
# Date : (2017-06-17)
# Last revision : (2017-06-19)
# Wine version used : -
# Distribution used to test : -
# Author : Kukulo, ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

WINE_VERSION="2.10-staging"
TITLE="Star Wars Empire at War Gold Pack - gog.com"
AUTOR="Kukulo"
GAME_URL="https://www.gog.com/"
EDITOR="LucasArts"
GAME_VMS="64"

#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "SWEAWGP"

POL_Wine_SelectPrefix "SWEAWGP"

POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_VMS "$GAME_VMS"

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
         POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi
  
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Jeudi 22 Juin 2017 à 18:35
I tested it with wine 2.10-staging - the game does not even start. With the wine 1.5.31 it is fine.
Anonymous
Jeudi 22 Juin 2017 à 19:52
that's unexpected -> https://appdb.winehq.org/objectManager.php?sClass=version&iId=32967

I will try to retest it as soon as possible
Anonymous
Jeudi 22 Juin 2017 à 19:56
Would you mind try with different version of wine (from wine 2.0 to 2.10 ?)
Anonymous
Vendredi 23 Juin 2017 à 18:06
Yes I tried, only the 1.5.31 works.
kukulo Samedi 17 Juin 2017 à 8:20
kukulo Anonymous

Warning

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

Messages

Source code of the install script:

Differences

@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+ 
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+WINE_VERSION="1.5.31"
+TITLE="Star Wars Empire at War Gold Pack - gog.com"
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "Star Wars Empire at War Gold Pack" "gog.com" "https://www.gog.com/" "Kukulo" "SWEAWGP"
+POL_Wine_SelectPrefix "SWEAWGP"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+POL_Call POL_Install_d3dx9_36
+POL_SetupWindow_InstallMethod "LOCAL"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
+        SETUP_PATH="$APP_ANSWER"
+         POL_Wine_WaitBefore "$TITLE"
+        POL_Wine "$SETUP_PATH"
+fi
+ 
+POL_Wine_WaitExit "$TITLE"
+POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
+POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env bash
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
WINE_VERSION="1.5.31"
TITLE="Star Wars Empire at War Gold Pack - gog.com"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Star Wars Empire at War Gold Pack" "gog.com" "https://www.gog.com/" "Kukulo" "SWEAWGP"
POL_Wine_SelectPrefix "SWEAWGP"
POL_Wine_PrefixCreate "$WINE_VERSION"
POL_Call POL_Install_d3dx9_36
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
          POL_SetupWindow_browse "$(eval_gettext 'Please select the install file.')" "$TITLE"
        SETUP_PATH="$APP_ANSWER"
         POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$SETUP_PATH"
fi
 
POL_Wine_WaitExit "$TITLE"
POL_Shortcut "sweaw.exe" "Star Wars Empire at War"
POL_Shortcut "swfoc.exe" "Star Wars Empire at War Forces of Corruption"
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Samedi 17 Juin 2017 à 14:25
Source code here

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com