|
||||
|
05-31-2006, 08:30 AM | #1 |
Hall Of Famer
|
XML Debug Options
OOTPB has some text debugging capabilities built into the program. While there would not usually be a need to mess with these during normal game play, they are invaluable for testing text.
There is a configuration file called app that holds the debug settings. If you installed in the default location, this will be in c:\program files\sports interactive\OOTP Baseball 2006\data\config. You can open this file with Notepad or any text editor. In the file, there are two options related to text editing: add_debug_info_to_in_game_commentary If you change the value for this entry from 0 to 1, when you play the game, the Category ID and the Text Object ID will be displayed for each text object that appears in the game, like this: [330-6442] missed that offering by Dave McNiven, a fastball low... In this case, the 330 is the category ID, and the 6442 is the text object ID. You can then find these within the english.xml file by searching for "id="6442"", for example. This is incredibly helpful if you see an option that you don't like, because you can easily find it and eliminate it from the XML file. This setting affects both game play-by-play and news articles. dump_in_game_commentary_to_file If you change the value for this entry from 0 to 1, the game will automatically dump the full play-by-play for all games simmed into a file in_game.log in the c:\program files\sports interactive\OOTP Baseball 2006\data\saved_games\X.lg folder (for example \data\saved_games\NewGame 321.lg\in_game.log"). It's important to note that the game will spit out PbP for every game on the docket, not just the one you are simming, so don't auto-play a long period of time with this turned on. This option also causes play-by-play not to display on the screen, and it slows down auto-play tremendously. So, it's really exclusively for debugging. Note: Always change these options when OOTPB is not running. |
Bookmarks |
|
|