The 3rd Age

The 4th Age

The 4th Age

Sets the game into year 220 of the 4th Age, where you play as either Gondor, Rohan, Rhûn or Harad.

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Editing ingame text : CSF & STR

Avatar of Hostile

Hostile

Category: Code
Level: Beginner
Created: Monday March 26, 2007 - 11:01
Updated: Saturday June 27, 2009 - 18:53
Views: 12666
Summary: Learn to edit the in-game text

Rating

Staff says

3.0

Members say

3.3

Average

3.2/5.0

6 votes

Page 1 2 3
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 :
              
Code

OBJECT:RohanGimli
"Gimli"
END


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 :

              
Code

CONTROLBAR:ArrowWind
"Arrow &Wind"
END


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

 HitsAdded
Hex Editor2435April 3, 2007 - 6:35
colorINI2436March 30, 2007 - 17:42
CSF Editor3522March 30, 2007 - 17:29

Comments

Display 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?

--------

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?
Or can I just change lotr.str?

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.

--------

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.

              
Quote
you need to replace the following HEX strings in THIS ORDER!!

Code
0D 0A -> 22 0D 0A 45 4E 44 0D 0A 0D 0A.
3D -> 0D 0A 22
7C -> 5C 6E "


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

in Notepad++ it's Ctrl+H

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
0:13:05