Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 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 07-20-2010, 09:06 PM   #1
Klew1986
Hall Of Famer
 
Klew1986's Avatar
 
Join Date: Apr 2003
Posts: 2,727
Issue with Player History Screen

I am having an issue with the player history screen and how it's formated. I recently got a MacBook Pro and installed ootp11 on it and then transfered a solo game I started on my old DELL computer. I have posted a picture of what it looks like. It isn't just one player, but it's most of the players I have checked.

It's all like in one paragraph towards the bottom of it. I transfered it over to my Mac after the 1st season, so not sure if that had anything to do with it as it's a different format than Windows.

Is there any solution to fix this?


Last edited by Klew1986; 07-20-2010 at 09:11 PM.
Klew1986 is offline   Reply With Quote
Old 07-20-2010, 09:12 PM   #2
scott1964
Hall Of Famer
 
Join Date: Oct 2005
Location: Denver
Posts: 5,622
Maybe the different platforms are not backwards compatible?
__________________
This just feels more like waiting in line at the Department of Motor Vehicles.

PETA.....People Eating Tasty Animals.

scott1964 is offline   Reply With Quote
Old 07-20-2010, 09:21 PM   #3
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
The data you are seeing is stored in text files. In text files, Mac uses a CR (carriage return) while Windows uses CRLF (Carriage Return+Line Feed).

Just to make things one big happy umm... mess, Unix (and I believe therefore Linux) uses LF (Linefeeds).

What you are seeing is the text files being split between using CR and CRLF for linebreaks - and OOTP is expecting just one kind of linebreak character.

What is the game currently on now? Mac?
BMW is offline   Reply With Quote
Old 07-20-2010, 09:36 PM   #4
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
I know little about Macs, but this little utility was compiled for Mac/Win/Unix.

https://ccrma.stanford.edu/~craig/utility/flip/

In your savegame folder, you should see a filepath: \<myleague.lg>\news\txt\players

Take that players directory and simply make a copy of it and all its files in the news/txt directory.

Get your flip utility and place it in the players folder.

Get to a command line and then run:
flip -m *.* (if Mac uses syntax similar to Windows)

Code:
Usage: flip [-t|-u|-d|-m] filename[s]
   Converts ASCII files between Unix, MS-DOS/Windows, or Macintosh newline formats

   Options:
      -u  =  convert file(s) to Unix newline format (newline)
      -d  =  convert file(s) to MS-DOS/Windows newline format (linefeed + newline)
      -m  =  convert file(s) to Macintosh newline format (linefeed)
      -t  =  display current file type, no file modifications
This should convert all the Windows linebreaks to Mac.

Load the game and see what it looks like. If it's even worse, revert back to your backup directory.
BMW is offline   Reply With Quote
Old 07-20-2010, 10:25 PM   #5
Klew1986
Hall Of Famer
 
Klew1986's Avatar
 
Join Date: Apr 2003
Posts: 2,727
I tried to run that command, but it didn't work. Do you use AIM. I am on if you do. Klew1987 is my SN
Klew1986 is offline   Reply With Quote
Old 07-20-2010, 10:48 PM   #6
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
Quote:
Originally Posted by Klew1986 View Post
I tried to run that command, but it didn't work. Do you use AIM. I am on if you do. Klew1987 is my SN
It's not a built in command for any OS. You need to download that executable.
BMW is offline   Reply With Quote
Old 07-20-2010, 10:51 PM   #7
Klew1986
Hall Of Famer
 
Klew1986's Avatar
 
Join Date: Apr 2003
Posts: 2,727
I downloaded the thing from that site, but I don't know if Mac has a command prompt.
Klew1986 is offline   Reply With Quote
Old 07-20-2010, 10:54 PM   #8
Klew1986
Hall Of Famer
 
Klew1986's Avatar
 
Join Date: Apr 2003
Posts: 2,727
I couldn't find any executable file on that site for a Mac.

I may just give up and deal with the issue. It's not that big of an issue.
Klew1986 is offline   Reply With Quote
Old 07-20-2010, 11:10 PM   #9
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
Quote:
Originally Posted by Klew1986 View Post
I couldn't find any executable file on that site for a Mac.

I may just give up and deal with the issue. It's not that big of an issue.
Isn't "Compiled in Mac OS X.3" the one you're looking for?
BMW is offline   Reply With Quote
Old 07-20-2010, 11:14 PM   #10
Klew1986
Hall Of Famer
 
Klew1986's Avatar
 
Join Date: Apr 2003
Posts: 2,727
Yeah, I downloaded that and then placed it in my players folder, but I don't know what to type into the command thing.
Klew1986 is offline   Reply With Quote
Old 07-20-2010, 11:31 PM   #11
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
Quote:
Originally Posted by Klew1986 View Post
Yeah, I downloaded that and then placed it in my players folder, but I don't know what to type into the command thing.
I can't really help you there, sorry. I'm not a Mac.
BMW is offline   Reply With Quote
Old 07-20-2010, 11:41 PM   #12
Klew1986
Hall Of Famer
 
Klew1986's Avatar
 
Join Date: Apr 2003
Posts: 2,727
Thanks for trying. I appreciate it.
Klew1986 is offline   Reply With Quote
Old 07-21-2010, 12:29 AM   #13
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,842
Klew, there's enough of them out there. If you don't get a response in a relatively short amount of time to your question, I suggest you either start a new thread Ping Mac Users: Player History, or something of the sort and/or email battisti. I believe he has some skills there.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 07-26-2010, 03:51 AM   #14
darvish11
Bat Boy
 
darvish11's Avatar
 
Join Date: Jun 2010
Posts: 14
Having same problems too...

will try BMW's way and see whether it works...

really hope there'll be an easy fix ><
darvish11 is offline   Reply With Quote
Old 04-21-2011, 11:54 PM   #15
overkiller
Minors (Double A)
 
Join Date: May 2007
Posts: 104
Carriage Return for Windows/Mac/Linux FIX

Hope the OP fixed his issue. If not, this is what I did to fix the problem:

I just recently converted OOTP11 from windows to Linux. I had the same strange player/league history display - the dates are all mashed together and not listing correctly. I used the flip file mentioned earlier and it worked perfectly. My league, team and player histories are all displaying correctly in linux, as they did in windows.

If anyone is having the same issue, do this:

Download the flip file for your operating system. Use the command line switch for the OPERATING SYSTEM YOU ARE USING NOW. In other words, I had a windows copy of my database. I installed OOTP11 for linux and now I use "unix". Therefore the command I used was flip.linux -u.

I went to my ootp11/data/saved_games/"name of league".lg/news folder and copied the txt folder (as a backup). Then I went into the txt folder. I had three folders here - league, players and teams. In each folder I ran the flip script, as such:

./"location of flip file"/flip.linux -u *

This converted all the txt files from windows (or whatever) to unix. I had to make the file executable first (chmod +x flip.linux).

Note that I ran the script with the -t flag first to see what file set was being used (mine said "MIXED").

I made a backup copy of the txt folder, just in case...

To open a command window in Mac OS, use this sequence:

Command + Space to open spotlight, and type "terminal".

Terminal is the same as a command line in windows, for this discussion at least.

I downloaded the file from https://ccrma.stanford.edu/~craig/utility/flip/

I selected the libc6 linux pre-compiled script. You should select whatever version you need. The source code is available as well, if for some reason you want to compile it.

These same instructions should work for a windows to Mac OS conversion as well. In fact this should be a sticky post, so anyone else with a similar issue can quickly reference this post and fix the problem with a simply forum search.

Hope this helps!!
overkiller is offline   Reply With Quote
Old 07-19-2011, 06:33 AM   #16
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
OOTP 12.2.17 will properly read the text files with the "mixed" line endings now. So there's no need to repair the text files if you're running OOTP 12.2.17 or a later version.
Andreas Raht is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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 10:38 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