Find in this manual | ||
Replace with |
App Config File
The app config file is primarily for application-level settings and debug options. Almost all of the values in the app file can be set inside OOTP from the Preferences screen. OOTP Developments does not recommend modifying this file unless you are requested to do so by OOTP Developments.
Note: You should only modify configuration files when OOTP is closed. Always back up configuration files before modifying!
The app config file is a simple text file with pairs of settings and values, one on each line, like this:
CURRENT_SKIN
ootp modern
To edit the file, simply change the value in the value line, then save the file. Do not create new settings or change the formatting within the file, or it could cause OOTP not to work!
The app config file has the following settings:
Note: You should only modify configuration files when OOTP is closed. Always back up configuration files before modifying!
The app config file is a simple text file with pairs of settings and values, one on each line, like this:
CURRENT_SKIN
ootp modern
To edit the file, simply change the value in the value line, then save the file. Do not create new settings or change the formatting within the file, or it could cause OOTP not to work!
The app config file has the following settings:
Setting | Description |
CURRENT_SKIN | Sets the default skin used by the game. The skin name used here must match the skin folder name in dataskins. This value can also be changed from the Preferences screen. |
ootp modern (or other skin name) | Any row that shows the name of a skin indicates that you have used that skin before. The value below is the version # of the skin. |
show_rebuild_skin | If this is set to 1, there will be an option in the OOTP Menu called "Rebuild Skin, which will allow you rebuild the skin. Used mainly for debugging skin problems. |
FULL_SCREEN | If this is set to 1, the game will load in full-screen mode. (Values: 0=Full screen, 1=Windowed mode) This value can also be changed from the Preferences screen. |
HEIGHT_UNIT | Defines the height unit used in game. (0=Inches, 1=Feet, 2=Centimeters, 3=Meters) This value can also be changed from the Preferences screen. |
MENU_MODE | Defines the menu mode used in game. (Values: 0=Auto open 1=Click to open 2=Use style set) This value can also be changed from the Preferences screen. |
WEIGHT_UNIT | Defines the weight unit used in game. (Values: 0=Kilograms, 1=Stones, 2=Pounds) This value can also be changed from the Preferences screen. |
WINDOW_SIZE | Defines the size of the window used in windowed mode. This value can also be changed from the Preferences screen. |
add_debug_info_to_in_game_commentary | This variable is used for debugging play-by-play text. (Values: 0=Disabled, 1=Enabled) If enabled, the game will display the Category ID and Text Object ID for each text displayed in the game play-by-play, like this: "[330-6442] missed that offering by Dave McNiven, a fastball low..." See the section on customizing in-game text for more information on what this means. |
cache_templates | This variable is used to set if the cache for the templates is enabled or disabled. (Values: 0=Disabled, 1=Enabled) If this is set to 1, the template (.tpl) files used to generate HTML pages in the game are cached the first time they are used. This speeds up HTML page generation in the game. However, it also means that any changes to the templates will not be seen until you restart the game. Set this to 0 if you want the game to stop caching templates. This is typically used only if you are editing the game's HTML templates for some reason. |
compress_html | This variable is used to set if the HTML pages will be compressed or not. (Values: 0=Do not compress, 1=Compress) Compressed HTML will occupy less space but it will create more workload in your computer. |
disable_facegen | If set to 0, FaceGen (fictional face) functionality will be disabled. This value can also be changed from the Preferences screen. However, this is one value that occasionally needs to be modified in the app file, if the game is failing to load due to a FaceGen conflict. |
facegen_mode | Sets the FaceGen mode. (Values: 1=Standard mode, 2=Troubleshooting Mode 1, 3=Troubleshooting Mode 2) This value can also be changed from the Preferences screen. |
endian_files_status | The endian files have to do with processing of FaceGen files, and generally you would never need to touch this value. In some rare cases, such as if you copied your data folder from a PowerPC Mac to an Intel computer and FaceGen doesn't work anymore, you could set this to "0" and OOTP would recopy the necessary endian files to the correct locations based on your operating system. |
dump_in_game_commentary_to_file | This variable is used to set if you want to dump the game pbp to a text file. (Values: 0=Disabled, 1=Enabled) If enabled, the game will automatically dump all play-by-play into a file called in_game.log, saved in the root of your saved game directory. Note: This will substantially slow down performance of game auto-play!. |
facegen_angle | Sets the angle used in FaceGen images. (Values: 0=Random, 1=From the right, 2=From the left, 3=Straight) This value can also be changed from the Preferences screen. |
facegen_zoom | Sets the zoom used in FaceGen images. (Values: 0=In, 1=Normal, 2=Out, 3=Random) This value can also be changed from the Preferences screen. |
facegen_sepia_r | For sepia FaceGen images, sets the "red" color value. |
facegen_sepia_g | For sepia FaceGen images, sets the "green" color value. |
facegen_sepia_b | For sepia FaceGen images, sets the "blue" color value.> |
facegen_female_faces | Sets whether FaceGen will generate female faces. (Values: 0=No female face, 1=Female faces |
handle_team_files_after_import | Sets whether online league team files will be renamed or deleted after import. (Values: 0=Do not delete or rename files after import, 1=Delete team export files after import 2=Rename team export files after import) This value can also be changed from the Preferences screen. |
max_txt_file_cache_size | Sets the maximum size of the text cache. The value is specified in bytes. |
sqldump_create_structure | This sets if the SQL dump will have the database and tables structure information included in the file. (Values: 0=Disabled, 1=Enabled) |
sqldump_csv_delimiter | Sets the separator character used in the csv SQl dump file. This value can also be changed from the Preferences screen. |
sqldump_drop_table | Sets whether a drop table SQL instruction should be included in the SQL dump file. (Values: 0=no drop 1=drop) If the DROP TABLE instruction is added, when you import your dump in a SQL database, all the existing tables with the same name will be deleted and created again. Be careful when setting this ON as it will delete your old SQL tables before importing the new ones. |
sqldump_include_field_names_in_inserts | Sets whether the SQL dump should include the field names in the SQL INSERT instructions. (Values: 0=no field names 1=field names included) |
dump_max_file_size | Max. size in byte for files created during database dump (export). Default is 1048576 (= 1 MByte) |
dump_max_insert_length | Max. length in characters for insert strings in database dump SQL files (export). Default is 262144 (= 256 KByte) |
trace_mode | This is used to set trace mode on/off. (Values: 0=Disabled, 1=Enabled) When enabled, OOTP will export a variety of information into two files called ootp.log and text_engine.log, stored in the data directory of your OOTP installation. Ootp.log stores trace information about what the program is doing. Text_engine.log stores a list of each Category ID, Text Object ID, Condition #, and how many times it has been used since the game was launched. Trace mode only needs to be enabled if OOTP Developments asks you to enable it to troubleshoot an issue. |
ftp_timeout_milliseconds | The amount of time, in milliseconds, before OOTP will time out a FTP connection. |
http_timeout_milliseconds | The amount of time, in milliseconds, before OOTP will time out a HTTP connection. |
help_dialog_mode | Sets whether the in-game help opens using the in-game browser, or your computer's default browser. (Values: 0=OOTP browser 1=external browser) This value can also be changed from the Preferences screen. |
online_mode | Sets how OOTP handles Internet connectivity regarding the online help content. (Values: 0=Do not use online content 1=Always download online content 2=Only update old content) This value can also be changed from the Preferences screen. |
crashed_on_startup | This value is set to 1 automatically if OOTP detects that the game crashed the last time you loaded it. When this value is set to 1, the next time you launch the game, OOTP will display a notice that it detected a crash, and will automatically start the game up with the following settings returned to their default values: Window Size, Full sreen Mode, and Current Skin. |
performance_profiler | Activates the performance profiler, which counts the milliseconds needed for certain program features. A value of "1" will enable it. The results will be added to the file ?. A value of "2" will do the same, but it will additionally open the file in your web browser when you close OOTP. |
enable_performance_tests | If set to 1, OOTP saves some performance data for face creation, simulation, and report creation to ootp.log. |
dat_file_mode | If set to 1, automatic restore function will be disabled. (Default is 2, "enabled") |