Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Creating an asset.… Simple Structure B… Proper Fire Arrow… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
|||||||||||||||||||||||||||||||||
Register and log in to move these advertisements down Macro RenamerDownload for BFME, BFME 2, ROTWK
As you know, for some strange reason, when you use the -mod command to make your modifications to BFME, changes in gamedata.ini don't get read. Now, unfortunately that's just the file that contains all the unit data such as health and stuff. There are two things you can do: 1. Change all options directly in the appropriate files. In the end this will result in an unmanagable gibberish. 2. Move the macros (#define BLABLA) somewhere else. Unfortunately, you can't give them the same name, so you have to rename them. However, then you have to update all the references in all the ini files to your new macros, which you had to do by hand... But not anymore! This tool I made does that for you Here's how it works: - Download the rar file and extract it in 'X:\somefolder' - Put a copy of your INI files in 'X:\somefolder\old' (so you will have, for example, 'X:\somefolder\old\commandbutton.ini' and 'X:\somefolder\old\object\goodfaction\units\men\aragorn.ini') - Make a new .bat file, with these codes (save it in 'X:\somefolder')
- Run the bat file by double clicking - Let it run (this will take a long while, but it will report what it's doing) What it will do: - Load all macros in gamedata.ini - Rename them all, by putting a prefix before them (which, in the .bat file above, is 'M_'. change it if you want something else*). - Update all files to reference the new macros, and store them in a new folder * = the prefix can only contain numbers, letters and the underscore. IT MUST NOT begin with a number Now, when it's done, all you have to do is: - move all the macros in 'gamedata.ini' to 'default\water.ini' - move the GameData block in 'gamedata.ini' to a new file 'object\gamedata.ini' - and of course put the new INI files at the appropriate place in your mod smile.gif Notes: - I've programmed this tool not to alter the original files. However, bugs can of course always be present, so have a backup! - You need the Java Runtime Environment for this to work. I've programmed it on version 6 (or 1.6, if you like), but maybe it will work on 5 as well (but get 6 anyway) - If there are files that you are 100% sure, don't contain any references to a macro, delete them before starting, because the program will go trough them anyway, which is a waste of time. Preconverted INI packages If you are just starting your mod, you can download already converted INI packages below. Links / Downloads
CommentsDisplay order: Newest first druchii22 - Saturday September 6, 2008 - 0:57 I tried it, it almost worked without gamecrash (I had to move "createaherodata.inc" into the "default" folder, because of the "includes" that I didn't move). You should say here to don't take this line with others macros when you move them to "water.ini". But it has been very useful to me, I avoid a lot of work, thank you! I gave you a 4 because the time it takes (almost twenty hours, but I forgot the files without macros). |
|||||||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |