File: README.Debian

package info (click to toggle)
freespace2 3.7.4%2Brepack-1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 22,236 kB
  • sloc: cpp: 393,535; ansic: 4,106; makefile: 1,091; xml: 181; sh: 137
file content (84 lines) | stat: -rw-r--r-- 2,490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
FS2_open
========

Installation
------------

If you don't have FreeSpace 2, get it from
    http://www.gog.com/gamecard/freespace_2

Instructions:
    http://www.hard-light.net/forums/index.php?topic=79545.0

screen resolution
-----------------

Odds are, you'll want to run fs2_open in a higher resolution than the
default 640x480. This requires use of launcher such as "wxlauncher"
provided by "freespace2-launcher-wxlauncher" package or couple line changes
to a config file. You will need to run fs2_open once before you can make
the necessary changes, otherwise you won't have a configuration directory
to work with.

Open up ~/.fs2_open/fs2_open.ini with the text editor of your choice
(vi, EMACS, kwrite, gedit). You'll see something like the following:

    [Default]
    VideocardFs2open=OGL -(640x480)x16 bit
    LastPlayer=MonkeyboyS
    GammaD3D=1.0

To set fs2_open to use the highest setting possible on retail Freespace
2, change the VideocardFs2open to:

    VideocardFs2open=OGL -(1024x768)x32 bit

You can set this to pretty much anything you want as long as your
monitor supports it.


Starting game
-------------

    cd /usr/games/freespace2-open
    ../fs2_open -spec -glow -mipmap -jpgtga -orbradar -mod Media_VP

# http://www.hard-light.net/wiki/index.php/Command-Line_Reference


Joystick calibration
--------------------

Use "jscal" (/usr/bin/jscal) binary provided by "joystick" package to
calibrate joystick.


Game data
---------

Debian source packages are provided for some game data. As very minimum you
will need to build one -data package, either "freespace2-data-gog"
or "freespace2-data-volition". All -mod packages are optional.

Typical build instructions are

 1. Copy source packages to temporary directory where at least ~10 GiB
    of free space is available:

    cp -rv /usr/share/games/freespace2-open/packages/* .

 2. For -data package copy game data to the build directory (where "debian
    directory is"). "freespace2-data-volition" package will need files
    as listed in its "debian/files_sha1.txt" file; "freespace2-data-gog"
    needs only original "setup_freespace2_2.0.0.8.exe" file.

    For every -mod package fetch the data using the following command:

    debian/rules get-orig-source

 3. Build the package(s) using `dpkg-buildpackage -b -uc`,
    (install build-dependencies if prompted).
    Typical build-dependencies can be installed as follows:

    sudo apt install dpkg-dev wget p7zip-full unzip diffutils innoextract