Export Functions
There are several Import/Export functions available in the Import/Export Functions section of the League Functions page. These are mainly helpful to players with more technical experience. Some people use these functions to edit rosters or player statistics. Others use exported data to create third-party utilities.
Warning! Importing data of any kind into a league is a risky proposition. Be sure to back up your data before using any import functions!
Import/Export Rosters
The import/export rosters functions give you the ability to export team rosters to a simple text file. You can then edit this file and re-import the rosters into the game, giving you a quick way to mass-edit your players. When you choose. Export Rosters, you will be prompted for a file name, and then you will receive a confirmation that will let you know where the file has been saved.
The roster file is a simple text file that lists all players in the league in a comma-separated format, broken out by teams. Free agents are listed at the bottom of the file. The file itself includes the list of all the fields used in the file, as well as the numeric team IDs. If you wish to edit the rosters, simply modify the text file, and then re-import the file using the Import Rosters function.
Warning: Never import roster files that are not based on an OOTP export file from the SAME league! The results could ruin your league!
Import/Export Stats
The import/export stats functions give you the ability to export player statistics to three simple text files. You can then edit these files and re-import them into the game (see steps below), giving you a quick way to mass-edit your players' statistical history. Selecting Export Stats will create three files in the 'root' of your saved game directory (Your League.lg): Example path documents/out of the park developments/OOTP Baseball (current version)/saved_games/league_folder.lg/import_export. You can also click on Game >> Game Settings >> Database Tab >> and use the Database Tools drop down menu button and click on "Open data import/export folder"
It is recommended that you backup these files before editing them.
- player_batting_stats.txt
- player_fielding_stats.txt
- player_pitching_stats.txtAs with rosters, the files include some simple information that will help you compile information correctly. To import updated statistics, simply: (1) Export Stats (see above); (2) backup the files; (3) edit and close the files; (4) select Erase Major League Career Stats of All Players; and (5) select the Import Stats function to re-import the statistics.
Note: To import statistics, one or more of the files listed above must be present in the "root" of your saved game directory. You cannot rename these files or import files from another directory.
Export League Structure
This exports your league structure into an XML file which can be read and used by external tools. You can not use this to export your current league structure into another game as there is no import league structure feature.
Import/Export MLB Retired Numbers
Imports all retired numbers from a simple text file and the export will export all retured numbers and descriptions to a text file called retired_numbers.csv in the import_export folder within your league folder found in the saved_games folder. Example path documents/out of the park developments/OOTP Baseball (current version)/saved_games/league_folder.lg/import_export You can also click on Game >> Game Settings >> Database Tab >> and use the Database Tools drop down menu button and click on "Open data import/export folder"