Rise of Nations: Rise of Legends
Informations
Créateur | Messages |
---|---|
Dadu042
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience1 1 DescriptionReal-time strategy video game, base in a fantasy world. 2006 Code source#!/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:
ContribuerMembre | Messages |
evild4ve | Jeudi 29 Décembre 2022 à 2:11 |
evild4ve
|
MessagesSOLVED 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.
RéponsesJeudi 29 Décembre 2022 à 14:01
Edité par evild4ve |
Dadu042 | Mardi 10 Novembre 2020 à 22:52 |
Dadu042
|
InformationCette mise à jour a été acceptée par l'équipe 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" Nouveau code source#!/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 Réponses |
Dadu042 | Jeudi 4 Juillet 2019 à 6:20 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesMinor 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" Nouveau code source#!/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 Réponses |
LinuxScripter | Mercredi 3 Juillet 2019 à 22:31 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesAdded 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" Nouveau code source#!/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 RéponsesJeudi 4 Juillet 2019 à 6:09
|
Dadu042 | Mercredi 3 Juillet 2019 à 21:51 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesGameplay 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 Nouveau code source#!/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 RéponsesMardi 10 Novembre 2020 à 22:46
Mardi 10 Novembre 2020 à 22:52
Samedi 19 Juin 2021 à 0:19
|
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