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 > Out of the Park Baseball 26 > OOTP Mods > OOTP Mods - In-Game Text and PbP Commentary

Reply
 
Thread Tools
Old 01-27-2019, 02:10 PM   #1
Matt Arnold
OOTP Developer
 
Matt Arnold's Avatar
 
Join Date: Jun 2009
Location: Here and there
Posts: 15,812
English.xml Links

Below you can find links to basic descriptions of the categories, tokens, and conditions available to edit for the text engine. Please note that some descriptions may be out of date, and not every category is actually currently in use.

Categories: https://www.dropbox.com/s/vemlo58c0i...ories.xls?dl=0
Tokens: https://www.dropbox.com/s/3zblxth7xg...okens.xls?dl=0
Conditions: https://www.dropbox.com/s/7cyjonm4ey..._List.xls?dl=0
Matt Arnold is offline   Reply With Quote
Old 02-02-2019, 06:52 PM   #2
stealofhome
Hall Of Famer
 
stealofhome's Avatar
 
Join Date: Apr 2014
Posts: 2,282
Thank you for posting this. Is there some way to edit what emails get sent using this information? I tried deleting the shutouts category but the emails still get sent, they just have an error: category not found heading.
stealofhome is offline   Reply With Quote
Old 02-16-2019, 06:22 PM   #3
fredbeene
All Star Starter
 
Join Date: Aug 2016
Posts: 1,619
Quote:
Originally Posted by Matt Arnold View Post
Below you can find links to basic descriptions of the categories, tokens, and conditions available to edit for the text engine. Please note that some descriptions may be out of date, and not every category is actually currently in use.

Categories: https://www.dropbox.com/s/vemlo58c0i...ories.xls?dl=0
Tokens: https://www.dropbox.com/s/3zblxth7xg...okens.xls?dl=0
Conditions: https://www.dropbox.com/s/7cyjonm4ey..._List.xls?dl=0
Thank you! please update the help document for the game with these links.
I hope these will be enhanced in the future!
fredbeene is offline   Reply With Quote
Old 04-25-2020, 09:23 AM   #4
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
i just noticed that there are conditions numbered 389,391,392, 394-414 in the latest text file. does anyone know what they are, and/or can update the conditions list table with the new ones? (edit) also noticed new categories 944-954. some of these are rather obvious, like 954 is the winner of the homerun derby. but would be nice to have all this new stuff added to the lists.
__________________
v'

Last edited by blackrussian; 04-25-2020 at 09:31 AM. Reason: added more information
blackrussian is offline   Reply With Quote
Old 06-28-2020, 09:15 PM   #5
fredbeene
All Star Starter
 
Join Date: Aug 2016
Posts: 1,619
Quote:
Originally Posted by blackrussian View Post
i just noticed that there are conditions numbered 389,391,392, 394-414 in the latest text file. does anyone know what they are, and/or can update the conditions list table with the new ones? (edit) also noticed new categories 944-954. some of these are rather obvious, like 954 is the winner of the homerun derby. but would be nice to have all this new stuff added to the lists.
Not sure when there are additions (no column for version), or what happens to our own personal additions when we upgrade each year.
Appears we lose them and have to build them back in?
fredbeene is offline   Reply With Quote
Old 06-28-2020, 11:37 PM   #6
Syd Thrift
Hall Of Famer
 
Syd Thrift's Avatar
 
Join Date: May 2004
Posts: 10,611
At the very least, your 20 folder is not the same as your 19 folder so you’d need to move your english.xml file over. At that, though, I’d look at the 20 english.xml to see if there’s new categories or what have you that you need to add in. And of course, make a backup of the 20 file before you overwrite it.
__________________
Quote:
Originally Posted by Markus Heinsohn
You bastard....
The Great American Baseball Thrift Book - Like reading the Sporting News from back in the day, only with fake players. REAL LIFE DRAMA THOUGH maybe not
Syd Thrift is offline   Reply With Quote
Old 07-05-2020, 10:55 PM   #7
fredbeene
All Star Starter
 
Join Date: Aug 2016
Posts: 1,619
Quote:
Originally Posted by Syd Thrift View Post
At the very least, your 20 folder is not the same as your 19 folder so you’d need to move your english.xml file over. At that, though, I’d look at the 20 english.xml to see if there’s new categories or what have you that you need to add in. And of course, make a backup of the 20 file before you overwrite it.
thank you -
I have searched but i do not see anyone that has uploaded additions enhancements.
I find that hard to believe....20 years in people must have added some fun to the pbp??

it really helps with the immersion into the game.
fredbeene is offline   Reply With Quote
Old 04-05-2024, 05:09 PM   #8
Déjà Bru
Hall Of Famer
 
Déjà Bru's Avatar
 
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
Matt, thanks for those links to your spreadsheets. While I would not even presume to create new material (for now, at least), these tables will greatly help in correcting the occasional typo in english.xml and storylines_english.xml.
__________________

- Bru


Déjà Bru is offline   Reply With Quote
Old 04-05-2024, 05:28 PM   #9
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 16,427
Bru, please report typos so we can fix them for everyone. Thanks.
pstrickert is offline   Reply With Quote
Old 03-31-2025, 07:24 PM   #10
Déjà Bru
Hall Of Famer
 
Déjà Bru's Avatar
 
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
This thread is like striking gold. I had to use Google Search repeatedly to find it again.*

The links to Matt's Dropbox files still work, and I see that this is part of the Mods forums that are being brought forward now to OOTP 26. So, there is a chance that this post will be seen.

First, my thanks to Matt once again for having posted this in the first place. This time, I have downloaded AND saved these spreadsheet files. (I neglected to do the latter last year.)

Second, pstrickert, will you see this and respond? Per your request, I am reporting this error; the second name reference is incorrect:

Name:  fictional_mlb_2005-09-18_19-03-27.jpg
Views: 249
Size:  33.9 KB

You want us to "please report typos so we can fix them for everyone" and I certainly want the same. But here is the situation: I am still on OOTP 25 and probably will be for the foreseeable future. Hence I cannot rely on your fixes for OOTP 26.

So, if I post what I find, which may gain momentum because I am playing the heck out of OOTP 25 now that I have committed to it long-term, will you answer some hopefully quick questions?

Such as this. I found the entry (yellow highlight) in storylines_english.xml:

Name:  Image0682.jpg
Views: 263
Size:  103.6 KB

Am I correct in saying the error is in the second "%personname#1" and that it should have been "%personname#2" as in similar messages in which a manager has a comment to make (e.g., green highlight)?

And one auxiliary question: Are these XML entries all hard-coded someplace, so that the game knows "%personname#1" is the player and "%personname#2" is the manager just from having picked a certain player to apply the circumstance to? That is, the first person is the player and the second person is his manager? That's what has me head scratching — how does the XML file know whom we are talking about from these generic codes?

I am not asking for a tutorial. As a matter of fact, I have put together a document from the In-Game Text section of the defunct online manual. I just need a few details cleared up . . . in exchange for future typo reporting?

*EDIT: All right, all right, stop laughing. I saw, after I posted this and went back out to the forum, that this thread was stickied. Well, good!
__________________

- Bru



Last edited by Déjà Bru; 03-31-2025 at 07:33 PM.
Déjà Bru is offline   Reply With Quote
Old 03-31-2025, 07:49 PM   #11
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 16,427
I believe you've identified the problem. #2 must refer to the manager. But this is actually a storyline. I don't have access to that database. In fact, I'm not sure who handles storylines. joefromchicago used to, I think. As for how everything holds together, Matt would know. All I know is that it can get quite complicated.
pstrickert is offline   Reply With Quote
Old 03-31-2025, 09:07 PM   #12
Déjà Bru
Hall Of Famer
 
Déjà Bru's Avatar
 
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
Quote:
Originally Posted by pstrickert View Post
I believe you've identified the problem. #2 must refer to the manager. But this is actually a storyline. I don't have access to that database. In fact, I'm not sure who handles storylines. joefromchicago used to, I think. As for how everything holds together, Matt would know. All I know is that it can get quite complicated.
Thank you, my friend. I will take action along those lines in this instance.

So, as to my other question, is it embedded in the program that, were it to select Article ID = "72" and apply it, either randomly or due to some protocol, to Player X, it is hard-coded so that "%personname#1" will display that player's name and "%personname#2" will display his manager's name (subject to the suffixes f and l as to format)?

Say the text was rearranged a bit. Say it reads "Giants manager So-and-So announced today that RP Such-and-Such has an undisclosed injury. When questioned about the exact nature of the injury, So-and-So responded with a curt 'Mind your own darned business' and left the podium." Would that be as follows?

<TEXT>[%teamnickname] manager [%personname#2 f l] announced today that RP [%personname#1 f l] has an undisclosed injury. When questioned about the exact nature of the injury, [%personname#2 l] responded with a curt 'Mind your own darned business' and left the podium.</TEXT>

In other words, person #2 is the manager and person #1 is the player, regardless of their order of appearance in the text?
__________________

- Bru



Last edited by Déjà Bru; 03-31-2025 at 09:11 PM.
Déjà Bru is offline   Reply With Quote
Old 03-31-2025, 09:37 PM   #13
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 16,427
Only Matt knows! No, seriously, as I understand it, recaps and news stories assume the potential appearance of specific persons (starting pitcher, winning pitcher, key performer, winning manager, losing manager, etc.). Each is assigned a token. But I don't think we can assume all of these tokens will always be available for each recap or news story. It kind of depends on what event or result is being described. Things get tricky when the recap or story assumes multiple persons will appear in a specific order. "Rewriting" a text object could reverse the order in which persons appear. Sorry I can't be more helpful.
pstrickert is offline   Reply With Quote
Old 03-31-2025, 09:40 PM   #14
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 16,427
To make things worse, you're referring to a storyline, which may or may not follow the same rules.
pstrickert is offline   Reply With Quote
Old 03-31-2025, 09:45 PM   #15
Déjà Bru
Hall Of Famer
 
Déjà Bru's Avatar
 
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
Quote:
Originally Posted by pstrickert View Post
Only Matt knows! No, seriously, as I understand it, recaps and news stories assume the potential appearance of specific persons (starting pitcher, winning pitcher, key performer, winning manager, losing manager, etc.). Each is assigned a token. But I don't think we can assume all of these tokens will always be available for each recap or news story. It kind of depends on what event or result is being described. Things get tricky when the recap or story assumes multiple persons will appear in a specific order. "Rewriting" a text object could reverse the order in which persons appear. Sorry I can't be more helpful.
No, no, you've been very helpful and I thank you once again.

That's enough to go on; I was initially stymied by the vagueness of %personname until I began to realize that these XML entries are just serving as placeholders, not determining which player or manager is involved. The program has already selected those identities and all we are doing in the XML file is supplying the program with which names that we want to use.

Quid pro quo: If it's all right, I will post whatever else that I find in this thread, whether it's in english.xml or storylines_english.xml (I will always identify which file is involved). There should be somebody in charge of the latter file; hopefully whomever that is will notice this thread and take action.
__________________

- Bru


Déjà Bru 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 01:40 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