Rise of Nations: Rise of Legends

Informations

Creator Message
Dadu042

Warning

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

Informations

Platforms:
Downloads: 4583
Wine: 4.0.4

Feedbacks

Description

Real-time strategy video game, base in a fantasy world. 2006

Wikipedia.

Source code

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2019-07-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : CD-ROMs, april 2006.
#
# Game based on: DirectX 8, Bink.
#
#
# CHANGELOG
# [Dadu042] (2019-07-03)
#   Initial writting. I used the retail CD-ROMs (french, 4 CD-ROMS).
# [Dadu042] (2019-07-04)
#   Minor changes.
#
# KNOWN ISSUES
# - After inserting CD #2: "Error -1603. A fatal error occurred".
# - Entering the official S/N (provided with the retail CDs) does fail.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Rise of Nations: Rise of Legends"
PREFIX="rise_of_legends"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Microsoft Game Studios"
GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"
     
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.3.4 is required to install $TITLE"

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

Set_OS "winxp"

POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# No 'STEAM' because not available from their shop as June 2019.
POL_SetupWindow_InstallMethod "LOCAL,CD"
 
# Safety recommendation
POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, you must click Options button)." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run (install.exe)')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
             
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/xxxxx
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rise Of Legends.msi"
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
  
  
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/xxxxx"
else
        POL_Shortcut "legends.exe" "$TITLE" ""
        POL_Shortcut_Document "$TITLE" "*.rtf"
fi

################
# Patch update #
################
  
POL_SetupWindow_menu "$(eval_gettext 'Install a official patch-update ? (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 .EXE file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
evild4ve Thursday 29 December 2022 at 2:11
evild4ve

Message

SOLVED

Not sure if this is still alive, or if there are any issues with posting to it after some long time - apologies for this.

The installer didn't work for me at all. However I've somehow overcome the previous bug I was getting re. MSXM

I can install the game by (i) extracting all 4 cds into a normal directory on the linux system; (ii) mounting either an original CD or ISO; (iii) within PoL Configure Menu, install the game by running the autorun.exe in the directory I made before with all the cds extracted into it - enter the CD key when prompted; (iv) wine must be configured to Windows XP; (v) PoL must use the System version of Wine and no other (due to a bug that otherwise comes up with the PID); (vi) download patch to v2.5 and run this exe on the wineprefix; (vii) go to Install Components and install msxml3, mfc42, mfc42u, (msxml4); run the game from legends.exe with the cd mounted.

The game now opens but it can't load any maps, even if it can see them inside the directories. This prevents me from playing either the Campaign or Skirmishes. I suspect it may be a permissions issue so will next try changing the user permissions on some maps. (updated: allowing all users read+write permissions on a map didn't work)

The error it gives whenever a map is selected in Skirmish is "The Setup Data is Not Valid"

In Campaign it loads the strategic map and allows a mission to be selected. However instead of the map loading up, it always returns to the previous screen.

UPDATED: The fix for this was to install msxml3 instead of msxml4. The game stores some xml files (including one called game setup) in various folders, and I guess it calls this specific version of msxml. Some other guides say the wrong version, or perhaps it is different for different patched or regions.

 

Replies

Thursday 29 December 2022 at 14:01
also (vii) Microsoft Core Fonts must be installed for the CD key to be entered. Otherwise the input boxes can only hold 4 characters (!)

in LAN multiplayer it's possible to see a host's game but not to join it (no response from host) - this can be solved by making sure PCs have patched to the same version

next, I can start a game but the host is booted immediately, leaving the other player in the game - this happens if there are differences between the 2 players' map files (in my case due to installing some mods), it can be fixed by copying the folders maps, Data, campaign, rules onto both pcs to make them identical

Online play doesn't work. Trying to start LAN play brings up an error 3 times that the internet isn't accessible - before it finally opens the LAN lobby

NB: the above is for a 4xCD version of the game with one pc using (ripped images of) original cds+key and the other using a publicly-archived version. I'm not sure if the game checks if both players have used the same CD-key or if it just wants the cd to be (mounted in gcdemu as if it was) in the drive.

Overall this is the most difficult wine installation I've managed, on POL or elsewhere. I think I wrote down all the steps I needed to do and hope this will be useful toward automating it for others.

 

Edited by evild4ve

Dadu042 Tuesday 10 November 2020 at 22:52
Dadu042

Information

This update has been approved by the team.

Differences

@@ -28,7 +28,7 @@
      
 TITLE="Rise of Nations: Rise of Legends"
 PREFIX="rise_of_legends"
-WORKING_WINE_VERSION="4.0.1"
+WORKING_WINE_VERSION="4.0.4"
 AUTHOR="Dadu042"
 EDITOR="Microsoft Game Studios"
 GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"

New source code

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2019-07-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : CD-ROMs, april 2006.
#
# Game based on: DirectX 8, Bink.
#
#
# CHANGELOG
# [Dadu042] (2019-07-03)
#   Initial writting. I used the retail CD-ROMs (french, 4 CD-ROMS).
# [Dadu042] (2019-07-04)
#   Minor changes.
#
# KNOWN ISSUES
# - After inserting CD #2: "Error -1603. A fatal error occurred".
# - Entering the official S/N (provided with the retail CDs) does fail.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Rise of Nations: Rise of Legends"
PREFIX="rise_of_legends"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Microsoft Game Studios"
GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"
     
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.3.4 is required to install $TITLE"

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

Set_OS "winxp"

POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# No 'STEAM' because not available from their shop as June 2019.
POL_SetupWindow_InstallMethod "LOCAL,CD"
 
# Safety recommendation
POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, you must click Options button)." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run (install.exe)')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
             
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/xxxxx
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rise Of Legends.msi"
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
  
  
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/xxxxx"
else
        POL_Shortcut "legends.exe" "$TITLE" ""
        POL_Shortcut_Document "$TITLE" "*.rtf"
fi

################
# Patch update #
################
  
POL_SetupWindow_menu "$(eval_gettext 'Install a official patch-update ? (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 .EXE file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 4 July 2019 at 6:20
Dadu042

Warning

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

Message

Minor changes.
 

Differences

@@ -14,10 +14,12 @@
 #
 #
 # CHANGELOG
-# [Dadu042] (2019-06-03)
-#   Initial writting. I used the retail 4 x CD-ROM (french).
+# [Dadu042] (2019-07-03)
+#   Initial writting. I used the retail CD-ROMs (french, 4 CD-ROMS).
+# [Dadu042] (2019-07-04)
+#   Minor changes.
 #
-# KNOW ISSUES
+# KNOWN ISSUES
 # - After inserting CD #2: "Error -1603. A fatal error occurred".
 # - Entering the official S/N (provided with the retail CDs) does fail.
 
@@ -52,14 +54,16 @@
 # Useless ?
 # POL_Call POL_Install_d3dx9_43
 # POL_Call POL_Install_d3compiler_43
-  
+
+# No 'STEAM' because not available from their shop as June 2019.
 POL_SetupWindow_InstallMethod "LOCAL,CD"
-  
-POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, click Options button)." "$TITLE"
+ 
+# Safety recommendation
+POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, you must click Options button)." "$TITLE"
 
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then
         cd "$HOME"
-        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run (install.exe)')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
@@ -68,7 +72,7 @@
 elif [ "$INSTALL_METHOD" == "STEAM" ];then
         POL_Call POL_Install_steam
         cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-        POL_Wine "steam.exe" steam://install/12510
+        POL_Wine "steam.exe" steam://install/xxxxx
         POL_Wine_WaitBefore "$TITLE"
 else
 	POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
@@ -81,7 +85,7 @@
   
   
 if [ "$INSTALL_METHOD" == "STEAM" ]; then
-        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12510"
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/xxxxx"
 else
         POL_Shortcut "legends.exe" "$TITLE" ""
         POL_Shortcut_Document "$TITLE" "*.rtf"
@@ -91,7 +95,7 @@
 # Patch update #
 ################
   
-POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ? (to download by yourself).')" "$TITLE" "$(eval_gettext 'Yes')~$(eval_gettext 'No')" "~"
+POL_SetupWindow_menu "$(eval_gettext 'Install a official patch-update ? (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 .EXE file to run')" "$TITLE"

New source code

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2019-07-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : CD-ROMs, april 2006.
#
# Game based on: DirectX 8, Bink.
#
#
# CHANGELOG
# [Dadu042] (2019-07-03)
#   Initial writting. I used the retail CD-ROMs (french, 4 CD-ROMS).
# [Dadu042] (2019-07-04)
#   Minor changes.
#
# KNOWN ISSUES
# - After inserting CD #2: "Error -1603. A fatal error occurred".
# - Entering the official S/N (provided with the retail CDs) does fail.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Rise of Nations: Rise of Legends"
PREFIX="rise_of_legends"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Microsoft Game Studios"
GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"
     
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.3.4 is required to install $TITLE"

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

Set_OS "winxp"

POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43

# No 'STEAM' because not available from their shop as June 2019.
POL_SetupWindow_InstallMethod "LOCAL,CD"
 
# Safety recommendation
POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, you must click Options button)." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run (install.exe)')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
             
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/xxxxx
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rise Of Legends.msi"
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
  
  
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/xxxxx"
else
        POL_Shortcut "legends.exe" "$TITLE" ""
        POL_Shortcut_Document "$TITLE" "*.rtf"
fi

################
# Patch update #
################
  
POL_SetupWindow_menu "$(eval_gettext 'Install a official patch-update ? (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 .EXE file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

LinuxScripter Wednesday 3 July 2019 at 22:31
LinuxScripter Anonymous

Warning

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

Message

Added steam option to the menu.

Differences

@@ -53,7 +53,7 @@
 # POL_Call POL_Install_d3dx9_43
 # POL_Call POL_Install_d3compiler_43
   
-POL_SetupWindow_InstallMethod "LOCAL,CD"
+POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
   
 POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, click Options button)." "$TITLE"
 

New source code

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2019-07-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : CD-ROMs, april 2006.
#
# Game based on: DirectX 8, Bink.
#
#
# CHANGELOG
# [Dadu042] (2019-06-03)
#   Initial writting. I used the retail 4 x CD-ROM (french).
#
# KNOW ISSUES
# - After inserting CD #2: "Error -1603. A fatal error occurred".
# - Entering the official S/N (provided with the retail CDs) does fail.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Rise of Nations: Rise of Legends"
PREFIX="rise_of_legends"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Microsoft Game Studios"
GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"
     
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.3.4 is required to install $TITLE"

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

Set_OS "winxp"

POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43
  
POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
  
POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, click Options button)." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
             
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/12510
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rise Of Legends.msi"
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
  
  
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12510"
else
        POL_Shortcut "legends.exe" "$TITLE" ""
        POL_Shortcut_Document "$TITLE" "*.rtf"
fi

################
# Patch update #
################
  
POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ? (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 .EXE file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Thursday 4 July 2019 at 6:09
Thanks for contributing, however I did not add Steam yet, because it is not available from their store currently.
Dadu042 Wednesday 3 July 2019 at 21:51
Dadu042

Warning

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

Message

Gameplay tested 3 min.

Differences

@@ -0,0 +1,105 @@
+#!/bin/bash
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-07-03)
+# Last revision : see changelog
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux v4.3.4
+#
+# Tested version : CD-ROMs, april 2006.
+#
+# Game based on: DirectX 8, Bink.
+#
+#
+# CHANGELOG
+# [Dadu042] (2019-06-03)
+#   Initial writting. I used the retail 4 x CD-ROM (french).
+#
+# KNOW ISSUES
+# - After inserting CD #2: "Error -1603. A fatal error occurred".
+# - Entering the official S/N (provided with the retail CDs) does fail.
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+     
+TITLE="Rise of Nations: Rise of Legends"
+PREFIX="rise_of_legends"
+WORKING_WINE_VERSION="4.0.1"
+AUTHOR="Dadu042"
+EDITOR="Microsoft Game Studios"
+GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"
+     
+POL_SetupWindow_Init
+POL_Debug_Init
+      
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+      
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.3.4 is required to install $TITLE"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# POL_Wine_PrefixCreate
+POL_System_TmpCreate "$TITLE"
+
+Set_OS "winxp"
+
+POL_Call POL_Install_mfc42
+POL_Call POL_Install_msxml4
+
+# Useless ?
+# POL_Call POL_Install_d3dx9_43
+# POL_Call POL_Install_d3compiler_43
+  
+POL_SetupWindow_InstallMethod "LOCAL,CD"
+  
+POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, click Options button)." "$TITLE"
+
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        cd "$POL_System_TmpDir"
+             
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+        POL_Call POL_Install_steam
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine "steam.exe" steam://install/12510
+        POL_Wine_WaitBefore "$TITLE"
+else
+	POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Rise Of Legends.msi"
+        POL_Wine start /unix "$CDROM/install.exe"
+        POL_Wine_WaitExit "install.exe"
+        cd "$POL_System_TmpDir"
+fi
+  
+  
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12510"
+else
+        POL_Shortcut "legends.exe" "$TITLE" ""
+        POL_Shortcut_Document "$TITLE" "*.rtf"
+fi
+
+################
+# Patch update #
+################
+  
+POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ? (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 .EXE file to run')" "$TITLE"
+        PATCH_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$PATCH_EXE"
+        POL_Wine_WaitExit "$PATCH_EXE"
+fi
+  
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2019-07-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : CD-ROMs, april 2006.
#
# Game based on: DirectX 8, Bink.
#
#
# CHANGELOG
# [Dadu042] (2019-06-03)
#   Initial writting. I used the retail 4 x CD-ROM (french).
#
# KNOW ISSUES
# - After inserting CD #2: "Error -1603. A fatal error occurred".
# - Entering the official S/N (provided with the retail CDs) does fail.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Rise of Nations: Rise of Legends"
PREFIX="rise_of_legends"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Microsoft Game Studios"
GAME_URL="https://en.wikipedia.org/wiki/Rise_of_Nations:_Rise_of_Legends"
     
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.3.4 is required to install $TITLE"

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

Set_OS "winxp"

POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

# Useless ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3compiler_43
  
POL_SetupWindow_InstallMethod "LOCAL,CD"
  
POL_SetupWindow_message "Note: at the end of the installation, please do not run the game (to select this, click Options button)." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
             
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/12510
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_message "Warning: the installation from CDs will fail when CD #2 inserted ('Error -1603. A fatal error occurred').\n\n Workaround: copy the CDs #2,3,4 into a folder of your HDD, the last to copy is the #1. Then you will have to make the installation from LOCAL." "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Rise Of Legends.msi"
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
  
  
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/12510"
else
        POL_Shortcut "legends.exe" "$TITLE" ""
        POL_Shortcut_Document "$TITLE" "*.rtf"
fi

################
# Patch update #
################
  
POL_SetupWindow_menu "$(eval_gettext 'Do you want to install a official patch-update ? (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 .EXE file to run')" "$TITLE"
        PATCH_EXE="$APP_ANSWER"
        POL_Wine start /unix "$PATCH_EXE"
        POL_Wine_WaitExit "$PATCH_EXE"
fi
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Tuesday 10 November 2020 at 22:46
Sorry, brand new to play on linux. I'm running Ubuntu 18.04LTS and installed play on linux per the download instructions. I've installed my copy of Rise of Legends, but when I try to type in my key, it doesn't work. I can type all five characters in the last four boxes, but the first box only allows me to type in 4 characters of the key. I've tried "ctrl a" delete to ensure that I'm not harboring any invisible spaces, no joy. Any ideas?
Tuesday 10 November 2020 at 22:52
Use the forum.
Saturday 19 June 2021 at 0:19
Microsoft seem to have removed the links for MSXM - the installer can't get past this part and trying to manually install any version of it breaks the installed game and causes it to give an error like  "msxm version 4.0 was not installed properly") just after the title graphic screen and stops it reaching the menu screen

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