TORCS: Difference between revisions
Weibullguy (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 70: | Line 70: | ||
---- | ---- | ||
{{ | {{Package-Introduction|TORCS is a highly portable multi platform car racing simulation. It is used as ordinary car racing game, as AI racing game and as research platform. |http://torcs.sourceforge.net/}} | ||
== Dependencies == | == Dependencies == | ||
Latest revision as of 15:59, 5 February 2011
Extract the src and robots packages into the same directory before you issue any commands.
The robots package provides the drivers that you will race against. Below is a list of drivers that each of the packages provides:
- robots-base (Required)
- tita
- lliaw
- damned
- cylos1
- tanhoj
- inferno
- inferno2
- robots-berniw (Optional)
- sparkle
- berniw
- berniw2
- berniw3
- robots-bt (Optional)
- bt
- robots-olethros (Optional)
- olethros
The data packages, not extracted with the source and drivers packages, provides track, car, and other information.
Introduction to TORCS
TORCS is a highly portable multi platform car racing simulation. It is used as ordinary car racing game, as AI racing game and as research platform.
Project Homepage: http://torcs.sourceforge.net/
Dependencies
Required
Recommended
Non-Multilib
Compile the package:
sed -i "/^LIBS/s/$/ -lalut/" src/modules/graphic/ssggraph/Makefile && ./configure --prefix=/usr --x-libraries=/usr/lib && make
Install the package
make install
Multilib
This package does not provide any external libraries so only one installation is needed
32Bit
Compile the package:
sed -i "/^LIBS/s/$/ -lalut/" src/modules/graphic/ssggraph/Makefile &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make
Install the package
make install
N32
Compile the package:
sed -i "/^LIBS/s/$/ -lalut/" src/modules/graphic/ssggraph/Makefile &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package
make install
64Bit
Compile the package:
sed -i "/^LIBS/s/$/ -lalut/" src/modules/graphic/ssggraph/Makefile &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Install the package
make install
Installing the Data Packages
Each of the data packages you downloaded needs to be extracted in /usr/share/games/torcs. Below is a quick way to do it:
for dpkg in ../TORCS-1.3.0-data*; do tar xvf $dpkg -C /usr/share/games/torcs done
Contents
| Installed Programs: | torcs |
|---|---|
| Installed Libraries: | None |
| Installed Directories: | /usr/lib/torcs, /usr/share/games/torcs |