Find in this manual | ||
Replace with |
XML Debug Options
OOTPB also has a handful of game engine options that are very helpful to players who want to edit in-game text. While there would not usually be a need to change 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 OOTPB in the default location, this will be in c:program filessports interactiveOOTP Baseball 2006dataconfig. You can open this file with Notepad or any text editor.
Warning! You should always close OOTPB before editing this file.
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, 330 is the category ID, and 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 filessports interactiveOOTP Baseball 2006datasaved_gamesX.lg folder (for example datasaved_gamesNewGame 321.lgin_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
There is a configuration file called app that holds the debug settings. If you installed OOTPB in the default location, this will be in c:program filessports interactiveOOTP Baseball 2006dataconfig. You can open this file with Notepad or any text editor.
Warning! You should always close OOTPB before editing this file.
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, 330 is the category ID, and 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 filessports interactiveOOTP Baseball 2006datasaved_gamesX.lg folder (for example datasaved_gamesNewGame 321.lgin_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