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: 12655
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
Converting CSF to STR

This bit will explain how to convert a BFME CSF file into a STR file (which can also be used by BFME), which is much easier to edit.


  • Open your csf file with CSFEditor.
  • Select 'File' / 'Export' / 'to ini'
  • save it somewhere as LOTR.INI (NOT in the lang folder of bfme, stick it on your desktop or something.)
  • next, open that new ini file with a hex editor
  • you can delete this bit:
  •               
    Code
    [Header]
    Language=0

    [Table]

  • then find the replace function
  • 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

  • Then save the file into your data folder as LOTR.STR.
  • once saved, open it in notepad go to the end of the file and remove the extra:
  •               
    Code

    "
    END

Links / Downloads

 HitsAdded
Hex Editor2430April 3, 2007 - 6:35
colorINI2430March 30, 2007 - 17:42
CSF Editor3516March 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."

 
16:47:33