Red Hat Bugzilla – Bug 155192
Default torcs quick race fails because of missing files
Last modified: 2007-11-30 17:11:04 EST
Installed torcs with
yum -y install torcs
(1/3): torcs-1.2.3-2.i386 100% |=========================| 1.6 MB 00:54
(2/3): torcs-data-tracks- 100% |=========================| 1.7 MB 01:00
(3/3): torcs-data-1.2.3-1 100% |=========================| 13 MB 07:33
Start the game, choose a quick race, get error shown in terminal on game exit:
WARNING: grscene:initBackground Failed to open shadow2.rgb for reading
WARNING: no shadow mapping on cars for this track
WARNING: ssgLoadAC: Failed to open 'tracks/road/g-track-3/track.ac' for reading
/usr/bin/torcs: line 52: 9435 Segmentation fault $LIBDIR/torcs-bin -l
$LOCAL_CONF -L $LIBDIR -D $DATADIR $*
Is this caused by a missing dependency on other torcs data packages?
The problem here was that I thought TORCS would automatically check which tracks
were available at startup and use only those, so I put a virtual provides for
the main game on any of the 3 available tracks packages.
But apparently, the track it expects in this case is in the "road" tracks
package, so I'll change the minimum requirement to be strictly that one instead.
I'll test the change and release fixed packages today.