OOTP Baseball:Customizing OOTP/Game Configuration Files: Difference between revisions

From OOTP Wiki
Twins 34 (talk | contribs)
Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}}"
 
Twins 34 (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}In addition to the plethora of in-game options and settings that allow you to tweak the game, OOTP also has several '''configuration files''' that are outside of the game engine. Most users will never need to touch configuration files, but under certain circumstances, some users may find a need to tweak these files.
 
The configuration files are stored in a hidden directory, but can be accessed from inside the game by using the '''Open Config Folder''' option on the Preferences screen, or entering %appdata% in Windows 8 File Explorer. OOTP config files are simple text files that can be opened with any text editing program; they have a ".cfg" extension.
 
''Note: You should only modify configuration files when OOTP is closed. Always back up configuration files before modifying!''
 
There are two configuration files of interest:
 
* [[OOTP 25:Customizing OOTP/Game Configuration Files/App Config File|App Config File]]
* [[OOTP 25:Customizing OOTP/Game Configuration Files/Engine Config File|Engine Config File]]
 
===== Path Files =====
There are also a few additional configuration files that appear in the same directory, but there typically is not any need to modify these files. These files are as follows:
 
* '''recent_paths''' - Any time you open a file in OOTP through a file dialog, for example when you load a new team logo, OOTP uses this file to remember the path, so that the next time you load a team logo, OOTP will default to the same path.
* '''favorite_paths''' - Any time you use a file dialog, for example in the above team logo example, the path you used will be added to the "Favorites" drop-down that is visible in any file dialog within the game.
* '''paths''' - This file stores a few important path variables:
** '''path_user_data''' - (e.g., D:/games/ootp24/data) This contains the saved_games folder
** '''path_cust_data''' - (e.g., D:/games/ootp24/data) This contains the folders ballparks, pictures, and so on. (Usually, these paths are identical.) Most people won't need write access to these folders, but if you want to customize the game you will need write access, so we need to put this folder into the user's home directory. If you have multiple installations of OOTP 24 on the computer, you can put the paths.cfg file into the same folder where the exe is, so each installation can have its own paths.cfg.

Latest revision as of 07:01, 13 September 2024

In addition to the plethora of in-game options and settings that allow you to tweak the game, OOTP also has several configuration files that are outside of the game engine. Most users will never need to touch configuration files, but under certain circumstances, some users may find a need to tweak these files.

The configuration files are stored in a hidden directory, but can be accessed from inside the game by using the Open Config Folder option on the Preferences screen, or entering %appdata% in Windows 8 File Explorer. OOTP config files are simple text files that can be opened with any text editing program; they have a ".cfg" extension.

Note: You should only modify configuration files when OOTP is closed. Always back up configuration files before modifying!

There are two configuration files of interest:

Path Files

There are also a few additional configuration files that appear in the same directory, but there typically is not any need to modify these files. These files are as follows:

  • recent_paths - Any time you open a file in OOTP through a file dialog, for example when you load a new team logo, OOTP uses this file to remember the path, so that the next time you load a team logo, OOTP will default to the same path.
  • favorite_paths - Any time you use a file dialog, for example in the above team logo example, the path you used will be added to the "Favorites" drop-down that is visible in any file dialog within the game.
  • paths - This file stores a few important path variables:
    • path_user_data - (e.g., D:/games/ootp24/data) This contains the saved_games folder
    • path_cust_data - (e.g., D:/games/ootp24/data) This contains the folders ballparks, pictures, and so on. (Usually, these paths are identical.) Most people won't need write access to these folders, but if you want to customize the game you will need write access, so we need to put this folder into the user's home directory. If you have multiple installations of OOTP 24 on the computer, you can put the paths.cfg file into the same folder where the exe is, so each installation can have its own paths.cfg.