Out of the Park Developments Online Manuals
 
Title
KeyExisting Key New Key
Create as
Find in this manual
Case sensitive

Replace with
Logos in Practice
How OOTP Handles Logos
Here's how OOTP reacts the first time it brings up a screen that requires a logo:

  1. OOTP checks in datasaved_games[your saved game].lgnewshtmlimages to see if there are any .PNG files matching the full team (including the city) or league name. If so, it uses that logo, and remembers it for future use.
  2. If not, OOTP checks in datasaved_games[your saved game].lgnewshtmlimages to see if there are any .JPG files matching the team (including the city) or league name. If so, it uses that logo, and remembers it for future use.
  3. If not, OOTP checks in datasaved_games[your saved game].lgnewshtmlimages to see if there are any .PNG files matching just the team nickname. If so, it uses that logo, and remembers it for future use.
  4. If not, OOTP checks in datasaved_games[your saved game].lgnewshtmlimages to see if there are any .JPG files matching just the team nickname. If so, it uses that logo, and remembers it for future use.
  5. If no match is found above, OOTP will repeat the above four steps in datalogos. If a file is found, it will be copied to datasaved_games[your saved game].lgnewshtmlimages and used.
  6. If still no match is found, OOTP will create a basic fictional logo.
Let's look at an example. We have a new game, and one team is called the Boston Bees. We have a global logo file called "Bees.png" stored in datalogos. Here's what OOTP will do when it first tries to display a logo for the Bees:

  1. OOTP checks in datasaved_games[your saved game].lgnewshtmlimages for "Boston_Bees.png". The file isn't found, so OOTP keeps going.
  2. OOTP checks in datasaved_games[your saved game].lgnewshtmlimages for "Boston_Bees.jpg". The file isn't found, so OOTP keeps going.
  3. OOTP checks in datasaved_games[your saved game].lgnewshtmlimages for "Bees.png". The file isn't found, so OOTP keeps going.
  4. OOTP checks in datasaved_games[your saved game].lgnewshtmlimages for "Bees.jpg". The file isn't found, so OOTP keeps going.
  5. OOTP checks in datalogos for "Boston_Bees.png". The file isn't found, so OOTP keeps going.
  6. OOTP checks in datalogos for "Boston_Bees.jpg". The file isn't found, so OOTP keeps going.
  7. OOTP checks in datalogos for "Bees.png". The file is found! OOTP copies it to datasaved_games[your saved game].lgnewshtmlimages , and begins using it for the Boston Bees. It will continue to use this file until we tell it to change.
Creating a Custom Logo
Once you know how to create a logo, the steps to use them are fairly straightforward:

  1. Close OOTP.
  2. If you are planning on overwriting existing team logos, first back up or delete those logos from the file location.
  3. Create a new team or league logo using the information in About Logo Graphics.
  4. Name the file according to the Logo File Naming Conventions.
  5. Copy the file to the file location, overwriting the existing files if necessary.
  6. Open OOTP. Your team or league should now be using your custom logo.
Note: If you choose to create custom .JPG format logos, you must delete the .PNG format logos that were created by the game, or the game will use those instead.