Author Topic: FS2_Open Linux Mini Howto  (Read 77613 times)

0 Members and 3 Guests are viewing this topic.

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by mrduckman
Uh? The installer? I used the installer at work and worked well.
Send me the last one (or its URL) to my address and I'll check it next thrusday night. I'm working late.. (Actually Wed, since 0 to 8)

Hmm, all I remember hearing were problems.  If it works then great.  Just go to http://icculus.org/~taylor/fso/ to get at all of my FSO files.  The latest installer should be in that directory or under "testing" though I haven't updated since the last one.  Been too busy bug fixing :)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by Hirnfuhler
I've got a question: does FS2_Open work with demo?

I missed this question for some reason, sorry about that.

The answer is no, sort of.  It needs to be compiled specially for the demo version and there isn't a way to do that yet.  I don't know how well FSO would run as a demo version so I'll test it but you would be much better off getting the retail version.  If you don't then you won't be able to play all of the cool mods out there.

The errors you got would probably be because of demo data rather than retail.  If you got those errors with retail data then left me know so I can get it worked out.

 
FS2_Open Linux Discussion
Quote
We've got some command line help now ("./fs2 -h" would print out all available options) and more things are fixed then I can count.


Well, would it be a problem for you to implement the command line options with double dashes, because most *NIX applications provide these.

I was a bit irritated that fs2 gave me "unrecognized option" when I typed --help. But a short look in the code cleared it.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by Christoph_Berg
Well, would it be a problem for you to implement the command line options with double dashes, because most *NIX applications provide these.

I thought about it since I did that for the icculus.org version but in this case decided against it.  The code as is doesn't work with double dashes so would have to be changed a little.  That's not difficult, especially since I did that for icculus.org, but the options will deviate from the Windows versions and that means a lot more work for me as time goes on.  The way it's done now uses the Windows options without requiring Linux specific changes so that when a new option is added (quite often) I don't have to do any updating.  The new option would automatically appear in help and be able to be used.

And as far as -h/--help goes I'm actually cheating.  I haven't added those options, just changed the output from the "unrecognized option" thing to a formatted list of available options. Using --linustorvalds would give the same result since that isn't a valid option, for some reason. ;)

This is a compromise on the Linux side to keep the workload down as far as maintenance goes.  I'm getting on to Windows people for breaking g++ compiles, using mixed case filenames and other minor annoyances so it's a two way street.

 
FS2_Open Linux Discussion
Well, then it's okay. But if I type in an unrecognized option, does the programm than still continue? In my build it starts FreeSpace, but it would perhaps be good to exit the program, because if you just make a little typo, you would need to exit the program and start again.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by Christoph_Berg
Well, then it's okay. But if I type in an unrecognized option, does the programm than still continue? In my build it starts FreeSpace, but it would perhaps be good to exit the program, because if you just make a little typo, you would need to exit the program and start again.

Yeah, it exits like you would expect.  There are quite a few options printed out, but it has a similar output to regular Loki (and stuff by icculus) titles. Along with the commandline options it has links to the website, forum and mantis.

 
FS2_Open Linux Discussion
Just a little question that appeared in my mind: Is or will it be possible to specify the path where FreeSpace2 searches for the data files? It's just because I like to put my game executables in /usr/local/games folder and the data files which belong to this particular game in /usr/local/share/games/the_game_dir.

  

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by Christoph_Berg
Just a little question that appeared in my mind: Is or will it be possible to specify the path where FreeSpace2 searches for the data files?

Nope.  The game binary has to be in the same directory as the data and that directory has to be current when the binary is run.  All you really need though is to use a shell script to change directories and run the game binary.  I do that with the stuff that's in the installer although both files are in the same directory.  The shell script can then have a symlink anywhere you want.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
New release is here: (Linux/Windows 20040519 test)

Test it out and let me know how it works for everyone.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Anyone with and AMD64 (x86_64) machine and 64-bit os, please send me an e-mail if you are interested.  I just might have something that you would be interested in... ;7

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
FS2_Open Linux Discussion
taylor... the configure stuff, etc in the current CVS doesn't work...

help :D
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by Kazan
taylor... the configure stuff, etc in the current CVS doesn't work...

Under what OS?  With MinGW you need to have at least autoconf 1.8+ and automake 2.54+.  Most of the Linux code still isn't in CVS so that's not going to build, too many gcc compatibility problems.  The autoconf stuff in CVS hasn't been updated for OSX support yet either.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
FS2_Open Linux Discussion
Fedora Core 2 - kernel 2.5.5
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
FS2_Open Linux Discussion
Quote
Originally posted by Kazan
Fedora Core 2 - kernel 2.5.5

2.6.5 I hope ;)

Just go to http://icculus.org/~taylor/fso/testing and grab the newest tarball (I think there is only one).  It's not current CVS even from the date I posted it but it should work for you.  I think it's missing WMCoolmon's hud stuff and Bob's index buffer code.  You might have a slight interest in the networking changes (multimsgs.cpp mainly) that allow multi-platform communications though.

That tarball was mainly for OSX testing though so there may be some problems that I've since fixed.  It does have some of the new pilot code though so backup if needed since they will break with older builds.  You can try doing a cvs update on it but you'll get lots of rejects and build errors, always happens, I've learned to live with it.

 
FS2_Open Linux Discussion
Well, two things here.  I still haven't the darndest how to get DRI working with out the screen going all plasma-ie.

On the other hand, I do have a working (gentoo) linux install, and a working X11.  So, not all is lost, if I can tolerate 5 FPS... :P

Anyway, I'll try out the most recent on here..
Mertakk monae ki ienikk du bellou zhello.
Kuek mertakk monae ienikk divakkou zhello.

What does it mean if the most fun you had all night was blowing up asteroids...?

"Its a Babylon Space 2 HercFury!" --mikhael on seeing my first fighter design.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
FS2_Open Linux Discussion
it was 2.6.5 - now i have 2.6.6-1 -- my freaking DGA doesn't work (X.org problem and/or radeon driver problem) so i have no access to accellerated SDL surfacves


Atalhlla: what video card
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 
FS2_Open Linux Discussion
Rage128 Mobility.  I followed the little thingy on the FAQ on the Gentoo site, but nothing happened.  Next 'll be Mesa, if I need to...
Mertakk monae ki ienikk du bellou zhello.
Kuek mertakk monae ienikk divakkou zhello.

What does it mean if the most fun you had all night was blowing up asteroids...?

"Its a Babylon Space 2 HercFury!" --mikhael on seeing my first fighter design.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
FS2_Open Linux Discussion
it's a rage mobility.. that's your problem

go find the RAGE Faq (and stop using bloody gentoo)
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 
Kazan...my medals and stats have been screwed with on the list and on scp..is there a way to restore them?  please let me know.

 DW-Raven

 

Offline Inquisitor

DW Raven: Wrong thread. You can't jsut reply to any random thread with a question. Unless you are using a linux build?

As for your medals, when you post again, though i expect a PM might be more appropriate, you need to give me ALOT more information other than "they are screwed"

PM me your pilot name, your account names, and exactly what is wrong and when it started being "screwed."

Thanks.

-edit-

You seem to have 5 different pilots.
« Last Edit: November 27, 2004, 02:35:39 pm by 122 »
No signature.