-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
99 lines (72 loc) · 3.28 KB
/
README
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
NAEV README
For an overview of the game, please visit http://wiki.naev.org/wiki/Main_Page
or view the man page (If you're on a Unix-like system).
An exhaustive list of command line arguments is detailed in the man page.
Hardware requirements can also be found on the website.
1) DEPENDENCIES
Naev's dependencies are intended to be relatively common. In addition to
an OpenGL-capable graphics card and driver, Naev requires the following:
* SDL
* libxml2
* freetype2
* libpng
* OpenAL
* libvorbis (>= 1.2.1 necessary for Replaygain)
* binutils
* libzip
Note that several distributions ship outdated versions of libvorbis, and
thus libvorbisfile is statically linked into the release binary.
Compiling your own binary on many distributions will result in Replaygain
being disabled.
See http://wiki.naev.org/wiki/Compiling_Nix for package lists for several
distributions.
Mac Dependencies are different, see extras/macosx/COMPILE for details.
2) COMPILING
Run:
./autogen.sh && ./configure
make
If you need special settings you should pass flags to configure, using -h
will tell you what it supports.
On Mac OS X, see extras/macosx/COMPILE for details. Uses Xcode, not gcc.
3) INSTALLATION
Naev currently supports make install which will install everything that
is needed.
If you wish to create a .desktop for your desktop environment, logos
from 16x16 to 256x256 can be found in extras/logos
4) CRASHES & PROBLEMS
Please take a look at the FAQ (linked below) before submitting a new
bug report, as it covers a number of common gameplay questions and
common issues.
If Naev is crashing during gameplay, please file a bug report after
reading http://wiki.naev.org/wiki/Bugs
5) KEYBINDINGS
As of 0.5.0, it's possible to set keybindings in-game which is generally
more convenient than editing the configuration file.
A full list of keys can be found at http://wiki.naev.org/wiki/Keybinds
5A) Introduction
5A1) About
Naev uses a dynamic keybinding system that allows you to set
the keybindings to joystick, keyboard or a mixture of both.
This can changed via conf.lua, or with the in-game editor.
5B) Joystick
If you have a joystick you'll have to tell Naev which joystick
to use. You can either use the -j or -J parameter from the
command-line or put it in the conf.lua file.
Examples:
naev -j 0
naev -J "Precision"
joystick = "Precision" # in conf.lua
5B1) Syntax
KEY_IDENTIFIER = { type = KEY_TYPE, key = KEY_NUMBER,
[reverse = KEY_REVERSE, mod = MOD_IDENTIFIER] }
KEY_IDENTIFIER is the identifier given below
KEY_TYPE can be one of keyboard, jaxis or jbutton
KEY_NUMBER is the number of the key (found with xev usually, just
convert the keysym from hex to base 10)
KEY_REVERSE is whether it is reversed or not, which is only useful
in the case of jaxis
MOD_IDENTIFIER is the modifier to take into account, can be one of:
lctrl, rctrl, lshift, rshift, lmeta, rmeta, ralt, lalt
It isn't used with joystick bindings.
5B2) Example
accel = { type = "jbutton", key = 0 }