I made a very simple script for me:
#!/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
)