View Single Post
Old 11-09-2008, 06:55 PM   #1
shercot
Minors (Double A)
 
Join Date: Jan 2008
Posts: 103
Editing english.xml

I've been trying to edit the english.xml file for a while because, for instance, when the autoplay window says "[My League] announces Rookie of the Year" or "Major trade in [My League]," I'd like to see the names of the players involved. So I've made my edits.

Problem is, I'm getting the following error when I try to run the game, just before the main screen comes up:

XML parsing error
mismatched tag at line 6229
ÿéà

Here, as near as I can tell, are lines 6228-6231 (ignore the curly brackets):

} </TEXT_OBJECT>
} </TEXT_CATEGORY>
}
} <TEXT_CATEGORY id="652">

When I click on OK and run my sim (long-term, all autoplay) anyway, the article headlines (except for the ones that I guess are hard-coded) all say something like "#Error category not found."

Meanwhile, the only reference to TEXT_CATEGORY id="652" I found was in line 13924:

{<TEXT_OBJECT id="652" text="Which [%subleaguename] hurler dominated in the month of [%month previous]?(nl)According to the voters who decide the [%subleaguename] Pitcher of the Month award, it was [%personlink] of the [%teamlink nick].(nl)(nl)He put together a record of [%pitching w]-[%pitching l] with an ERA of [%pitching era] in [%pitching gs] starting assignments. In addition, he struck out [%pitching k] in [%pitching ip word]."/>

(I shouldn't even see that text at any point during autoplay, right?)

I did a side-by-side comparison of my english.xml file and the one that came with 9.2.2. (It's easy and not very time-consuming if you use Excel.) There was one line I'd screwed up, so I fixed that, but otherwise, the only differences between my version and the 9.2.2 version were in the lines I'd changed specifically.

I'll go through those again to make sure I didn't leave out a bracket or something, but failing that, do you know why I can't use my english.xml file?

Meanwhile, in trying to post this, for some reason the server hasn't been showing the XML lines I inserted above; if necessary, I'll get them up here somehow.

Thanks.

Last edited by shercot; 11-10-2008 at 09:35 PM. Reason: Server added extra lines at top; didn't show others.
shercot is offline   Reply With Quote