Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: zornhau on June 23, 2014, 05:01:18 am

Title: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: zornhau on June 23, 2014, 05:01:18 am
Hi - I'm amazed that this community exists! Like everybody else, I'm trying to get Freespace running. I hope somebody will be able to help me.

I got the annoying error:

Freespace/Fred 2 cannot be run from root directory

The read before you post instructions on this forum say:

•   If you've installed the game to the desktop or My Documents, move it somewhere else, like C:\games\freespace\ for example.
•   Run Launcher.exe and select an fs2_open build before doing anything else.
•   Delete launcher6.ini, then refer to solution #2.
•   If you have a shortcut to the Launcher, make sure that the path defined in the shortcut is correct.


I've got the thing installed in I:\Program Files\FreeSpaceOpen so I guess that's OK?

So now I want to run "Launcher.exe"

At the risk of seeming stupid, I don't see a file called Launcher.exe. Help?




 
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: FrikgFeek on June 23, 2014, 05:26:01 am
Did you even install FSO? The 2.17 installer should provide you with the 5.5g launcher for Windows. Make sure that you've actually selected the correct folder when you run the installer though.

You can find the installer here: http://www.hard-light.net/forums/index.php?topic=87537.0

You can also grab wxLauncher from this thread:  http://www.hard-light.net/forums/index.php?topic=67950.0
The interface is a bit easier to use for some people.
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: Colonol Dekker on June 23, 2014, 05:58:34 am
Do you have Freespace installed?
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: jr2 on June 23, 2014, 06:53:44 am
Do you have Freespace installed?


He mean FreeSpace Retail, whether from the original discs, Good Old Games, or Steam.

EDIT: You have to install FS Retail first, then install Open on top of it.  The only exception is, now the Installer (mentioned above) can install Retail from a GOG FS2 retail setup package for you in addition to FSO if that's what you have.
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: zornhau on June 23, 2014, 09:21:36 am
Thanks all of you for responding so rapidly. I appreciate it must be frustrating when people can't seem to manage the most simple things.

In my case I have done as instructed in a thread over on the Steam Freespace forum:


 :yes: I have Freespace from Steam.
 :yes: I downloaded the installer from here: http://www.fsoinstaller.com/files/installer/FreeSpaceOpenInstaller.jar (as per the landing page of this site)
 :yes: I ran that. It cheerfully grabbed the Steam installation, shifted it to a new location and did whatever it does without generating error messages.
 :yes: I consulted the "Read this before posting" and found my issue (http://www.hard-light.net/forums/index.php/topic,56279.msg1180353.html#msg1180353)

As per my OP the step I'm stuck on is:

"Run Launcher.exe and select an fs2_open build before doing anything else."

Despite having done all of the above, I don't have such a file anywhere on my PC.







Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: Colonol Dekker on June 23, 2014, 09:24:01 am
Is there a desktop shortcut?

search for WXlauncher too.
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: General Battuta on June 23, 2014, 10:07:17 am
Hi guys! Let's try to keep the support here simple, precise, and on point.

First up, do you see a 3.7.2 RC3 executable in your FreeSpace directory? If you click on that, you should be able to just launch the game. This is your best way to get into space and shooting Shivans right away.

Second up, can you post a screenshot of your FreeSpace 2 directory?
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: AdmiralRalwood on June 23, 2014, 10:39:59 am
I've got the thing installed in I:\Program Files\FreeSpaceOpen so I guess that's OK?
As of 3.7.2 RC3, FSO no longer requires short paths to avoid erange errors, so you should be fine regardless of installation directory these days.

Beyond that, follow General Battuta's advice above and report back!
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: zornhau on June 23, 2014, 11:35:28 am
As requested, here is the screenshot of the directory.

> a 3.7.2 RC3 executable

Do you mean an actual file called "3.7.2 RC3.exe"?

THANKS!

[attachment kidnapped by pirates]
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: General Battuta on June 23, 2014, 11:39:37 am
I do mean exactly such a file. And huh, that's odd - the executables just don't seem to be there. Nor does the launcher.

Could you rerun the FSO Installer, targeting that directory. Check the box that says something like 're run for already installed content'. Select 'Custom', and only check the boxes for 3.7.2 RC3 and the Launcher.
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: zornhau on June 24, 2014, 06:53:47 am
Thanks - it seems stuck on computing hash values...

Eventually it cancel and got this message
FreeSpace Descent Manager Modding Tools: To use these tools go to <The Folder You Installed To>\tools\


The following errors were encountered:

FreeSpace Open 3.7.2 RC3 Windows SSE: The hash value for 'Launcher.exe' did not agree with the expected value.  This could indicate a corrupted download or a problem with the mod.  If this problem persists over multiple attempts, contact the mod author for assistance.
Additionally, the installer was unable to delete the file.  Please delete the file yourself and do not open it.
MV_Assets: Cancelled by user request.


Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: jr2 on June 24, 2014, 08:27:33 pm
Right. Run the installer as administrator (with administrative privileges) or move the whole fs2 directory to \games\FreeSpace2 and try again, using the method Battuta  mentioned.
Edit:
Scratch that, just move the directory and try what Battuta said again.

Edit2:

I'm thinking it's UAC, guys.  Installer tried to write to program files / FreeSpace2, got redirected to /users/username/VirtualStore, and then tried to pull hash values from non existent file in program files / FreeSpace2?

Edit 3: "You may not be interested in VirtualStore, but VirtualStore is interested in you!"
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: Colonol Dekker on June 25, 2014, 07:33:08 am
UAC sounds right. Does the installer leave an FSOI_open_log?
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: jr2 on June 25, 2014, 07:37:23 am
... Which is located in the top level of the user profile directory, right? 
Title: Re: Freespace/Fred 2 cannot be run from root directory (confused by instructions!)
Post by: General Battuta on June 25, 2014, 11:33:00 am
If you are sick of all these complicated instructions, just download 3.7.2 RC3 manually, put it in your FreeSpace 2 folder, double click on it, and enjoy the game.

Then you can install the advanced graphics and the launcher manually too - that's pretty easy, if you're read for that step.