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 Editing ingame text : CSF & STR
In BfME2, EALA decided to drop the CSF format for STR, a far simpler way to deal with strings. lotr.str is located in the data folder, which in turn is located in your language's big file (ie : English.big in most cases). Here's a little breakdown :
The first part is what you will refer to in your code. The part between quotes is what will be displayed ingame. Note that if you use '&' before a letter, it will become a shortcut (ie: pushing 'W' here will trigger Arrow Wind :
and the END closes the block. Note that the edition of STR files is fully supported by colorINI. More information about colorINI can be found in the references. Links / Downloads
CommentsDisplay order: Newest first | Page: 1, 2 Prolong - Wednesday July 28, 2010 - 8:02 Ah I should have mentioned ages ago - your method to convert a CSF file into a STR file will never actually work because it doesn't account for the '=' character in the game's tooltips, so every STR file you make with it will have syntax errors around those tooltips. I don't remember them all but they include the Fortress upgrade tooltips Burning Forges, Eregion Forge, Excavations (or at least two of those)... and I think there's others as well. You'll basically have to manually fix all of these after converting the file, which means starting and crashing the game for the next error message many times until it works. borbak trufa - Friday August 8, 2008 - 11:34 Thanks for this tutorial, it's really useful, I would never have found the ingame text without it. Now I've got one question: Do I have to activate subtitles or do anything other than changing them to get them working? Cos I dunno how to activate subtitles, there ain't an option in BFME settings menu. Or do they activate themselves automatically after being edited? Acronos - Thursday February 7, 2008 - 18:55 If I installed patches for BFMEII, do I have to change the text in those .str files too? Medicleous - Sunday February 3, 2008 - 3:14 Ok done, that helped. However some hundreds of lines failed to convert properly, I had to go in and manually add the " and END commands. Works now though, thanks. m@tt (Team Chamber Member) - Saturday February 2, 2008 - 3:55 The Hex Editor has a replace function (under the search menu), just fill it in and hit Replace All. Medicleous - Friday February 1, 2008 - 17:37 I also don't understand this rediculous tutorial. I've spent ten minutes staring at this hex code and don't know where to start. There's heaps of 0D 0As throughout the code, do I replace all of them? If this is the best the 3rd Age community can do then god help us all. Maereandil - Monday October 22, 2007 - 2:26 May I add that for some languages for Bfme2 and Rotwk the game still uses CSF files. Maybe you can add that. Bart (Administrator) - Sunday August 19, 2007 - 2:22 yes CNCM_BLITZ - Saturday August 18, 2007 - 19:55 I cant understand THIS part.
I dont really know what I am replacing. Is it the part before ->? Bart (Administrator) - Saturday August 18, 2007 - 17:38 you just need to find the 'find and replace' function, which is of course different depending on what hex editor you use |
|||||||||||||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |