Open source 3D car racing simulation
T1 Car Racing Simulation is an open source (GPL) 3D car racing game meant to be executable under both Linux and Windows using the Cygwin emulation layer. If you make it run under some other operating systems, I'd be glad to hear about it. My primary development platform is Linux, but I promise to also test under Windows - at least at release times.
T1 Car Racing Simulation is primarily meant to be fun to play, instead of a full-featured exercise in physics. Expect a solid physics model with a lot of action and some cool graphics. ;-)
License: free
Requirements: SDL
PLIB
libtiff
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |
Submitted by apozgaj on 2003-02-08.

Couldn't open joystick 0: There are 0 joysticks available
Joystick has -1 axes, -1 hats, -1 balls, and -1 buttons
img.alpha: 1(file textures/newpoly.tif)
Starting parsing process...
Track name: "Test Track 1"
Version of track description file: "0.1"
img.alpha: 0(file textures/grassl.tif)
X Error of failed request: GLXBadRenderRequest
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 20
Current serial number in output stream: 23
And very, very confused :)
I can understand the Joystick error because I haven't compiled Joystick support (don't have one)
I really get lost when it comes to that GLX error; Can anyone help??
Cheers, alex.
Did that core dump upon collision occure without any previous stdout warnings? Does it happen every time you hit the wall, or only sometimes?
With respect to "lower gear, press UP, and you're going backwards" - I most certainly hope it is so! :-) UP arrow means "gas pedal", and if you lower the gear below 0, you'll be in reverse. Reverse gear + gas pedal == going backwards. ;-)
Best regards, alex.
Other than that, nice job. Shows a lot of promise.
Which problems did you have with compiling the released version? If you have some time to send me a description of what you had to do in order to make T1 compile, I could try to fix my autoconf stuff.
Collision detection is already working (sort of), but I still haven't implemented a correct reaction to detected collisions. That's why the car just stops when it hits the wall.
Best regards, alex.
Cheers, alex.
Best regards, alex.
Maybe this error is triggered by gcc-3.3 being more picky or having a bug, I'll try to check with gcc-3.2
In the mean-time, you could try renaming libvamos-geometry.so to libvamos-geometry-SAVE.so (or whatever) and re-compiling T1, starting with ./configure. Once T1 is compiled, you can rename libvamos-geometry to what it originaly was.
Best regards, alex.
Not exactly a problem but just amusing (to me) ;)
Sorry for your other problem, I don't have the faintest idea what it could be. Have you tried searching in Deja?
Best regards, alex.
I never thought there'll be so many compilation problems. I'll provide static binaries in the next few days.
Cheers, alex.
BTW, Im using nVidia GLX - could that be an issue?
Cheers, alex.
/usr/include/plib/sl.h:164: undefined reference to `slDSP::open(char const *, int, int, int)'
/usr/include/plib/sl.h:669: undefined reference to `slScheduler::init(void)'
/usr/include/plib/sl.h:234: undefined reference to `slSample::loadFile(char const *)'
/usr/include/plib/sl.h:235: undefined reference to `slSample::autoMatch(slDSP const *)'
../vehicles/libvehicles.a(NormalCar.o): In function `NormalCar::InitializeSound(void)':
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:135: undefined reference to `slSample::adjustVolume(float)'
../vehicles/libvehicles.a(NormalCar.o): In function `NormalCar::InitializeSound(void)':
/usr/include/plib/sl.h:234: undefined reference to `slSample::loadFile(char const *)'
/usr/include/plib/sl.h:235: undefined reference to `slSample::autoMatch(slDSP const *)'
../vehicles/libvehicles.a(NormalCar.o): In function `NormalCar::InitializeSound(void)':
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:143: undefined reference to `slScheduler::loopSample(slSample *, int, slPreemptMode, int, void (*)(slSample *, slEvent, int))'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:144: undefined reference to `slScheduler::addSampleEnvelope(slSample *, int, int, slEnvelope *, slEnvelopeType)'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:145: undefined reference to `slScheduler::addSampleEnvelope(slSample *, int, int, slEnvelope *, slEnvelopeType)'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:147: undefined reference to `slScheduler::loopSample(slSample *, int, slPreemptMode, int, void (*)(slSample *, slEvent, int))'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:152: undefined reference to `slScheduler::addSampleEnvelope(slSample *, int, int, slEnvelope *, slEnvelopeType)'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:157: undefined reference to `slScheduler::addSampleEnvelope(slSample *, int, int, slEnvelope *, slEnvelopeType)'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:158: undefined reference to `slScheduler::pauseSample(slSample *, int)'
../vehicles/libvehicles.a(NormalCar.o): In function `NormalCar::InitializeSound(void)':
/usr/include/plib/sl.h:173: undefined reference to `slDSP::close(void)'
../vehicles/libvehicles.a(NormalCar.o): In function `NormalCar::MoveForward(unsigned int, ListContainer *)':
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:1337: undefined reference to `slScheduler::resumeSample(slSample *, int)'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:1365: undefined reference to `slScheduler::resumeSample(slSample *, int)'
/home/utsav/downloads/t1-crs-0.1.2/vehicles/NormalCar.cc:1369: undefined reference to `slScheduler::pauseSample(slSample *, int)'
../vehicles/libvehicles.a(NormalCar.o): In function `NormalCar::MoveForward(unsigned int, ListContainer *)':
/usr/include/plib/sl.h:685: undefined reference to `slScheduler::realUpdate(int)'
collect2: ld returned 1 exit status
make[2]: *** [t1_crs] Error 1
make[2]: Leaving directory `/home/utsav/downloads/t1-crs-0.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/utsav/downloads/t1-crs-0.1.2'
make: *** [all] Error 2
Best regards, alex.
I had no joystick buttons. gearshift q + a. I couldn't drive more than 200 (mph or km/h). Steering was very difficult with my analog joystick @ high speeds. But the drifts were nice. Very annoying: Stopping @ almost every border. I had to drive backwards first even if my car was parallel to the border.
Very nice so far. Can't wait for more improvements. 5 stars to boost your development :-)
due to problems with compiling Vamos support in T1, I have released a new version introducing another flag for "configure" script: "--have-vamos". At the time being, this flag should not be used. The reason for the new version was to allow you to compile T1 even if you already have Vamos installed on your system. I'm working with Sam on resolving the T1+Vamos compilation problem.
Cheers, alex.
ERROR: LeftCollisionDetected == RightCollisionDetected == false!
Input values to CheckWallCollision: x1: 399.374, y1: 318.947, x2: 399.643, y2: 317.9, count: 4
Cheers, alex.
P.S.: you're right, I guess we're missusing this area as a mailing list (I guess I was caught by surprise by the ammount of feedback :-) ). I suggest we move the discussion to T1 forums on SourceForge.
TIFFOpen: textures/newpoly.tif: Cannot open. Problem loading textures/newpoly.tif!
I looked at newpoly.tif and it's just a white square with a blue border and a question mark in the middle. Is that supposed to be what it is?
Cheers, alex.
Cheers, alex.
Other cars, network play, and multiple player support are planed, but probably not coming any time soon. I still have a lot to do with the basic functionality.
Cheers, alex.
I get this when using the static-bin:
src/t1_crs: relocation error: src/t1_crs: symbol __libc_sigaction, version GLIBC_2.2 not defined in file libc.so.6 with link time reference
What's the problem?
Cheers, alex.
PLEASE keep developing this.......
Yes it's not really playable yet but the homepage says its unplayable, but what it does, it does quite nicely , got a good chance to become a 5 star game(instead of alpha) sometime
ps - Wouldn't install at first because for some odd reason my SDL.h is in user/local/include/SDL/SDL.h not hard to fix then it worked fine.
Cheers, alex.