Author Topic: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"  (Read 5306 times)

0 Members and 1 Guest are viewing this topic.

Offline earbenT

  • 22
OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
Hi all. I just installed FS2 on my iBook G4 with OS 10.4.8, but when I try to start it up, I get the following error message:

Code: [Select]
wlan7220:~ Luciano$ /Applications/FS2_Open\ 3.6.9.app/Contents/MacOS/FS2_Open
Error: "FreeSpace2/Fred2 cannot be run from a drive root directory!"

Any help? Many thanks in advance.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
How are you trying to run FRED2? That's a windows only application.

I don't know Mac's very well but you want to be running the FS2_Open app whatever it's called for you. Until someone who knows what they're talking about comes along all I can suggest doing is trying the MacOS launcher.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
@earbenT:  You can't run it from the command line.  When built to run as an APP it is setup specially to deal with certain issues from the virtual filesystem code in the game.  So, binaries built that way have to be run through Finder in order to work properly.  Does the same thing happen when you run it normally through Finder?


How are you trying to run FRED2? That's a windows only application.
That error message is from CFILE, and happens whether you are running FRED2 or just the regular game.

 

Offline earbenT

  • 22
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
@earbenT:  Does the same thing happen when you run it normally through Finder?

Yes, in fact I only ran it through Terminal.app when it wouldn't launch from the Dock or Finder.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
Yes, in fact I only ran it through Terminal.app when it wouldn't launch from the Dock or Finder.
I figured that might be the case, just wanted to make sure.


Ok, after double-checking the code, I see that a change I had made at one point never got into CVS.  Basically, the binary (or .app in this case) needs to be two levels deep in order to work.  I had fixed it at one point so that it only needed to be one level deep but I guess I never added that to CVS (might have failed a test or something).

Anyway, the fix is to drop it down one more level.  Create a new folder under Applications (such as "Freespace 2") and put the APP in there.  Move your VPs into the same folder, then it should all run fine.

 

Offline earbenT

  • 22
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
Thanks, this fixed it. However, now when FS2 starts up (no VPs installed, just the main binary itself), I get the following error message:

Code: [Select]
Error:
Web cursor bitmap not found. This is most likely due to one of three reasons:
        1) You're running FreeSpace Open from somewhere other than your FreeSpace 2 folder;
        2) You've somehow corrupted your FreeSpace 2 installation;
        3) You haven

File: /Users/taylor/src/cvs/fs2_open_3_6_9.final/projects/Xcode/../../code/graphics/2d.cpp
Line 1526

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
Thanks, this fixed it. However, now when FS2 starts up (no VPs installed, just the main binary itself), I get the following error message:

Code: [Select]
Error:
Web cursor bitmap not found. This is most likely due to one of three reasons:
        1) You're running FreeSpace Open from somewhere other than your FreeSpace 2 folder;
        2) You've somehow corrupted your FreeSpace 2 installation;
        3) You haven

File: /Users/taylor/src/cvs/fs2_open_3_6_9.final/projects/Xcode/../../code/graphics/2d.cpp
Line 1526

Do you have the Retail VPs?
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline earbenT

  • 22
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
I was under the impression that the original retail FS2 content, like the engine, was free to the public.

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: OS X: "FreeSpace2/Fred2 cannot be run from a drive root directory!"
I was under the impression that the original retail FS2 content, like the engine, was free to the public.

That's a false impression.

Nevertheless, you'll still need the retail VPs to play FreeSpace Open.

You can get them from my Installer, or off of the original CDs.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.