|
||||
|
![]() |
#1 |
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. |
![]() |
![]() |
![]() |
#2 |
Minors (Double A)
Join Date: Jan 2008
Posts: 103
|
I hope these show up:
Lines 6228-6231: </TEXT_OBJECT> </TEXT_CATEGORY> <TEXT_CATEGORY id="652"> 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]."/> Last edited by shercot; 11-09-2008 at 07:04 PM. Reason: XML lines not showing up in post. |
![]() |
![]() |
![]() |
#3 |
Minors (Double A)
Join Date: Jan 2008
Posts: 103
|
Okay, probably everybody but me knew that this board doesn't like greater-than and less-than signs, so I substituted curly brackets. I hope these lines show up:
Lines 6228-6231: {/TEXT_OBJECT} {/TEXT_CATEGORY} {TEXT_CATEGORY id="652"} 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]."/} |
![]() |
![]() |
![]() |
#4 |
Minors (Double A)
Join Date: Jan 2008
Posts: 103
|
I should note that I'm using a 933Khz Mac G4 with Mac OS X 10.4.11.
|
![]() |
![]() |
![]() |
#5 | |
Global Moderator
Join Date: Feb 2006
Location: Here
Posts: 6,156
|
Quote:
__________________
This signature is intentionally blank |
|
![]() |
![]() |
![]() |
#6 | |
Minors (Double A)
Join Date: Jan 2008
Posts: 103
|
Quote:
Lines 6225-6229 say: 6225 {/TEXT_OBJECT} 6226 {TEXT_OBJECT id="21248" text="[%team's][%team#1nickname] [%personname f l] Strikes out [%pitching k] [%team#2nickname]"} 6227 {TEXT_CONDITION id="62" value="1"/} 6228 {/TEXT_OBJECT} 6229 {/TEXT_CATEGORY} |
|
![]() |
![]() |
![]() |
Bookmarks |
|
|