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 > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: General Discussions

Earlier versions of OOTP: General Discussions General chat about the game...

Reply
 
Thread Tools
Old 04-05-2005, 03:03 AM   #1
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
Help with editing LahmanDB

I am trying to create a 2005 roster set by adding 2005 entries into the LahmanDB, but using projected statistics. I was able to do this easily for the pitchers by just adding the entries into the CSV file. However, the batting file is giving me problems because it is already too large to open in Excel and I do not own Access. So, basically, I am asking if there is another way to open/edit the CSV file that I am not aware of. Any help/suggestions on how to approach this would be greatly appreciated.
__________________
June Madness: Links

FTB: andymac
andymac is offline   Reply With Quote
Old 04-05-2005, 12:37 PM   #2
BravesSince66
Minors (Triple A)
 
BravesSince66's Avatar
 
Join Date: Oct 2004
Posts: 238
You can edit it in notepad or any other text base editor. Not as user friendly, of course, but it will work as long as you are careful.
BravesSince66 is offline   Reply With Quote
Old 04-05-2005, 12:54 PM   #3
seth70liz76
All Star Starter
 
Join Date: Feb 2003
Posts: 1,634
Notepad is what I'm using, but like BravesSince66 says, you have to be careful, since you won't find your errors until you run the DB.
__________________
It was a mistake to come back.
seth70liz76 is offline   Reply With Quote
Old 04-05-2005, 03:02 PM   #4
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
OK, what I will probably do is create the entries in a seperate excel file and then copy + paste everything over to notepad once I am done. That should minimize most error risk, I would think. Thanks guys!
__________________
June Madness: Links

FTB: andymac
andymac is offline   Reply With Quote
Old 04-05-2005, 08:04 PM   #5
Kemp
All Star Starter
 
Join Date: Feb 2002
Posts: 1,181
I believe the DB is sorted by year (ascending). In the past, I've opened the file in notepad, deleted a lot of the "top" rows, saved it, and then opened it in Excel.
Kemp is offline   Reply With Quote
Old 04-05-2005, 08:55 PM   #6
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
Quote:
Originally Posted by Kemp
I believe the DB is sorted by year (ascending). In the past, I've opened the file in notepad, deleted a lot of the "top" rows, saved it, and then opened it in Excel.

Nope, the file I have is sorted by the lahmanID. It would be nice if it was the way you mentioned.
__________________
June Madness: Links

FTB: andymac
andymac is offline   Reply With Quote
Old 04-06-2005, 07:52 AM   #7
Kemp
All Star Starter
 
Join Date: Feb 2002
Posts: 1,181
Quote:
Originally Posted by andymac
Nope, the file I have is sorted by the lahmanID. It would be nice if it was the way you mentioned.
Ahhh, sorry. I believe previous versions WERE sorted by year because I know I've done that (deleted rows) in the past.

Maybe it was Ankit's or another custom DB. I don't remember now.
Kemp is offline   Reply With Quote
Old 04-06-2005, 08:41 AM   #8
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
Quote:
Originally Posted by Kemp
Ahhh, sorry. I believe previous versions WERE sorted by year because I know I've done that (deleted rows) in the past.

Maybe it was Ankit's or another custom DB. I don't remember now.

Yea, I'm pretty sure at least one of the edited databases are like that.
__________________
June Madness: Links

FTB: andymac
andymac is offline   Reply With Quote
Old 04-06-2005, 09:49 AM   #9
ctorg
Global Moderator
 
ctorg's Avatar
 
Join Date: Nov 2002
Location: Queens, NY
Posts: 9,848
What I do when I work on Lahman is divide it up into two or three files in notepad, then sort each file how I want in Excel. I then use Excel to recombine the files in the way I want, still divided up, and save as separate files again.

For instance, let's say the batting stats are sorted by year, and you want them sorted by name. In notepad, divide the batting file into three separate files by cutting in pasting. Then open each one in Excel and sort it by name. Then copy, say, A thru J from each into a new Excel spreadsheet, then K thru P, then Q thru Z (just randomly picking letters here). Then sort each of those new spreadsheets by name and close them. Then, if that's all you wanted to do, open them in Notepad and recombine them.

Hopefully that makes some sense. I've done a lot of this stuff, so I might be leaving out things I do automatically.
__________________
My music

"When the trees blow back and forth, that's what makes the wind." - Steven Wright

Fjord emena pancreas thorax fornicate marmalade morpheme proteolysis smaxa cabana offal srue vitriol grope hallelujah lentils
ctorg is offline   Reply With Quote
Old 04-06-2005, 10:07 AM   #10
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
Quote:
Originally Posted by ctorg
What I do when I work on Lahman is divide it up into two or three files in notepad, then sort each file how I want in Excel. I then use Excel to recombine the files in the way I want, still divided up, and save as separate files again.

For instance, let's say the batting stats are sorted by year, and you want them sorted by name. In notepad, divide the batting file into three separate files by cutting in pasting. Then open each one in Excel and sort it by name. Then copy, say, A thru J from each into a new Excel spreadsheet, then K thru P, then Q thru Z (just randomly picking letters here). Then sort each of those new spreadsheets by name and close them. Then, if that's all you wanted to do, open them in Notepad and recombine them.

Hopefully that makes some sense. I've done a lot of this stuff, so I might be leaving out things I do automatically.

Excellent idea, this will save me a ton of time. Thanks!
__________________
June Madness: Links

FTB: andymac
andymac 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 02:44 AM.

 

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