Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: VulturEMaN on November 05, 2007, 07:39:54 am

Title: linux install help
Post by: VulturEMaN on November 05, 2007, 07:39:54 am
Ok....I just started messing around with Ubuntu 7.10....used the nifty web installer to download everything, and now i've got the tar.gz file and not a clue as to what todo after that. Didn't see any threads that had instructions for the common n00b, so I figured I'd ask.

-VMaN
Title: Re: linux install help
Post by: castor on November 05, 2007, 11:35:45 am
Not sure what you got there, but you can do this to get the stuff out:
gunzip file
tar -xf file
Title: Re: linux install help
Post by: Turey on November 05, 2007, 01:31:30 pm
if you got the linux binariesc through the executable, they should have been unpacked for you already.
Title: Re: linux install help
Post by: VulturEMaN on November 05, 2007, 09:03:03 pm
lol i thought i had to do some fancy install procedure to get them to work xD

I didn't realize that you just unpack and run the file lmao

Is there someplace where I can add the fancy launch options like how I did in windows?
Title: Re: linux install help
Post by: MikeRoz on November 06, 2007, 06:32:08 pm
You add them at the command line.

For example, here's what I routinely use:

Code: [Select]
./fs2_open -spec -glow -env -mipmap -missile_lighting -cache_bitmaps -targetinfo -rearm_timer -ship_choice_3d -3dwarp -warp_flash -snd_preload -mod mediavps -fps -jpgtga
The other graphical options are configured in a file located at ~/.fs2_open/fs2_open.ini

Here's what mine looks like:
Code: [Select]
[Default]
VideocardFs2open=OGL -(1280x1024)x32 bit
VideoApi=OpenGL
LastPlayer=rozS
ScreenshotNum=1
Title: Re: linux install help
Post by: VulturEMaN on November 06, 2007, 11:31:13 pm
Yea I'm just gonna copy my launch options from the windows install and see what happens :)

-noscalevid -spec -glow -env -mipmap -spec_exp 11 -spec_static 0.8 -missile_lighting -dualscanlines -rearm_timer -3dwarp -warp_flash -snd_preload -alpha_env -fps -mod mediavps

 :D

Will report back tomorrow with some issue lol
Title: Re: linux install help
Post by: schoeggu on November 07, 2007, 08:48:09 am
I made a very simple script for me:
Code: [Select]
#!/bin/bash
pushd /home/schoeggu/games/fs2/actual/code &>/dev/null
PARAMS=""
PARAMS="$PARAMS -env"
PARAMS="$PARAMS -spec"
PARAMS="$PARAMS -nograb"
#PARAMS="$PARAMS -window"
[...]
./fs2_open_r $PARAMS ${*} -mod mediavps
popd &>/dev/null
I all the params took from ./fs2_open_r --help where most options are displayed. With a good editor (vim, emacs..) you can change that to the PARAMS="$PARAMS -[option] very fast.

Then I commented out all the params I didn't want (like in this example the -window option).
Now I can easy add an option by removing the '#' at the of the line, or remove one by adding a # at the start of the line..

Of course, when calling the script I can also add options: fs_open -window -mod superduperfreespacemod (fs_open is the name of the scriptfile ;) )
Title: Re: linux install help
Post by: taylor on November 07, 2007, 10:10:02 am
Remember too that you can also make use of the cmdline_fso.cfg file for specifying cmdline options.  Any options that you use by default for all mods you can add to ~/.fs2_open/data/cmdline_fso.cfg.

You can also have a "local" version, which is under data/ of the game directory, if you happen to make use of per-mod directory locations (like I tend to do).  That "local" version would then be used only by that one mod, allowing you to easily have per-mod options without having to edit anything.