You are here    Supported software    Rise of Nations nl sv ru pl es de fr

Rise of Nations

Informations

Creator Message
ekultails Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

This script supports:

  • Rise of Nations
  • Rise of Nations: Thrones and Patriots
  • Rise of Natoins: Gold Edition

Please note, that it does NOT support Rise of Nations: Extended Edition from Steam. There is no known workaround for it yet. Since the game engine was redesigned to utilize DirectX 10 instead of DirectX 9 there are some Wine compatibility issues.

This relies on Wine 1.7.18, a version known to work really well with Rise of Nations. The additional depdencies required for sound and video to work properly are: directmusic, dsound, mfc40, mfc42, msvcirt, msxml4, and vcrun6.

Outside of Wine, the Rise of Nations configuration file at "drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations/rise2.ini" is tweaked. The introduction and main menu videos do not work so they are disabled. That file can also be used for turning on/off fullscreen and setting any custom resolution. 

 

Source code

				

Contributions

Filters:

Contribute
Member Message
kylebonnici Sunday 27 August 2017 at 22:26
kylebonnici Anonymous

Warning

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

Message

With the version below LAN games words as well :)

Differences

@@ -0,0 +1,103 @@
+#!/bin/bash
+# Rise of Nations - Play On Linux script
+# Version: 0.2.0-2
+# Author: ekultails@gmail.com
+# Website: https://github.com/ekultails/playonlinux
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# enable debugging
+POL_Debug_Init
+
+# set global variables
+TITLE="Rise of Nations"
+PREFIX="rise_of_nations"
+GAME_PATH="$POL_USER_ROOT/wineprefix/$PREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Rise of Nations"
+
+# start the installation window
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "$TITLE" "Big Huge Games" "http://bighugegames.com" "EkulTails" "$PREFIX"
+
+# tell the user's about compatibility;
+# the Rise of Nations: Extended Edition requires DirectX 10 or 11
+# which Wine does not supprt either very well right now
+POL_SetupWindow_message "$(eval_gettext 'This script is incompatible with the Steam version of Rise of Nations the Extended Edition. All other versions should work.')" "$TITLE"
+
+POL_SetupWindow_browse "$(eval_gettext 'Select the Setup.exe file')" "$TITLE"
+
+# use our unique prefix for installing Wine
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.8.4"
+
+# install required depedencies in the Wine environment
+# the installer needs mfc42 which first requires vcrun6;
+# it fixes the error:
+# "Cannot load pidgin.dll"
+POL_CALL POL_Install_vcrun6
+POL_Call POL_Install_mfc42
+# these are required for music to play properly
+# (otherwise it plays too fast)
+POL_Call POL_Install_directmusic
+POL_Call POL_Install_dsound
+
+# needed for multiplayer
+POL_Call POL_Install_directplay
+
+# run the RoN installation and wait for it to complete
+POL_Wine --ignore-errors "$APP_ANSWER"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_question "$(eval_gettext 'Are you also installing a seperate Thrones and Partiots expansion CD?')" "$TITLE"
+
+if [[ $APP_ANSWER == "TRUE" ]]; then
+	POL_SetupWindow_browse "Select the Setup.exe file" "$TITLE"
+	POL_Wine --ignore-errors "$APP_ANSWER"
+	POL_Wine_WaitExit "$TITLE"
+fi
+
+# this file needs a few tweaks for RoN to run smoothly
+rise2ini_path="$POL_USER_ROOT/wineprefix/$PREFIX/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations"
+rise2ini="$rise2ini_path/rise2.ini"
+
+# create the rise2.ini file if it does not exist already
+if [[ ! -d "$rise2ini_path" ]]; then
+	mkdir -p "$rise2ini_path"
+
+fi
+
+if [[ ! -f $rise2ini ]]; then
+	touch "$rise2ini"
+	rise2ini_created=true
+fi
+
+# delete these entries, if they exist
+sed -i '/ForceGDICursor=/d' "$rise2ini"
+sed -i '/ForceLowCPUBackgroundVid=/d' "$rise2ini"
+sed -i '/SkipIntroMovies=/d' "$rise2ini"
+sed -i '/FullScreen=/d' "$rise2ini"
+
+# create a new settings block if it does not exist
+if [[ "$rise2ini_created" == "true" ]]; then
+    cat <<EOF >> "$rise2ini"
+[RISE OF NATIONS]
+EOF
+fi
+
+# append the necessary setings
+cat <<EOF >> "$rise2ini"
+ForceGDICursor=1
+SkipIntroMovies=1
+ForceLowCPUBackgroundVid=1
+FullScreen=1
+EOF
+
+# create the shortcut and exit
+if [[ -f "$GAME_PATH/patriots.exe" ]]; then
+	POL_Shortcut "patriots.exe" "$TITLE"
+else
+	POL_Shortcut "rise.exe" "$TITLE"	
+fi
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Rise of Nations - Play On Linux script
# Version: 0.2.0-2
# Author: ekultails@gmail.com
# Website: https://github.com/ekultails/playonlinux

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

# enable debugging
POL_Debug_Init

# set global variables
TITLE="Rise of Nations"
PREFIX="rise_of_nations"
GAME_PATH="$POL_USER_ROOT/wineprefix/$PREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Rise of Nations"

# start the installation window
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Big Huge Games" "http://bighugegames.com" "EkulTails" "$PREFIX"

# tell the user's about compatibility;
# the Rise of Nations: Extended Edition requires DirectX 10 or 11
# which Wine does not supprt either very well right now
POL_SetupWindow_message "$(eval_gettext 'This script is incompatible with the Steam version of Rise of Nations the Extended Edition. All other versions should work.')" "$TITLE"

POL_SetupWindow_browse "$(eval_gettext 'Select the Setup.exe file')" "$TITLE"

# use our unique prefix for installing Wine
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.8.4"

# install required depedencies in the Wine environment
# the installer needs mfc42 which first requires vcrun6;
# it fixes the error:
# "Cannot load pidgin.dll"
POL_CALL POL_Install_vcrun6
POL_Call POL_Install_mfc42
# these are required for music to play properly
# (otherwise it plays too fast)
POL_Call POL_Install_directmusic
POL_Call POL_Install_dsound

# needed for multiplayer
POL_Call POL_Install_directplay

# run the RoN installation and wait for it to complete
POL_Wine --ignore-errors "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_question "$(eval_gettext 'Are you also installing a seperate Thrones and Partiots expansion CD?')" "$TITLE"

if [[ $APP_ANSWER == "TRUE" ]]; then
        POL_SetupWindow_browse "Select the Setup.exe file" "$TITLE"
        POL_Wine --ignore-errors "$APP_ANSWER"
        POL_Wine_WaitExit "$TITLE"
fi

# this file needs a few tweaks for RoN to run smoothly
rise2ini_path="$POL_USER_ROOT/wineprefix/$PREFIX/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations"
rise2ini="$rise2ini_path/rise2.ini"

# create the rise2.ini file if it does not exist already
if [[ ! -d "$rise2ini_path" ]]; then
        mkdir -p "$rise2ini_path"

fi

if [[ ! -f $rise2ini ]]; then
        touch "$rise2ini"
        rise2ini_created=true
fi

# delete these entries, if they exist
sed -i '/ForceGDICursor=/d' "$rise2ini"
sed -i '/ForceLowCPUBackgroundVid=/d' "$rise2ini"
sed -i '/SkipIntroMovies=/d' "$rise2ini"
sed -i '/FullScreen=/d' "$rise2ini"

# create a new settings block if it does not exist
if [[ "$rise2ini_created" == "true" ]]; then
    cat <<EOF >> "$rise2ini"
[RISE OF NATIONS]
EOF
fi

# append the necessary setings
cat <<EOF >> "$rise2ini"
ForceGDICursor=1
SkipIntroMovies=1
ForceLowCPUBackgroundVid=1
FullScreen=1
EOF

# create the shortcut and exit
if [[ -f "$GAME_PATH/patriots.exe" ]]; then
        POL_Shortcut "patriots.exe" "$TITLE"
else
        POL_Shortcut "rise.exe" "$TITLE"        
fi

POL_SetupWindow_Close
exit 0

Replies

cromat Saturday 8 July 2017 at 8:59
cromat Anonymous

Message

Thanks for great configuration. I have made some additional changes after installing with this script:

If your your mouse is not working inside game configuration (like mine) and you still want to play solo, I have uploaded default .dat file in with 8 players (tougher), surrvival of the fittest, random land map, no wonder victory etc.

 

Download Player.dat file

You need to put it in your play on linux virtual drive: drive_c/users/mat/Application Data/Microsoft Games/Rise of Nations/ and rename .dat file to $YourRoNProfileName.dat

You can change any configuration inside it in any editor if you want.

 

Another thing that I had issues with is Fullcreen on Ubuntu 16.04 (Unity)

For Fullscreen game, next requirements are needed:

On your playonlinux virtual drive, you need to change rise.ini or rise2.ini (if you play Thrones and Patriots) in your Rise of Nations folder.

You need to set these parameters:

Windowed Width=1366
Windowed Height=768
FullScreen=1

You need to set width and height to size of your resolution.

Next thing is wine configuration on RoN virtual drive. In graphics tab, you only need to set Automatically capture the mouse in full-screen windows and disable all other checkboxes like in picture:

And that's it! Happy gaming :)

Replies

Anonymous
Saturday 8 July 2017 at 9:00 -
Here is image link because it's not working in the comment: http://imgur.com/a/gEHiX
Anonymous
Thursday 3 August 2017 at 17:52 -
I got the mouse working by setting this also in rise2.ini file:
Anonymous
Thursday 3 August 2017 at 17:53 -
CPU_grade_override(A-F or AUTO)=F
ekultails Saturday 19 March 2016 at 16:56
ekultails Anonymous

Warning

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

Message

This script has been tested to be working.

Test Environment:

  • Operating System: Fedora 23 x64
  • CPU: Intel Core i5-2410M
  • GPU: Intel HD Graphics 3000

Installation/Gameplay Screenshots:

  • https://drive.google.com/file/d/0Bz8JkuXmv9jfcXZseVJkZnpJY00/view?usp=sharing
  • https://drive.google.com/file/d/0Bz8JkuXmv9jfN2E4dVlwcHlFV28/view?usp=sharing
  • https://drive.google.com/file/d/0Bz8JkuXmv9jfSzdDcG85VUZQeEU/view?usp=sharing

Icons:

  • riseofnations-22x22.png
    • https://drive.google.com/file/d/0Bz8JkuXmv9jfT1RfV09oRy1sb3c/view?usp=sharing
  • riseofnations-48x48.png
    • https://drive.google.com/file/d/0Bz8JkuXmv9jfNVBXTC1BNUtteEE/view?usp=sharing
  • top.png
    • https://drive.google.com/file/d/0Bz8JkuXmv9jfTXJ2ZERZZFVlRk0/view?usp=sharing

Differences

@@ -0,0 +1,87 @@
+#!/bin/bash
+# Rise of Nations - Play On Linux script
+# Version: 0.1.0
+# Installation Requirements: 
+#	wine 1.7.18, directmusic, dsound, mfc40, mfc42, msvcirt, msxml4, vcrun6
+# Author: ekultails@gmail.com
+# Website: https://github.com/ekultails/playonlinux
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# enable debugging
+POL_Debug_Init
+
+# set global variables
+TITLE="Rise of Nations"
+PREFIX="RoN"
+FULL_POL_PREFIX="$HOME/.PlayOnLinux/wineprefix/$PREFIX"
+GAME_PATH="$FULL_POL_PREFIX/drive_c/Program Files/Microsoft Games/Rise of Nations"
+
+# start the installation window
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "$TITLE" "Big Huge Games" "http://bighugegames.com" "EkulTails" "$PREFIX"
+
+# tell the user's about compatibility
+POL_SetupWindow_message "This PlayOnLinux script will work with any version of the non-Steam Rise of Nations game. That includes the base Rise of Nations game, the Thrones and Patriots expansion, and the Gold Edition. The Steam version does not work because the game was rebuilt to use DirectX10 instead of DirectX9. Better support for DirectX10 in Wine is still a work-in-progress." "Compatibility"
+
+# locate the CD mount point and then check to see if the required executable exists
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "Setup.exe"
+
+# use our unique prefix for installing Wine
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.7.18"
+
+# install required depedencies in the Wine environment
+POL_Call POL_Install_directmusic
+POL_Call POL_Install_dsound
+POL_Call POL_Install_mfc40
+POL_Call POL_Install_mfc42
+POL_CALL POL_Install_msxml4
+POL_CALL POL_Install_vcrun6
+
+# inform the user about the false-positive PoL error
+POL_SetupWindow_message "When the installation starts, PlayOnLinux will throw a false-positive error saying Wine crashed. Click \"Next\" and then continue on with the installation. After it is installed, close the launcher. DO NOT START THE GAME." "Read Before Installation"
+
+# run the RoN installation and wait for it to complete
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$CDROM/Setup.exe"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_question "Are you also installing a seperate Thrones and Partiots expansion CD? Select \"No\" if you are only installing the base Rise of Nations game or the Rise of Nations: Gold Edition." "Expansion Pack Installation"
+if [[ $APP_ANSWER == "TRUE" ]]; then
+	POL_SetupWindow_cdrom
+	POL_SetupWindow_check_cdrom "Setup.exe"
+	POL_Wine_WaitBefore "$TITLE"
+	POL_Wine "$CDROM/Setup.exe"
+	POL_Wine_WaitExit "$TITLE"
+fi
+
+# this file needs a few tweaks for RoN to run smoothly
+rise2ini_path="$FULL_POL_PREFIX/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations"
+rise2ini="$rise2ini_path/rise2.ini"
+# create the rise2.ini file if it does not exist already
+if [[ ! -d "$rise2ini_path" ]]; then
+	mkdir -p "$rise2ini_path"
+fi
+if [[ ! -f $rise2ini ]]; then
+	touch "$rise2ini"
+fi
+# delete these entries, if they exist
+sed -i '/ForceGDICursor=/d' "$rise2ini"
+sed -i '/ForceLowCPUBackgroundVid=/d' "$rise2ini"
+sed -i '/SkipIntroMovies=/d' "$rise2ini"
+# add the necessary values
+echo -e "[RISE OF NATIONS]\nForceGIDCursor=1\nSkipIntroMovies=1\nForceLowCPUBackgroundVid=1\n" >> "$rise2ini"
+
+# create the shortcut and exit
+if [[ -f "$GAME_PATH/patriots.exe" ]]; then
+	POL_Shortcut "patriots.exe" "$TITLE"
+else
+	POL_Shortcut "rise.exe" "$TITLE"	
+fi
+POL_SetupWindow_message "Installation successfully completed. Please submit any bugs to \"https://github.com/ekultails/playonlinux\". Enjoy!" "Rise of Nations Installed."
+POL_SetupWindow_Close
+exit 0
+Status API Training Shop Blog About

New source code

#!/bin/bash
# Rise of Nations - Play On Linux script
# Version: 0.1.0
# Installation Requirements: 
#        wine 1.7.18, directmusic, dsound, mfc40, mfc42, msvcirt, msxml4, vcrun6
# Author: ekultails@gmail.com
# Website: https://github.com/ekultails/playonlinux

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

# enable debugging
POL_Debug_Init

# set global variables
TITLE="Rise of Nations"
PREFIX="RoN"
FULL_POL_PREFIX="$HOME/.PlayOnLinux/wineprefix/$PREFIX"
GAME_PATH="$FULL_POL_PREFIX/drive_c/Program Files/Microsoft Games/Rise of Nations"

# start the installation window
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Big Huge Games" "http://bighugegames.com" "EkulTails" "$PREFIX"

# tell the user's about compatibility
POL_SetupWindow_message "This PlayOnLinux script will work with any version of the non-Steam Rise of Nations game. That includes the base Rise of Nations game, the Thrones and Patriots expansion, and the Gold Edition. The Steam version does not work because the game was rebuilt to use DirectX10 instead of DirectX9. Better support for DirectX10 in Wine is still a work-in-progress." "Compatibility"

# locate the CD mount point and then check to see if the required executable exists
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

# use our unique prefix for installing Wine
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.18"

# install required depedencies in the Wine environment
POL_Call POL_Install_directmusic
POL_Call POL_Install_dsound
POL_Call POL_Install_mfc40
POL_Call POL_Install_mfc42
POL_CALL POL_Install_msxml4
POL_CALL POL_Install_vcrun6

# inform the user about the false-positive PoL error
POL_SetupWindow_message "When the installation starts, PlayOnLinux will throw a false-positive error saying Wine crashed. Click \"Next\" and then continue on with the installation. After it is installed, close the launcher. DO NOT START THE GAME." "Read Before Installation"

# run the RoN installation and wait for it to complete
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/Setup.exe"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_question "Are you also installing a seperate Thrones and Partiots expansion CD? Select \"No\" if you are only installing the base Rise of Nations game or the Rise of Nations: Gold Edition." "Expansion Pack Installation"
if [[ $APP_ANSWER == "TRUE" ]]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$CDROM/Setup.exe"
        POL_Wine_WaitExit "$TITLE"
fi

# this file needs a few tweaks for RoN to run smoothly
rise2ini_path="$FULL_POL_PREFIX/drive_c/users/$USER/Application Data/Microsoft Games/Rise of Nations"
rise2ini="$rise2ini_path/rise2.ini"
# create the rise2.ini file if it does not exist already
if [[ ! -d "$rise2ini_path" ]]; then
        mkdir -p "$rise2ini_path"
fi
if [[ ! -f $rise2ini ]]; then
        touch "$rise2ini"
fi
# delete these entries, if they exist
sed -i '/ForceGDICursor=/d' "$rise2ini"
sed -i '/ForceLowCPUBackgroundVid=/d' "$rise2ini"
sed -i '/SkipIntroMovies=/d' "$rise2ini"
# add the necessary values
echo -e "[RISE OF NATIONS]\nForceGIDCursor=1\nSkipIntroMovies=1\nForceLowCPUBackgroundVid=1\n" >> "$rise2ini"

# create the shortcut and exit
if [[ -f "$GAME_PATH/patriots.exe" ]]; then
        POL_Shortcut "patriots.exe" "$TITLE"
else
        POL_Shortcut "rise.exe" "$TITLE"        
fi
POL_SetupWindow_message "Installation successfully completed. Please submit any bugs to \"https://github.com/ekultails/playonlinux\". Enjoy!" "Rise of Nations Installed."
POL_SetupWindow_Close
exit 0
Status API Training Shop Blog About

Replies