You must be logged in to post messages.
Please login or register

Scenario Design and Modding
Moderated by Suppiluliuma, PhatFish, Fisk, EpiC_Anonymous, Epd999

Hop to:    
Welcome! You are not logged in. Please Login or Register.139 replies, Sticky
Age of Empires Heaven » Forums » Scenario Design and Modding » RockNRoR : mod to improve AI and add various game enhancing features
Bottom
Topic Subject:RockNRoR : mod to improve AI and add various game enhancing features
« Previous Page  1 2 3 4 5 6  Next Page »
chab
Clubman
posted 03-16-15 02:44 PM ET (US)         
Warning: this project is now named RockNRor.
The file is provided in RockNRor ZIP file.
See also RockNRor website for screenshots, etc.

This mod will contain
- Some already existing fixes
- All new fixes that I find
- All new features I can develop for RoR.

Main ideas are:
- Improve AI to make it more challenging
- Add features like get map seed, add new conversion resistances (see the details below)
- Allow more and more possible configuration. Almost all features can be configured to best suit YOUR expectations.
- Potential improvements/features are almost illimited ! Other major enhancements may come in the future.

As it is part of ROR_API system, it only needs minimal changes in original game files. Moreover, these changes are compatible with all other mods that are written for ROR_API. For the first time, a common part of the code might be overloaded by 2 mods at once !

Requirements:
- Windows XP, 7 or later (compatible with linux using wine+winetricks)
- Windows 10 : please see FAQ paragraph
- Microsoft Visual C++ redistributable libraries 2013
- Rise of Rome expansion !

Installation
- Run RockNRoradmin.exe (make sure to use latest version) and use the dedicated menu entry.


Please provide feedback. This is still under heavy development, I hope it is bug-free.


Keys:
Scenario Editor : F1 to switch to "select unit" mode
Scenario Editor : F2 to edit selected unit
Scenario Editor : F3 to open RockNRor menu (edit terrain, triggers, get PER/AI files, etc)
Scenario Editor : F10 to open standard menu


FAQ:
Does it work for 1.0b version or vanilla AoE ?
Yes... But features will be very limited !

How do I set up my own configuration for conversion resistance, custom civilizations or any other stuff ?
Just edit RockNRor.xml / RockNRor_civs.xml...

Can I make sure all RockNRor features work correctly ?
- Open RockNRor.log and check for error messages. It will tell you if a feature could ne be enabled (if CustomizeAOE changes are missing)
- Press F1 in ROR main menu (first screen). If an options screen appears, then RockNRor is working. If AOE help opens, then RockNRor is not working.
- Select a unit and press F2 in game screen. If a popup shows up, then RockNRor is working.

The game is not working well in Windows 10 system
If the game does not run, does not run in full screen, or if RockNRor is not active (see the previous paragraph to see how you can check this), then follow the indications as follows:
copy-paste manually the links, there is a bug with the forums if you click on them
- Install the standard Microsoft Visual C++ redistributable libraries 2013
- If you still have issues, install the updated libraries
- If you still have issues, install the all-in-one libraries found by Phatfish
- If you still have issues, right click on your shortcut or game 'exe' file, open the properties/compatibility, and select the Windows 7 compatibility mode.





Features:
- Handle up to 255 civilizations in ROR instead of 16 (see RockNRor_civs.xml).
- Improved game speed change with +/- buttons. Choose the speed change factor (default 1.25) in XML config or in-game RockNRor menu.
- Dramatically improve defence AI: train relevant units according to attacking units and accoding to player's available units.
- Improve unit targeting so that AI units do not hesitate between several targets (including 2-priest trick).
- Ability to customize number of relics/ruins in random games/deathmatch.
- Replace SNScalingFrequency unit from minutes to seconds (low values will automatically be fixed to prevent issues).
- Improved tactical AI updates:
-- Disable irrelevant limited-retrain units (like clubmen) when starting at iron age or post-iron.
-- Unblock "stuck buildings". It is necessary to wait a moment before doing this or the player will lose all his resources trying to build something that is "instant-killed" by the enemy.
-- Add some useful (available) researches if the player is rich, well developed (for example, wheel when it's not included in player's strategy).
-- TO DO - Disable useless building (governement center) if it is no longer useful (all underlying techs researched, iron age already researched).
-- TO DO - Improve farms management (lower their priority in AI list).
- Set a maximum number of farms in deathmatch games. AI builds too much farms in deathmatch (SNMaxFarms).
- Automatically computes AI's "dislike" values against each player. A player with all relics/ruins/wonder will have more chances to be taken as target.
- Change conversion resistances, like 1.25 for war elephants instead of 1 (customizable in config file).
- Faster town building at game startup in deathmatch using appropriate SN numbers (SNRequiredFirstBuilding, SNInitialExplorationRequired).
- Improve some city plan calculations to prevent villagers from being stuck and improve access to TC (+granary/SP) for farmers/gatherers...
-- Always protect Town center (and granry/storage pit) immediate neighborhood from being built (may occur when using custom city plan configurations)
-- Improve granary location choice (closer from most of the target bushes)
-- Avoid construction of many consecutive buildings in a row that leave no way for living units
- Correctly sets AI control at game startup when using the "ManageAI" feature (allows AI to control your "old" player when changing with gaia cheat code).
- Triggers system
- Enhanced scenario editor
- etc...

Fixes:
- Fix timer bug on fast computers (game freezes in low game speeds).
- Fix stuck AI bug #1: missing unitId in computer players strategy for unfinished buildings.
- Fix stuck AI bug #2: strategy when an unfinished building is destroyed (computer player will no longer get stuck).
- Fix stuck AI bug #3: strategy when a building that is currently training a unit is destroyed (computer player will no longer get stuck).
- Fix stuck AI bug #4: when entering "panic mode", too much irrelevant units are added on top of strategy and AI gets stuck.
- Fix bug with reveal map option in game settings (does not applies correctly to all players). Bug can be observed with FULL_computerPlayer1 or when switching players with gaia cheat code.
- Fix SNRequiredFirstBuilding handling (was not working correctly).

Misc:
- A new button in game menu opens RockNRor options UI.
- Automatically show "F11" information at game startup.
- In scenario editor, F10 opens the menu.
- Display a chat message at game startup to say the plugin is active.

Chat commands:
- Type "t" or "time" in chat box to display system time (as a chat message)
- Type "seed" to get map seed (as a chat message)
- Type "ai" or "AI" in chat box to fix AI control flags after using a "gaia*" cheat code.
- Type "allai" or "allAI" in chat box enable computer-control for ALL players
- Type "hi" to get Hello world, "about" for information about RockNRor.
- Type "timer stats" to get info related to game timer bug.


Troubleshooting:
- You may need to run your editor as admin to edit XML files according to the location you installed the game.
- RockNRor produces a log file named "RockNRor.log" in RockNRor folder in Age of Empires installation directory.
- If the game process does not have necessary rights, the log file might be located in C:\Users\{username}\AppData\Local\VirtualStore\Program Files (x86)\Jeux\Age of Empires
- Make sure the "ROR_API.conf" file contains the lines 'wndmode.dll' and 'RockNRor.dll' (without the quotes and without extra characters on the same line)
- If the game won't run, try to run it in Windows 7 compatibility mode

[This message has been edited by chab (edited 07-05-2020 @ 10:36 AM).]

AuthorReplies:
PhatFish
Mr. Beta
posted 10-21-17 08:33 AM ET (US)     76 / 139       
Pasting this here as well, this is a comment I wrote a short while ago:

"I can't seem to run this anymore because of Microsoft Visual C++ redistributable libraries 2013 not being compatible with windows 10 x64 architecture.

Is there any way to fix this?"

Thanks for continued updates on your wonderful tool.
chab
Clubman
posted 10-21-17 09:26 AM ET (US)     77 / 139       
I didn't know that
Maybe you just need to download the correct installer for "Microsoft Visual C++ redistributable libraries 2013" on your computer, I have no way of testing this from here.

You can try to uninstall redist. libraries before installing the 2013, or - as some forums suggest - try to install it in "clean boot mode"

Maybe this page can help finding the correct link : http://www.standaloneofflineinstallers.com/2015/12/Microsoft-Visual-C-Redistributable-2015-2013-2012-2010-2008-2005-32-bit-x86-64-bit-x64-Standalone-Offline-Installer-for-Windows.html
PhatFish
Mr. Beta
posted 11-03-17 09:03 AM ET (US)     78 / 139       
I did that and it didn't work. This compatibility bug may be alienating a lot of users, something you should look into. The most simple workaround for now is a dual booting system with both Win7 and Win10, but it's not very convenient at all.

[This message has been edited by PhatFish (edited 11-03-2017 @ 09:03 AM).]

Epd999
Scout
posted 11-29-17 07:29 PM ET (US)     79 / 139       
I am interested in playing against DM AI that goes above 50 population using RockNRoR, but the AI isn't very good. I was wondering if you wanted to me to send you some information or wanted help making the DM AI.

I would also be interested in being able to make my own AI that goes over 50 pop without modding (such as potdindy did) and would appreciate there being an option to make my own and being provided with the information to do so.

I'm also having a problem at the moment which it's causing my game to be incompatible with directdraw but works fine with Upatch. Also, when using windowed mode the mouse goes outside of the screen, it shouldn't do that imo. The game should stop the mouse from going outside the screen.

Lost Empires Mod
Maybe it's only a fool who'll perilously journey out to what might not be there. But if you want to solve problems, you don't just solve the ones that are there, you find more and make more and go after the impossible ones.
The neanderthals never ventured into the unknown and they went extinct, so who are the fools?

[This message has been edited by Epd999 (edited 11-29-2017 @ 09:25 PM).]

chab
Clubman
posted 12-02-17 11:13 AM ET (US)     80 / 139       
Can you be more specific about AI not being good enough in DM.
Do you mean it's not developing fast enough ?
Is it related to strategy (=AI files) or something else ?

RockNRor automatically adapts strategy to actual population limit, adding more of the units that AI already trains (and more houses, etc).
It also fixes tech tree issues, if some requirement is missing.
I don't really see what you mean by "would appreciate there being an option to make my own and being provided with the information to do so"
Information about AI file is public and documented, I'm not sure I know more than you already do.

Yeah the mouse can be an issue in windowed mode.
Windowed mode is a "must have", but to fully enjoy it you really should set the resolution = your exact screen resolution. In such a case, the game behaves perfectly and is much faster that standard one (to launch, when you press alt-tab, etc).

About win10, I don't have an answer at this point and I am not currently able to troubleshoot this.
Epd999
Scout
posted 12-02-17 11:14 PM ET (US)     81 / 139       
Most definitely it doesn't build fast enough, train units fast enough or build the correct buildings in the correct order. I can beat it in less than 10 minutes on hardest and I'm not even a good DM player. The AI has no idea how to play DM properly and I'm offering my insight to help improve the DM AI, as stated, it's not supported, I would like it to be supported so I can improve my DM skills. Speaking of which.

I would like to practice certain Death match settings, I can't play NS (No Siege) Archer war or Choson War if my opponent doesn't follow the rules of the setting. This also applies to Korean setting. I would like to be able to make my own AI that goes over 50+ pop so I can easily set up a challenging AI for those sets. I would also suggest that the AI is able to exploit the villager, farm glitch.

I would also like to know if the AI uses a custom .per file or the ES ones. As I've found that some changes like minimum town size, maximum townsize & maximum builders increase the ability of the AI.

My screen resolution is not available, being 1536 x 864. I would appreciate it if this is an optional feature or my screen resolution to be added.

Especially if you want RockNRor to be compatible with DE, if that is your intention, you will need to start troubleshooting using that operating system, as it is also alienating me from using the program, among other things, as recently today it no longer works.

Lost Empires Mod
Maybe it's only a fool who'll perilously journey out to what might not be there. But if you want to solve problems, you don't just solve the ones that are there, you find more and make more and go after the impossible ones.
The neanderthals never ventured into the unknown and they went extinct, so who are the fools?

[This message has been edited by Epd999 (edited 12-02-2017 @ 11:22 PM).]

chab
Clubman
posted 12-03-17 06:23 AM ET (US)     82 / 139       
Let me remind you that RockNRor is an open mod (as much as possible).
- For resolution, you can already set it to 1536 x 864. You always could, even with old releases. RockNRorAdmin.exe allow you to set it to any resolution.
If you want the display to be beautiful you need the corresponding DRS files, I can't make them for all possible resolutions. I already provided some "classical" ones. Does the community expects me to do everything ? (especially for DRS files, I'm not good at all in such things)
I shared what I did, noone ever shared DRSes for other resolution, even if many probably exist...
Remark: the game screen can work well even if you don't have the matching DRS files. It's generally menus that may look weird. IIRC using bigger resolution DRS files grants you the game NOT to crash.

- The game does not use the .per files for RM/DM. But RockNRor allows you to set PER values for RM and/or DM
For example <per_number gameType="DM" sn="161" value="0"></per_number> allows AI players to build faster in deathmatch games.
It's provided in sample file.
You really should have a look to configuration, you can do many things there and examples/small explanations are provided.
Another tip for what you want: maybe you should try to play DM with "start in iron age" option. AI players are generally better this way.

For no siege setting it's easy: just pick an enemy civ that does not use siege (Macedonian, phoenician, persian, egypt...). You can also edit the deathmatch .AI file and make it train whatever unit you like ! Don't forget that DM games always use the same .AI file for each civ.

If you want to preserve the original .AI file, you can also edit "RockNRor_civs.xml" and add a section like this (example for egypt) to force Egypt civ to use some specific AI files for DM games

<civ id="1">
<deathmatch_aifile value="data2/xxx.AI"/>
<deathmatch_aifile_water value="data2/xxx_water.AI"/>
</civ>

I don't understand why AI should use the farm bug (press stop to renew the farm, that's it ?). By the way I thought the bug was fixed in ROR 1.a.
But the solution is simple: just don't use the bug for yourself in single player games. Moreover, farming in SP DM is generally not very important.
(another tip: farming is something like 5 times more efficient for AI players with rocknror thanks to city plan improvements)

Anyway, I must say that I agree with you, AI is not fast enough in DM games at startup.
But huh that's single player game, your game, your rules : just don't attack them until they go iron and start training units (that rule also exists in MP games) and you'll be happy.
This is what I did when I liked to play DM games, just let AI get started and then you'll have a nice game.
But RockNRor fixes already help a lot on this, for example in vanilla game, killing the enemy's barracks (or any other building) before it was fully built was enough to definitely block the AI player.
I hope you see the difference between vanilla AI and RockNRor's

And I also hope this message helps you find what you want.

[This message has been edited by chab (edited 12-03-2017 @ 06:39 AM).]

chab
Clubman
posted 12-03-17 06:33 AM ET (US)     83 / 139       
Especially if you want RockNRor to be compatible with DE, if that is your intention, you will need to start troubleshooting using that operating system, as it is also alienating me from using the program, among other things, as recently today it no longer works.
I know that win10 compatibility issue is very serious, but I'm no professional, I just don't have the resources/time to troubleshoot everything. And the OS specific issues are always a big pain in the ass. I'd love to fix this but at this point I can't promise anything.
I'm not sure people have an idea how complex it is.

For DE I'm afraid it is technically impossible to make RockNRor compatible with it. RockNRor was developed for ROR executable, DE is a new program. Writing a mod for DE would mean restart from scratch.
PhatFish
Mr. Beta
posted 12-03-17 07:19 AM ET (US)     84 / 139       
As I mentioned earlier I'm using Win7 dual booting as a workaround for now. I mainly use RockNror for it's excellent scn editor features.

Actually DE is build on the original executables with Upatch on top. Much of the code should be the same, but there are of course many changes made along the way. Since you don't have Win10 I assume you did not sign up for the DE beta?
Epd999
Scout
posted 12-03-17 04:51 PM ET (US)     85 / 139       
https://i.imgur.com/HvtraL0.png

https://i.imgur.com/eb2TJQO.png
I'm guessing I'm doing something wrong then?

If I were to preserve an AI file will it go over 50 population? Because I'm wanting to make AI that will go over 200 population or provide assistance to help improve the DM AI in RockNRor. For example, I play like this, but quite a bit slower: https://www.youtube.com/watch?v=QyFrnLXrqg4
I would like to tell you what you need to do to improve the AI but you seem to be uninterested in improving your AI further or you are looking over my offer to help you. I always start in Iron Age, it's how I've always played DM, and is how you play DM online.

I'm suggesting that the AI has the option to use the farm bug for patches before 1.0 so players who play with that farm bug can play with an AI who will use it also. How is not using a bug a solution when over 100 players use the bug an play on 1.0 not 1.0a.
For no siege setting it's easy: just pick an enemy civ that does not use siege (Macedonian, phoenician, persian, egypt...). You can also edit the deathmatch .AI file and make it train whatever unit you like ! Don't forget that DM games always use the same .AI file for each civ.
I also specified an archer war. I assume that if I were to play Yammy war that the AI will also make Cataphracts? And, correct me if I'm wrong, what your suggesting is assuming I want to play the AI at 50 population, not 200, 400 or 1000.

No problem, I know that you have your own busy life. I'm not trying to hurry you to add new features or make RockNRor compatible with Windows 10. I'm just offering my knowledge to help you improve the AI, and if your not interested in properly supporting the DM AI, please let me know, as you seem to be telling me to try other options instead of improving it.

Lost Empires Mod
Maybe it's only a fool who'll perilously journey out to what might not be there. But if you want to solve problems, you don't just solve the ones that are there, you find more and make more and go after the impossible ones.
The neanderthals never ventured into the unknown and they went extinct, so who are the fools?

[This message has been edited by Epd999 (edited 12-03-2017 @ 05:33 PM).]

chab
Clubman
posted 12-04-17 02:08 PM ET (US)     86 / 139       
For your resolution problem, maybe you did not run the program as admin.
Did you resize the window manually for the screenshot ? The bottom of the screen is missing. You should have 2 colored buttons to select the DRS files (data & data2) to use.

If this really fails, you can do "edit game file" in main window menu (make sure to select EXE files first), go to resolution, uncheck and recheck the checkbox => you will be able to change resolution values. Then save.
I also specified an archer war. I assume that if I were to play Yammy war that the AI will also make Cataphracts? And, correct me if I'm wrong, what your suggesting is assuming I want to play the AI at 50 population, not 200, 400 or 1000.
No ! AI will train what you tell it to (in deathmatch AI file).
If you create a specific AI file with only archers, AI will train archers. About the population limit, RockNRor will automatically extend it (in memory, not in actual file on your drive) so that AI builds more units. So your AI file written for a 50 pop limit will be OK.
The problem would be the number of buildings, I guess. (and town size but you already suggested a good solution).
If you prefer, you can write an AI file for population=200 (just copy paste lines for houses and units !), this should work too. Just make sure to add houses early enough.

... and don't forget you can use many AI file and just switch using the XML config file (before starting the game). It might be useful.


I'm trying to offer workarounds to help you, don't take it so badly !
It hurts a bit to hear that I don't want to improve AI, of course I do, I've been working for years on that and noone ever gave feedback. That's not very encouraging.
Without the source code or any knowledge, I'm trying to improve the AI professionnal developers created, do you think it's easy, and that I can change it in a 5 minutes work ?
Even a small change in AI may destroy completely how it behaves, it's not a simple task...


About the kind of games you want to play, it's extremely different to SP games and how AI plays the game, which means adapting AI for such games is very complex, that's a huge work. And to be honest I must admit that the changes I made are useful but cleary very small compared to what you need.

*But* if you modify town size to something very big, and write a specific AI file with many, many buildings (and many villagers), it could work. At least, work better.
The order you place things in AI file would be crucial then.

I hope you understand it can't be easy to create an AI that plays like the video you showed
Epd999
Scout
posted 12-05-17 01:03 AM ET (US)     87 / 139       
For your resolution problem, maybe you did not run the program as admin.
Did you resize the window manually for the screenshot ? The bottom of the screen is missing. You should have 2 colored buttons to select the DRS files (data & data2) to use.
I'm pretty sure that I have been running it in admin and I double checked just to make sure but yes, I still have the same problem. I sent as is and did not miss part of the window or modify it in anyway.
If this really fails, you can do "edit game file" in main window menu (make sure to select EXE files first), go to resolution, uncheck and recheck the checkbox => you will be able to change resolution values. Then save.
This doesn't work, setting my resolution back to 800x600 doesn't work either. As in, I still have the same problem as specified on the other topic
No ! AI will train what you tell it to (in deathmatch AI file).
If you create a specific AI file with only archers, AI will train archers. About the population limit, RockNRor will automatically extend it (in memory, not in actual file on your drive) so that AI builds more units. So your AI file written for a 50 pop limit will be OK.
The problem would be the number of buildings, I guess. (and town size but you already suggested a good solution).
If you prefer, you can write an AI file for population=200 (just copy paste lines for houses and units !), this should work too. Just make sure to add houses early enough.

... and don't forget you can use many AI file and just switch using the XML config file (before starting the game). It might be useful.
That's really neat, I'll look into it as soon as I get the chance.

And I'm trying to help you too. You seemed to be going over the fact that I was offering to help you improve the DM AI and focusing on how to make a work around for my problem. At the time I thought my wording would get that message to you, but I didn't mean to cause any offense. I do know modding is difficult, it's taken me a week just to make an AI and Per file that is any good for DM. So much so that it hasn't lost a match against ES .per files. What you've done is great and you should be very proud of what you've been able to achieve but there's always room to improve. But unlike you I have free time, and wanted to help you with the project, particularly the AI to make it more fun for competitive multiplayer players.

If I stay interested enough in it I have 2 years or so to make a good AI that plays like the players in that video. I also have contacts with some of the best DM players in the world to test it, such as recently I sent my AI out as a 1v7/1v5 challenge and they couldn't beat the 1v7. Here's the first version where I was using modified Rome Tool Rush .per's. Here's version 2 of my AI and per based off of what made other pers strong in DM. Version 3 currently has no videos but it is more challenging than Version 1 & 2. I'll be quite happy to send them your way if you want to take a look.

Edit: Is there a way that it can generate random strategies without running AoE so I can view it and analysis it in more detail? Particular a standard random generated Iron Age start Choson Death Match. Also, is it possible to set gather percentage in AI files normally?

Lost Empires Mod
Maybe it's only a fool who'll perilously journey out to what might not be there. But if you want to solve problems, you don't just solve the ones that are there, you find more and make more and go after the impossible ones.
The neanderthals never ventured into the unknown and they went extinct, so who are the fools?

[This message has been edited by Epd999 (edited 12-05-2017 @ 01:46 AM).]

chab
Clubman
posted 12-05-17 11:59 AM ET (US)     88 / 139       
At this point RockNRor can only generate strategies for random map games (single player). I'm trying to implement it for deathmatch.

If you want to "collect" the generated strategy for an AI player (let's say player #2)
- type "gaia2" in chat to get control of player #2
- open menu/rocknror menu
- in the free text field, type "strat" and press return key
- A popup will display the strategy (AI file equivalent) as text

There's a display bug with this screen but you should be able to select the text and copy-paste it to a notepad(notepad++ recommended). CTRL-A does not work in AOE but you can press CTRL-SHIFT-END key to select everything from current cursor pos to end of text field.

I'm afraid you need to run AOE to use the strategy generation, I'm not going into details but there are technical reasons.
BUT you can restart the game (if DM/RM & not saved game) as much as you want => a new strategy will be generated each time, for each player.

About gather percentage:
- There is a fix in RockNRor that helps AI gather more relevant resources than it does in standard game (but it's still not perfect). For example AI no longer collects tons of gold in stone age in RM games
- There are PER numbers to control gatherers percentage, did you try to change their values ?
- RockNror allows customizing the PER numbers (SNxxx) for RM and DM games (for scenario, just upload the PER file you want to use in the scenario). You can use this to force values in specific PER numbers.

I am not certain I understood well your last question. Do you want to add "setgatherpercentage" instructions in AI files ?
It would work, but the game automatically adds some, and the last one wins...


About resolution, I can hardly help until I have an environment of my own to reproduce and troubleshoot. Maybe win10 is less tolerant on DRS files ? Because in older systems, the DRS graphics don't need to match the actual resolution, the game only crashes under some circumstances (when background graphics are too small, i would say)
chab
Clubman
posted 12-10-17 01:21 PM ET (US)     89 / 139       
there's an easy configuration you can try for you DM games.
Add this in the rocknror.xml file, this should boost AI town building in DM

The may help a lot on stone-starting games (not your case here though) and when AI files do not parallelize very well the actions
todler
Clubman
posted 02-05-18 02:40 AM ET (US)     90 / 139       
Hey Chab, could you get in skype? We would like to discuss something with you.
PhatFish
Mr. Beta
posted 09-30-18 09:50 AM ET (US)     91 / 139       
I got this to work on Win10 again! To get around the non-compatible Visual C++ 2013 runtime library, use this all-in-one installer: https://www.majorgeeks.com/files/details/visual_c_runtime_installer.html which also installs much faster. MS is just trolling!
chab
Clubman
posted 09-30-18 10:07 AM ET (US)     92 / 139       
Wow that's great, thank you once again PhatFish.
I could not manage to troubleshoot this issue so I'm really happy you found this.

@Todler: oops for some reason the forums never showed me the topic as "unread" so I did not see your message.

(I don't know if I'm the only one but the read/unread status never work correctly on this site/forum)
PhatFish
Mr. Beta
posted 09-30-18 01:57 PM ET (US)     93 / 139       
Pure luck running in to that I guess. Never had problems with read/unread status.
Epd999
Scout
posted 10-22-18 00:33 AM ET (US)     94 / 139       
Hey, I was wondering whether it's possible to change sound files in game. I'm having trouble modifying the games files, I've tried 8 bit, 16 bit & 32 bit and it doesn't seem to read any. Do you know if I'm messing something up or if it's hard coded?

Lost Empires Mod
Maybe it's only a fool who'll perilously journey out to what might not be there. But if you want to solve problems, you don't just solve the ones that are there, you find more and make more and go after the impossible ones.
The neanderthals never ventured into the unknown and they went extinct, so who are the fools?
chab
Clubman
posted 10-22-18 11:55 AM ET (US)     95 / 139       
Do you mean, you want to modify or add wav files in sound.drs, am I correct ?
From what I see original sounds are 16 bits, 22050 Hz, so you probably better use the same format (even if the game probably uses system stuff to read WAV files).

I have not much messed with sounds in my work, the only thing I can say is that if you are using turtle pack to customize your DRS file, MAYBE it could be the root cause of your issue, because DRS editor corrupts DRS files.

There is a small DRS editor in RockNRorAdmin tool (you don't have to install anything, just run that Exe). UI is not beautiful, but it works, and as far as I know, it produces valid/clean DRS files (I added this feature because turtle pack files always had problems).
If you have no other clues, you might want to try this.
PhatFish
Mr. Beta
posted 11-15-18 08:50 AM ET (US)     96 / 139       
Chab, are you still interested in helping us with the Beyond the Indus project? We could really use your expertise with .exe editing!
chab
Clubman
posted 11-17-18 06:04 AM ET (US)     97 / 139       
Hi PhatFish

Yes maybe I can still help a bit, what exactly are you planning ?

RockNRor already allows to customize freely almost anything in the game, without changing game files (preserving AOE installation)
- use a custom empires.dat from another location
- add/overload graphics or sounds using additional DRS files (and keep original ones unchanged)
- add/overload translation text in text files (no need to edit DLL files) => very easy to support several languages
- add tilesets
- add or overload civilizations, 100% configurable, and AI-compatible (you can either ask RockNRor to dynamically create random AI files -compatible and relevant for AI player's civ and tech tree- or configure in a XML file what AI files are compatible with which civilization)
- Check for issues in custom empires.dat files
- trading works with any units, even for AI players
- triggers in scenarios
- (much much better AI)
- and of course everything is configurable, you can disable features you don't like or use different settings
- Technically RockNRor does not prevent from using one or many separate exe-editing mods. Of course the developers would have to be careful with compatibility with other mods

That should allow Beyond The Indus to work quite well, without modifying original game files, unless there are new features I'm not aware of. Please note it's not even necessary to write a single AI file to run single player games with functional AI players. RockNRor automatically analyzes empires.dat and can generate adapted strategies.
nrdani
Clubman
posted 11-29-18 05:28 PM ET (US)     98 / 139       
I'm having problems with screen resolution. RockNRoR installs fine, but the game itself opens in a window/windowed mode instead of fullscreen. I didn't change anything regarding resolution in RockNRor admin.

My desktop resolution is 1280x1024, but always played the vanilla ROR at the default 800x600. I'd like to keep things that way. How can I make RockNRoR run in fullscreen using the original resolution?

I play AOE on WinXP, so privileges can't be the problem.
chab
Clubman
posted 11-30-18 01:34 PM ET (US)     99 / 139       
you can disable windowed mode.
Run RockNRorAdmin (and open the exe with CTRL-O or CTRL-R), then edit (CTRL-E).
Select Windowed mode, and uncheck the box, then save.

That should be OK.

There is an alternative solution, open ROR_API.conf file in a text editor and transform the line
wndmode.dll
into
#wndmode.dll
nrdani
Clubman
posted 12-01-18 12:19 PM ET (US)     100 / 139       
Thanks chab! Now it works as it did before.

Great job on improving the game in all aspects.

By default 7 hardest were no match for an even an avg player, but now you can't stun units with 2 priests anymore

I have made a Hungarian translation to RockNRor's strings. I can donate it to the mod if you'd like to include it in future releases.

[This message has been edited by nrdani (edited 12-01-2018 @ 01:05 PM).]

« Previous Page  1 2 3 4 5 6  Next Page »
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Empires Heaven | HeavenGames