Saturday, March 25, 2017

Adding Stadium Art to Baseball Mogul

I got an email this morning with the following question:
  1. I am trying to use this photo of Jarry Park in Baseball Mogul, but all the numbers are skewed. The batter is nowhere near home plate, the first baseman is almost on the pitchers mound... what can I do to fix this?
They attached a file called PBP-Stadium-Montreal.jpg:




To verify the problem, I copied this file to my 'Stadiums' folder and started a new game as the 1974 Expos. When I went into Play-By-Play mode for their first home game, the field looked like this:


As reported, the ratings for all the fielders are in the wrong place on the field (as are the outfield fence distances). This is because every stadium photo requires a matching text file that specifies the coordinates that Baseball Mogul needs to use when drawing these labels.

To get these coordinates, open the photo in a graphical editing program. I use the "Paint" program included with Windows. Baseball Mogul assumes a photo size of 640 x 480 pixels, so you should resize your photo before proceeding.

Microsoft Paint displays the coordinates of your cursor in the lower left corner of the window. Start by placing your cursor over home plate and record the coordinates to a text file. Continue this process for each of the following locations on the field, typing each set of coordinates on it's own line. (If the foul poles are outside the picture, estimate their coordinates.)

Home Plate
First Base
Second Base
Third Base
Left Field Corner
Center Field Wall
Right Field Corner

After each pair of coordinates, you can add a comment by typing '//' and the following it with a useful label. When done with PBP-Stadium-Montreal.jpg, my text file looks like this:

318,351 // HOME_PLATE_COORDINATES Bottom corner
515,290 // FIRST_BASE_COORDINATES Outside corner
321,250 // SECOND_BASE_COORDINATES Top corner
128,285 // THIRD_BASE_COORDINATES Outside corner
-47,221 // LEFT_FIELD_COORDINATES Base of foul pole
324,194 // CENTER_FIELD_COORDINATES Base of CF wall
700,229 // RIGHT_FIELD_COORDINATES Base of foul pole

Save this file with the same filename as the stadium photo, but add the ".ini" file extension (e.g. PBP-Stadium-Montreal.ini).

When I go back into Baseball Mogul 2016 and resumed the game with the 1974 Expos, the stadium view now looks like this:


Much better!

10 comments:

hitting lessons said...

All three of my kids cherished future celebrity baseball ideologies, clinics and lessons! We did it just about all! In The Zone Baseball & Competitive softball Academy is the greatest! He is an excellent trainer, really expert, all-around excellent man! We recommend pitching instruction!

Louis Feoncy said...

I’m sure you will provide the more awesome blogs like these blogs that I’ve enjoyed a lotgreat shoes.

Rey Johnson said...

Hurrah, that’s what I was trying to get for, just what a stuff Presented at this blog!! Thanks admin of the site https://www.gympros.com/.

Nancy Garero said...

Keep the balls rolling!! Nice posts you have given for us.poker online

Daniel Ryan said...

I’m eager to find the valuable information and for me this is the right place to get the good stuff.
ABBIE

IT - Spring Cleaning said...

the greatest thing about any experienced and well recognized cleaning products is they will always benefit from best solutions which would make their house appear mainly because fresh together with spanking different. At circumstances manual methods really don't clean released the surroundings from a best possible it's the cleaning service provided by the agencies. deep cleaning in dubai

Mattie Best said...

Hi I was searching for the blogs for many times, now I have reached at the right place.
best deals

Click Here said...

Artificial surfacing is a preferred option for many players when compared to all-natural surfacing. The reason for this is due to the permeable properties which come with synthetic surfaces. This means that water can drain through easily and so the facility may be used in all weather conditions Click Here...

Justin Gaberial said...

I've been very happy with the work which Shelton Roofing has been doing. I got an estimate, and within 7 days the job was finished. A great work ended. I would recommend Shelton Roof covering in order to anyone looking for a thorough, reliable, fair, reasonable, accountable organization at sheltonroofing.com.

GuyWithBeard said...

I tried this and it didn't work, are you sure it's not the top left hand corner you start from?