Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Technical Support > Earlier versions of OOTP: Closed or Claim Fixed

Reply
 
Thread Tools
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
Old 11-09-2008, 07:01 PM   #2
shercot
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.
shercot is offline   Reply With Quote
Old 11-09-2008, 07:05 PM   #3
shercot
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]."/}
shercot is offline   Reply With Quote
Old 11-10-2008, 09:36 PM   #4
shercot
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.
shercot is offline   Reply With Quote
Old 11-11-2008, 06:14 AM   #5
Tony M
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,156
Quote:
Originally Posted by shercot View Post
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]."/}
Does the {TEXT_OBJECT before line 6228 end with /} or just } - if it's an inline close /} then you can't have a full close {/TEXT_OBJECT}
__________________
This signature is intentionally blank
Tony M is offline   Reply With Quote
Old 11-11-2008, 11:49 AM   #6
shercot
Minors (Double A)
 
Join Date: Jan 2008
Posts: 103
Quote:
Originally Posted by Tony M View Post
Does the {TEXT_OBJECT before line 6228 end with /} or just } - if it's an inline close /} then you can't have a full close {/TEXT_OBJECT}
I'm not a programmer, so bear with me.

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}
shercot is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:46 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments