- Use the script in your own material if you want, just please upload it. Not enough people play Rise of Nations anymore for me to care too much about credits, but if you use my stuff it would be cool if you gave me some credit, cause some of this took quite a lot of work to fine tune and make work.
- For multiplayer, release script in workshop and then subscribe to the project. The new directory structure is: Rise of Nations mods World In Conflict art. Rise of Nations mods World In Conflict data. Rise of Nations mods World In Conflict sounds. Rise of Nations mods World In Conflict tribes. Rise of Nations mods World In Conflict info.xml.
- Working nonuke script for rise of nations the end of days mod. Bedonada Oct 8 2013. The mod is so good but bro it has alot of bugs all nations war factory has horses in 2012 all fighters plans didn't go out of airport and upgrades are so high in navel etc.
An Introduction to Big Huge Script (the script language used in RON) #1a - Hello, and welcome to my Rise of Nations scripting FAQ. I wrote this because of the small amount of decent documentation on the complex scripting language used in RON scenarios.
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.
There is a false-positive report from PlayOnLinux that says that Wine has crashed when launching the installer. This can be ignored and this script does notify the user about it before it executes the launcher.
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.
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:
Rise Of Nations Script Roblox
- 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
Rise Of Nations Roblox Exploits
[code language=playonlinux]
#!/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: [email protected]
# 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=1nSkipIntroMovies=1nForceLowCPUBackgroundVid=1n' >> '$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
[/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: [email protected]
# 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=1nSkipIntroMovies=1nForceLowCPUBackgroundVid=1n' >> '$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
[/code]