-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Linux
92 lines (72 loc) · 3.76 KB
/
README.Linux
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
BZFlag README for Linux
=======================
BZFlag is a network multiplayer 3D tank battle game. You can play
against several other people anywhere on a TCP/IP based network,
including the Internet. BZFlag is free and open source; please
read the file COPYING in the bzflag-<version> directory off the
standard doc directory (probably /usr/share/doc).
Both hardware and software rendering is supported. Hardware
rendering is highly recommended, as software rendering is very
slow. Hardware rendering is provided by the OpenGL drivers for
your video card. ATI and NVIDIA are the primary chipsets for video
cards in use today. Many Linux distributions do not ship with
video drivers that properly support hardware acceleration on
modern cards. Both ATI and NVIDIA provide Linux drivers for many
architectures on there websites. In general they provide greater
performance then the default drivers in many distributions.
More information about BZFlag is available in the man pages for
bzflag, bzfs, bzadmin, and bzw. Also check:
http://BZFlag.org/
Different Linux distributions use different naming conventions for the
packages that provide the dependencies needed to compile and run
BZFlag. Known build requirements include:
Debian & Ubuntu:
apt-get install g++ libtool automake autoconf libgl1-mesa-dev \
libglu1-mesa-dev libsdl1.2-dev libsdl-sound1.2-dev libcurl3-dev \
libc-ares-dev libglew1.5-dev zlib1g-dev libncurses-dev make
Fedora:
yum install SDL-devel c-ares-devel libSM-devel libcurl-devel \
gcc-c++ glew-devel libidn-devel libtool ncurses-devel zlib-devel
After any development packages are installed execute the following
commands from the top-level BZFlag source directory;
./autogen.sh
./configure
make
The autogen.sh step can be skipped if the source code was received
from the tarball package, but must be included if the source
came from SVN.
This will build bzflag. If you wish to install the executables to
the usr directory after the build then execute;
make install
as root
Known bugs in the Linux version:
* screen redraw problems when using accelerated glx. normally
only happens, if at all, when you change video format. the
workaround is to press ctrl+alt+'+' or ctrl+alt+'-' after exit
to change the video format. restart the X server if that
doesn't work. this appears to be a problem in glx.
Known issues:
* rpm may complain about missing libGL and/or libGLU. just
use --nodeps and make sure you've got Mesa installed. Mesa
3.1 provides these libraries while earlier versions provided
libMesaGL and libMesaGLU. The earlier versions (starting
with version 2.6) will work as long as there is a symbolic
link from libGL to libMesaGL and from libGLU to libMesaGLU.
* if rendering is very slow on your hardware, try turning off
some rendering options. if you are using software rendering,
turn off textures and shadows and lower your resolution, as
they cause the largest load on the CPU. If you are using
hardware rendering, make sure you have current video drivers
for your video card's chipset.
* some sound drivers don't support the SNDCTL_DSP_SETFORMAT
ioctl. in this case bzflag uses SNDCTL_DSP_POST to flush
partial buffers which may not work well on some drivers.
use -mute to disable sound.
Having sound problems? If you're using ALSA for sound, you may get
better performance using "hw:0" instead of "plughw:0" or "default"
for audio by specifying "hw:0" under the Options->Audio->Device menu
in the game. This seems to be due to a bug in the SDL audio mixer.
If you're using Debian, you may also have positive results replacing
libsdl1.2debian-alsa with libsdl1.2debian-all via apt.
Submit bug reports and comments on the GitHub site
https://github.com/BZFlag-Dev/bzflag/issues