Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Out of the Park Baseball 18 > OOTP 18 - General Discussions

OOTP 18 - General Discussions Everything about the 2017 version of Out of the Park Baseball - officially licensed by MLB.com and the MLBPA.

Reply
 
Thread Tools
Old 01-06-2018, 01:16 PM   #1
dpd376
Minors (Double A)
 
Join Date: Dec 2009
Posts: 104
Custom database won't import

I made a copy of the database folder and change the era_stats.txt file to deflate the steroid era some. Then on the database page of game settings I pointed the game at my custom folder.

The problem is each year the game imports stats from the era_stats file in the default database. I've triple checked the two files and the formats seem to be the same down to the length of decimals used in each column. I'm importing real historical players, so PCM's aren't the problem. What am I doing wrong?
__________________
"I hate astroturf, but I love the game astroturf produces."
Bill James

Last edited by dpd376; 01-06-2018 at 01:21 PM.
dpd376 is offline   Reply With Quote
Old 01-06-2018, 03:03 PM   #2
NoOne
Banned
 
Join Date: Apr 2015
Posts: 7,273
Infractions: 0/1 (3)
that file is a mess tot he eye... most likely you missed a comma or added an extra one etc.

easy to know for sure... keep the game pointed to your new directory for era_stats blah blah...

put your 'new' file somehwer safe, like the desktop or anywhere but it's original game location or the new game location.

replace the new direcotry contents with the orignal, unedited era_stats. file. (any anythign else you chagned with original).. if the game works you know it's your edits that are the cause.

eliminate teh most likely cause first... then go from there.
NoOne is offline   Reply With Quote
Old 01-06-2018, 04:12 PM   #3
dpd376
Minors (Double A)
 
Join Date: Dec 2009
Posts: 104
Quote:
Originally Posted by NoOne View Post
that file is a mess tot he eye... most likely you missed a comma or added an extra one etc.

easy to know for sure... keep the game pointed to your new directory for era_stats blah blah...

put your 'new' file somehwer safe, like the desktop or anywhere but it's original game location or the new game location.

replace the new direcotry contents with the orignal, unedited era_stats. file. (any anythign else you chagned with original).. if the game works you know it's your edits that are the cause.

eliminate teh most likely cause first... then go from there.
.

But the problem is I'm getting the default stats for some reason, so wouldn't putting in the default file in the new directory just have the same outcome? I'd understand if it said file is invalid or returned garbage.

But yes I will recheck the edit, maybe something happened when in excel when I went from txt to csv and then back.
__________________
"I hate astroturf, but I love the game astroturf produces."
Bill James

Last edited by dpd376; 01-06-2018 at 04:14 PM.
dpd376 is offline   Reply With Quote
Old 01-06-2018, 09:52 PM   #4
NoOne
Banned
 
Join Date: Apr 2015
Posts: 7,273
Infractions: 0/1 (3)
if format is bad, it may default back to a working version of the file. on second thought, just change one thing in the current import year and test to make sure it's not something simple first. then, .....

avoid the whole thing all together:
change the name of the orginal to OLD_era_stats.txt or whatever original extension is. move your edited one to the normal location. unless you have multiple leagues?

not an option?
keep trial and error with various options on that database settings page.

screenshot and submit a bugs report in that forum if you are certain it's setup correctly and somethign is amiss in application of your settings / choices.

Last edited by NoOne; 01-06-2018 at 09:55 PM.
NoOne is offline   Reply With Quote
Old 01-07-2018, 08:22 PM   #5
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,253
to check your edits change the file extension from txt to csv and open with a spreadsheet. It will then all be in proper columns and easy to check. Just rename it back when done.
__________________
It's madness, madness, I tell you! For the love of God, don't do it!
Spritze is offline   Reply With Quote
Old 01-08-2018, 01:14 PM   #6
dpd376
Minors (Double A)
 
Join Date: Dec 2009
Posts: 104
Quote:
Originally Posted by Spritze View Post
to check your edits change the file extension from txt to csv and open with a spreadsheet. It will then all be in proper columns and easy to check. Just rename it back when done.
Thanks, that's how I do all my edits, but I'm going to use WinMerge on the text files, since I did that already, I just didn't get around to it this weekend. I'm sure it's just one little thing that's off.
__________________
"I hate astroturf, but I love the game astroturf produces."
Bill James
dpd376 is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:54 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments