Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: he_the_great on May 24, 2009, 11:24:42 pm

Title: Freespace Linux AMD64 can not creat profile [SOLVED]
Post by: he_the_great on May 24, 2009, 11:24:42 pm
I'd like to get this working however have so far been unsuccessful and that might be due to the legacy information lying around and no clear step by step guide for installing on linux (http://www.hard-light.net/wiki/index.php/Guide_to_FS_Open_on_Linux). I do have the IA32 libraries installed and working if these are needed.

For what it is worth I can run the game, ./fs2_open runs the game with sound, but I get an error creating a profile (suggests that my disk is full, but nowhere close). Since I don't even know where to begin with that I have attempted many different things all of which are just getting piled on top of a single installation.

From 2 years ago there is this post [urlhttp://ubuntuforums.org/showpost.php?p=2831809&postcount=3]from ubuntu[/url] suggesting places to go to get it working.

If I try using the mentioned installer (http://icculus.org/~ravage/freespace2/) the file uncompresses but just returns me to the prompt without error.

Then there is the OpenInstaller (http://www.fsoinstaller.com/) where I had to extract files myself since it failed for some reason. I don't see it coming with a launcher, which seems to be important, at least on the Windows side.

And of course there is Yet Another Installer (http://www.hard-light.net/forums/index.php?topic=53206.msg1075332) which I can't get to compile via make or qmake-qt4 after running ./autogen.sh

With all these options to get openfs working and with all the scattered tutorials it is hard to say what is repetitive, what is needed, and makes the entire installation seem harder than I think it probably is. If all that is needed is extracting binary files on top of a FS install, why not just list these files, say where to extract them and then mention post configuration if needed.
Title: Re: Freespace Linux AMD64 can not creat profile
Post by: portej05 on May 24, 2009, 11:31:03 pm
hmm, this came up in IRC last night.....

If you've got the 32bit build working, I'd suggest using that - you shouldn't see a massive difference using the 64bit build.
I'm not sure if the 64bit build officially works anyway (although there is a VC target for it) - anyone tried and got it working?
Title: Re: Freespace Linux AMD64 can not creat profile
Post by: FUBAR-BDHR on May 25, 2009, 12:01:02 am
do you have data\players\single and data\players\mulit directories under your FS2 directory?  If not create them and try running it again.
Title: Re: Freespace Linux AMD64 can not creat profile
Post by: Herra Tohtori on May 25, 2009, 02:11:51 am
My guess would be that the FreeSpace2 directory does not have enough permissions for the game to create necessary files and directories; the game needs write access for that, and default is just read if you're not the directory owner... I think.

Change the permissions of your FreeSpace2 directory recursively to include write permissions for user.

I guess you could use $ chmod -R u=rw,go=r /path/to/FreeSpace2 . And add executive rights for executables individually.

Or if you aren't paranoid about your FreeSpace2 directory you could use chmod 755 or even chmod 777. But remember to use the -R switch to apply the change to all subdirectories in FS2 directory as well.
Title: Re: Freespace Linux AMD64 can not creat profile
Post by: he_the_great on May 25, 2009, 04:38:08 pm
Well, still no good.

I chmod -R 777, the folders exist, 32bit does the same thing, and found that if I try to run it outside of main directory I get.

Couldn't run FreeSpace 2 Open (fs2_open.bin). Is FSO_DATA_PATH set?

And setting the variable only lets me run it from other locations. I'll play with it more later.
Title: Re: Freespace Linux AMD64 can not creat profile
Post by: taylor on May 29, 2009, 08:06:12 pm
Do
mkdir -p ~/.fs2_open/data/players/{single,multi}
as your user and that will hopefully get the permissions sorted out.  That will create the directories in the proper place, owned by you, and with the proper permissions.  On Linux and Mac builds it doesn't ever write anything to the game/binary directory, so don't worry about permissions there.

Also, 64-bit works fine.  I've been using 64-bit builds exclusively for years without issue.
Title: Re: Freespace Linux AMD64 can not creat profile
Post by: he_the_great on May 29, 2009, 08:14:16 pm
Thank you that was the problem. For some reason I didn't think it would properly use the home directory.