Racing Car Simulator
TORCS, The Open Racing Car Simulator, 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. It runs on Linux (x86, AMD64 and PPC), FreeBSD, OpenSolaris and Windows.
License: free
Requirements:
- OpenGl
- Or Mesa
- GLUT 3.7
- Or FreeGlut (better for full screen support than GLUT)
- PLIB 1.8.3 version
- libpng and zlib
- OpenAL
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | yes | no | yes | yes |
Submitted by anonymous on 2000-03-25.

This will become a 5 star game, when some optimisation and graphics have been added. A very nice thing is that there is a complete menu system (nice!). The multicoloured pointer do lag however, maybe there should be an option to use a one bit mousepointer.
I guess most people would have given 5 stars. I am only giving 4 mostly because the game is not totally complete yet.
Aside from that, it seems to work as advertised on my Voodoo-3 with reasonable frame rates.
It really needs some scenery between the tracks - and if it had that, the track could be culled closer in - probably getting a net increase in frame rate.
This shows a lot of promise - and is pretty much playable right now.
My machine's an Athlon 700 w/ 256 Mb RAM and a Matrox G400 gfx card...
I'm using agpgart and Utah-GLX and I get framerates like this:
1024x768 around 30 fps 800x600 around 60-70 fps
My biggest problem currently is the framerate, which is ~7fps in 640x480 on a 1GHz Athlon with MatroxG450, which makes it pretty much unplayable, switching to 320x200 fixes the speed, but makes most of the menu unreadable. No idea why its thats slow.
Only 4 Stars for now, since it looks very much like a 'under development' game and not like a finished one.
I tried the 1.1.0 and it's works quite well. It has some problems with stability and the graphics and sound could be enhanced (take a look at things like Racer). But since torcs is GPL'ed, I think it is our best racing game at the moment.
Unfortunatley I see a strange rendering error which decreases fun a little, but I guess this will be fixed for the next release!
deb http://www.falassion.de/unstable/ ./
Then do an apt-get update and an apt-get install torcs
Thanks,
Eric Espie.
C'mon, support us occasional gamers, guys! :)
Get it, play it, write back here! Lets help make this the best racing game out there for Linux! Send in your praise and bug reports so they can continue to improve this awesome piece of software. If you can program or contribute in any other way....
I'm tired of those nethack games, Doom ports, RPG games, card games that give Linux nerd status. Been waiting for a decent racing sim, and this seems the most promising!
I've waited *so long* for a driving game on Linux, and it looks like this one's the contender! YOU MUST TRY IT
(I also agree about the overabundance of FPS, RPGs ad nauseam. Man, I thought I wrote that comment myself!) :)
Now, netgames? ;)
It's a shame, the graphics are very good and physics too...
Please fix the glut screen moving issues, and compile binaries with freeglut instead. Ta.
Anyway, I've enjoyed the game very much and here are my impressions:
What's good:
- I've found no bugs in the gameplay yet
- the physics seem to be quite good and advanced and thus the game is just fun to play
- polished menu system with full input/driver/etc. configurations
- different race modes actually work and it is quite fun to take a quick race against some AI players
- AI players are quite good (or I'm quite a bad player)
- there are lots of different cars and tracks
- the game uses XML format extensively :)
- last but not least: the game is under GPL, the source code is polished, there's very useful documentation, the web-site is great, the developers are user friendly, etc.
Some enhancements I would like to see in the future:
- the cars look somewhat blurry and not so atractive (when you compare them to other racing games, like Racer, you see there's a big difference)
- a multiplayer mode (networked) would be fun
- an analog cluthc would be nice (so one could use a racing wheel with an analog clutch to gain more realism)
- I would like to see this in Debian but as there already are debian packages this is not so relevant at the moment
I would give this game 4 to 5 stars, but unfortunately I'm not registered to be able to vote.
I like this game - would like to see the next evolution of it also. More graphics optimizations, better handling, more tracks, etc. More of the same. It's a pretty cool game, but nothing has happened for a while. Me looking forward to the next dose.
Please use something other than Glut for the Full Screen mode, as it is unplayable with the mouse.
It's not a big deal, just somebody has to add the neccesary XF86VidMode calls to Mesa's Glut...
Until somebody does one of these things, you can just use freeglut.sf.net, get the rc2 and install it, I just fixed the XFree86 GameMode code in it. (get 2.0.0-rc2)
Now it totally RULES!
A few issues tough.
The K1999-robots don't compile because strstream.h isn't found. (ohwell, who wants those anyway ;) )
When switching users & redefining controls, I disovered that the game doesn't everytime register all keystrokes... And once a car was left hanging in mid air :)
And. sound didn't work on (an otherwise working) nForce2-chip. (Needed 8 bit samples, whatever that is...) (would a SoundBlaster 128 work?, I've got one spare...)
Other of those "bugs", great game, 5 starts if I ever register :)
bye, berniw.
bye, Bernhard.
Although it was very hard to play via keyboard, it's still has great graphics and looks *very* promising. Give it a try.
Bye, Bernhard.
In example: 1152*864 (which is the one i use)
Anyways, just modified .torcs/config/screen.xml manually to use that and now it works perfectly in full-screen (no more scrolling) :)
I would not consider the switch to SDL. But if Eric decides it one day I will follow of course. Let's keep cool and look at the subject. To justify the switch to SDL there must be advantages over FreeGLUT+PLIB. So lets start:
- Both libraries are not standard and not installed per default, so here is no difference (I installed SDL just to play NWN, no other application uses it on my system).
- The sound uses PLIB, which is also used for the scene graph. AFAIK SDL has no scene graph, so to use the sound API of PLIB is reasonable because you need it anyway (in one of the next releases we will switch to openAL tough).
- PLIB provides a lot of functionality (scene graph, sound, joystick and more->plib.sf.net).
- GLUT, PLIB and SDL are portable.
- FreeGLUT, PLIB and SDL are free.
- All are actively maintained and developed.
So far there is no advantage we need. This could change e. g. if we want to have a portable thread interface, but I think the less time consuming solution would be then to use GLUT and SDL. I think you underestimate the problems you face in such a project, it would simply be crazy to throw away working code without a good reason. Keep also in mind that TORCS runs also on other platforms, and altough the libraries and OpenGL seem portable you experience from time to time surprises...
Now it is your turn to present the arguments that justify a switch to SDL. Yes, I am listening:-)
Bye, Bernhard.
I get your point but IMHO its not our problem if the distributors do not take the optimal solution. When you compile TORCS yourself, then you have to compile some stuff anyway (e. g. PLIB), why not FreeGLUT?
Perhaps we should improve the documentation to make it more clear that FreeGLUT is a better choice (IMHO).
bye, Bernhard.
Are you the brother of a well known president or prime minister? Yes, of course, we are sure there are weapons of mass destruction in iraq... sounds too familiar to me. Do you really want to go down to that level... ohoh:-( Come on, do some reasoning and do not just spread prejudices and myths! Thank you,
bye, Bernhard.
i use mdk and love to use urpmi and all that, but, why not get rid of that fullscreen bug that way? nwn comes with its own sdl libs if the linux installation doesnt have it already, isnt posible to do something similar? I honestly dont need games inside /usr/local/games... i dont mind to have them in $HOME/games like a some games demos I already have ... this are games anyway!
maybe all this is imposible, I dunno im not a programmer but still.... for the average joe like me, torcs DOESNT go full screen properly
The packaging for the distributions is not in our scope, please wait till the package maintainer in charge picks it up. Usually that does not take too long.
bey, Bernhard.
Of course that would be a nice thing to have, I agree. So when do you send the patches? ;-) No, seriously, at least I simply do not have the time to provide it now. But perhaps somebody picks up the idea and makes it happen, perhaps even me at later time... We had a very nice package of the 1.2.1 version for Windows which was provided by Neil Winton. So if you are annoyed about a missing feature (e. g. the installer), do not hesitate and provide it.
bye, Bernhard.
I must say it is fluid, and a very addictive driving experience. I get that feel of speed and the twisty roads makes taking a curve in optimal speed hard to master - getting there, getting there... *s*
Now on to some rambling I've noticed in here, and my take on it:
If FreeGLUT is the way to go, developerwise - I think it is a good shot. Even so, if it in fact is actively developed too. Who can lose in a linux-lib getting more developed? As a sidenote, I am watching my eyes over SDL-mailinglist, and it is bombarding my mailbox, practically speaking, so there is a lot of stuff happening and with an accelerating activity. I cant just get it where freeGLUT and SDL collide. Can not SDL use freeGLUT?
Then we have the sound and PLib - it _is_ a odd library. I have a dozen games installed from OSS-world and they all rely on SDL and some arcana variants (_image, _ttf, _rotozom, _mixer, _etc,etc). This is one of the few I have to use PLib for. I am just trying to sort things out here. PLib is also used by ClanLib/homeros ? And the sound in the game (for me) was not astoundingly great, but it made its purpose. (Trying not criticising, but to be fair)
I can see the players (users) having a no-go with torcs because of the oddities for them to install torcs. Either you developers do not care on installer issues or users (right now), but just development stuff. Or you need some rethinking to get more users if that is a part of your goal with Torcs - coz it _is_ a truely great OSS/GPL game for all carsim fans.
Finally doing it for the fun of it, developing, then redoing stuff to please some ppl mabbe is not that a hig priority. ;-) I mean, you gotta have a good solid developing model by now. No fun start poking in that stew.
patrix_neo
Can not SDL use freeGLUT?
No, there is no reason for that. SDL is simply another choice with more functionality. I never said SDL is bad or something like that, SDL is great IMHO. But for a switch there must be good reasons, no just "I am sure there are weapons of mass destruction in iraq"...
To PLIB and sound:
The sound is not great because of us, not because of PLIB. To get sound of multiple cars and the doppler effect we will switch to openAL for the sound in the future. What then is still missing are good samples.
Installation:
We care of installation issues. Far the most issues are caused by not properly configured X-servers and bugs in the drivers, and this is definitively not in our scope (altough we provide some workarounds here and there). For those who can't wait for binary packages it is important to be able to read, there is documentation (torcs.org, berniw.org):-) Consider also that we work on that in our spare time and have just access to a very limited range of hardware.
There are some installation related things which are perhaps not emphasized enough on the site:
- If you use GLUT and fullscreen, you must choose the resolution of your screen to avoid annoying scrolling.
- If you resolution is not available simply edit .torcs/config/screen.xml (ok, we have to improve that).
- Give FreeGLUT a try.
- If you use a DRI driver and the game segfaults, try to start with -s (to workaround a driver bug).
- Use the most recent drivers for you graphics card.
bye, Bernhard.
PS: If you have an NVIDIA driver and FreeGLUT breaks the compilation with complaints about libGL.la, then update your drivers to 5336.
My PC is nVidia GFX2/MX440 and driver 53xx (Latest from the gentoo ppl), having ut2k4demo+nwn+torcs+neverball going healthy too. No probl.
And torcs was no fuz with b/c it is in the portage tree. (so is wesnoth - wohoo)
But I just liked to get some devel feedback from behind the scenes about why you are doing things this way and not the other way (out of curiousity) and I'm glad you could give us curious minded a peek here. And if I may say, I am concerned about the future of TORCS since I may say this is the only true racing game I've seen on the linux gaming sceene - ever worthy the name of it. (race 0.5 was good for a tryout back then)
Great work, Berard and I hope to see more of TORCS in the future! Multiplay (LAN/internet) would be awesome....I heard about this is in the workings *drools*
patrix_neo
Bernhard, I love torcs and I expect it to become the greatest open source racing game ever (oh wait, it already is ;) ).
The thing is, my head is full of feature requests, enhancements, and things like that. I'd like to post them to the devel mailing list. Some are complicated (several sound channels for engine, floor, wind, etc.), others I can do myself (tracks and cars construction tutorials,...) and other are easy.
May I post them to the devel list, in a "to consider for when you have spare time" style? Just to have some document or stuff to look when you wonder what could be done next. I ask in case it disturbs the developers.
Glad you like it. Feel free to post your ideas to the TORCS users list, TORCS devel is more for really technical stuff. Of course you are welcome to post your ideas, but take care that you do not get disappointed if nobody picks up the ideas (in fact we have enough ideas for a long time, implementing them is hard work then). The good thing of TORCS is its license, so if you want feature X you have the chance to implement it yourself.
bye, Bernhard.
Graphics have improved, but the sky looks pretty sad. I tried modifying the sky texture on one track, but it rendered with banding of color, like 8bit color, yuck. Also, the AI cars textures flicker on and off (car disappears for a split second) here and there. I noticed that the texture of the back of my ferrari would also flick on and off, as if the camera were too close to the back of the car.
I would suggest that the game would be great if all levels were up to the same standard as some of the graphically better ones. I would favor this over newer features.
On the alpine track I noticed an AI hovering without moving about 1.5 meters above the road. I drove under it. Anyways, it's coming along nicely. Slowly, but nicely. I can't wait for the Debian packages.... :-)
The "hoovering" car was heavily damaged (AI's run at semi pro, so they are quite fragile) and therefore could not continue the race. The virtual crane removes those broken cars. If your car flickers you should have seen a message of TORCS on the console, which advises you to improve your graphics settings or the drivers. To get acceptable quality you should have a 24-bit depth buffer (some card/drivers require to run at 24 bpp to allow this).
bye, Bernhard.
could you post the output of your "glxinfo -l" and your XFree86.0.log to the TORCS users mailing list?
You should try:
- Update your drivers if they report something like this:
OpenGL renderer string: xxxxxxxxxxx 2002xxxx
OpenGL version string: 1.2 Mesa 4.0.4
(in these old drivers are various relevant bugs)
This has been reported to work:
OpenGL renderer string: Mesa DRI Radeon 20030328 AGP 1x x86/MMX+/3DNow!+/SSE TCL
OpenGL version string: 1.2 Mesa 5.0.1
- Try FreeGLUT
- Try an alternate driver (ATI closed source <-> DRI project).
Inform us about the results.
bye, Bernhard.
ops, you are using Windows:-) Try to set in the drivers property tab the settings of OpenGL to maximum quality. Try also to set your desktop to 24 or 32 bpp. Finally make sure you run the latest drivers. Set the color depth in TORCS to 24 or 32 bpp.
bye, Bernhard.
Some facts:
- good graphics.
- good animation.
- good sound.
- good simulation.
- lacks tournaments.
- lacks multiplayer.
- lacks "garage" or car tuning.
- some sort of car/parts buying-style game would be very cool.
Will be a 5 stars when there'll be network-games support (a very good network gaming library is enet...would be cool to have it)
One is a Logitech Formula Force GP, works like a charm, supported by the iforce driver... (made 30sec better on the spring track... wow, keyboard just sucks :) I saw force-feedback support in linux is planned, there is already a library, and i saw on the devel mailing list that someone is willing to add FF support for the Windows version, if so, i'll find some time to add ifdefs to have it also in Linux also (ifdefs not very clean, but that might be a temporary solution before FF support is included in a portable library)
The other is a cheap APM USB wheel, the wheel itself is crap (the turning isn't symmetric in both sides, and a large hardware dead zone *after* max turn left or right :( , would require adding a correction function in some wheel-specific support library, but, hey, it's cheap for a reason)... but it also works well in Linux with the iforce driver.
In fact, IIRC most wheels excepted MS ones works with either iforce or hid driver.
Unfortunately, they weren't working with the release version, probably a problem in PLIB 1.6 (using the js_test with PLIB 1.6 always returned 0 for the axis).
Using PLIB 1.8.3 it returned values, but only with rawRead, not Read, the only fix i found was using the CVS version, replacing Read's with rawRead's and hardcoding in the calibration values for the wheel with setMin/MaxRange and setCenter (i tried with modifying only the XML files, but that didn't worked).
The strange thing is that values returned with rawRead differs from values i see in jscalibrator.
In windows PLIB seems to use the calibration values from the control-panel so it's always -1,0,1, too bad there isn't a such standardized thing in Linux (jscalibrator writes a ~/.joystick file, if there is a way to have rawRead return values corresponding to jscalibrator we could use this file? -even something like /etc/joystick.conf would be better, as it's hardare-related, not user-related-)
About calibration menu, i think there is a chicken-egg problem, as to have the calibration menu for the wheel, the movement has to be detected for at least one of the axis to be assigned, and to have the movement detected, it needs to be calibrated. I might eventually solve this by having the wheel calibration menu always present, but then there would be no possibilities to calibrate the mouse.
IMO this has to be solved in PLIB, not Torcs, so i've to find some time to contact the PLIB team and see if they plan to fix that in some future release.
Just another thing: i can't anymore compile the actual CVS version because i have an 'unknown identifier glActiveTextureARB in -IIRC- multitexture.cpp or so.
I checked that glxinfo says this extension is present, and i have it in my glext.h
Someone already managed to fix this?
(not very important, as i still have an older CVS version on another PC, where there is only a trivial fix (adding char before *numSuffix) to compile it)
Bye, Bernhard.
I'm one of the TORCS developers, so I want to comment that:-) It might be that "Trigger" will become the most popular free Linux car racing game for the "masses", but even then it does not mean that it is for all users the best choice. Its just nice to have another choice, so the users can pick the one which fits best for them.
That it will become the most popular is far from certain, look at T1, it was also very promising in the beginning, and at least for the moment it seems to be halted. We will see...
I tried Trigger and it is a really nice start, so I can recommend everybody to give it a try.
bye, berniw.
I'm not the project leader but I can ask if it would be ok to prepare a source snapshot of the cvs. Actually there is a lot of nice and new stuff:
- Sound of multiple cars, doppler effect.
- Better samples.
- Bugfixes.
- Improved robots.
Other related stuff in the pipeline (not yet ready):
- The TORCS racing board (web application for AI Championships).
- Perhaps a track editor.
- Some interesting experimental stuff:-)
A really "official" release will probably not happen soon, because the project leader is quite busy at the moment.
bye, Bernhard.
there are three possible solutions:
- compile with freeglut <-- recommended, no issues at all.
- use glut combined with the randr extension (in the CVS, automatically active if you not compile with freeglut).
- play in a window.
If you want SDL support, send a patch;-)
bye, Bernhard.
ps: Eric agreed, so there will be a CVS-snapshot release around the end of October.
Bye, Bernhard.
Bernhard.
I do not know about the FC 2 packages, but what about installing them with --nodeps --force?
bye, Bernhard.
HTHrpm -Uvh torcs.rpm torcs-data.rpmGreat job.
I knowed TORCS project at Limoges free plateform game meeting 2004. Torcs team is a very serious.
Thanks for this works ;)
Has it happened yet?
Bye, Bernhard.
Bye, Bernhard.
Bye, Bernhard.
You can find it under the "Christmas gift" news entry on the TORCS site, ot visit the SourceForge TORCS project page.
Bye, Bernhard.
Bye, Bernhard.
Bye, Bernhard.
And cool new cars of the CVS :)
Thanx!
Whenever I go fullscreen, I just see a portion of the whole thing,meaning that portion that I would have in my viewport.
So, i go to their homepage download the sources to the latest version and all extras (about 100mb) compile from source, install, remove previous configuration files in my homedir. Game segfaults again with: WARNING: ssgLoadTexture: Cannot determine file type for './(null)' /usr/local/bin/torcs: line 52: 20743 Segmentation fault $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
I have a Matrox G400 (correctly installed DRI drivers et all) which works OK in everything else i've tried (even Racer runs!). There is nothing more irritating than stable (version 1.x) programs segfaulting all the time. I guess quality is not a concern for the developers of TORCS. Maybe they should try "down-shifting" the version number to 0.0.x in order to accurately reflect the development state of TORCS.
So yeah, great game - wish I could play.
Bernhard.
Otherwise great game.
Bernhard.
Bernhard.
Bernhard.
Btw. the idea of Open Source is that you (yes, I mean you) help fixing the bugs which annoy you and adding the features you need. If that does not suit your needs or taste Windows or console games would probably be the better choice for you. Bye, have fun,
Bernhard.
.
.
23.
32 .3223.
potty moutyh
So quite apart from the enjoyment of driving, this game has a lot to offer :)
Bye, Bernhard.
Bye, Bernhard.
Additional Information
Last years results.
Training championship.
Bye, have fun, Bernhard.
At the moment there's only sourcecode or a windows binary available - sourceforge download page. Any feedback prior to this version being finalized would be most welcome.
The default nascar car doesn't go as fast as the other ones. Why?
It goes a lot faster if you drive behind another car (I drove it at 297 km/h compared to about 260 km/h by itself) But the bt and berniw cars go, like, 320 km/h ...how do I make the nascar car go faster... is it something to do with the aerodynamic settings or something?
The formula 1 car is pretty cool, and so is the wheel-2 track :)
Thanks a lot all TORCS developers
Bye, have fun, Bernhard.
Ridiculous implausibility for one to be so lazy~! (no you can't have my patch, it's not that difficult even in the slightest, TYVM)... Drop the junky like a monkey and come up with something more reliable, even if it's SDL.
I usually change all the good drivers to run on porsche gt1 and choose a porsche gt1 myself. So I always drive a kind of Porsche GT1-Cup.
Some times I just configure it to go without me as a driver and I just watch the robots drive. Robots like those called Inferno or those Olethros robots are very entertaining.
I'd really love to create race tracks and robots myself. But I won't have the time to do it.
One thing that really bugs me is that I have a new laptop with an ATI x600 graphics card and torcs performs on this hardware not really well. This is due to bad 3D performance of the ATI linux driver, I think.
On my older laptop with NVIDIA it runs perfectly.
Development has slowed to a standstill, with commits to the CVS repository becoming very few & far between, and next to no discussion happening on mailing lists. There are many features that could & should be added, for example weather, night racing, network play, campaign mode for solo play, a greatly reworked user interface, the list goes on. It seems though that nothing substantial's happening with any of the above. From what I can tell, code patches and artwork submitted by non-Torcs-developers are mostly ignored.
I hope I'm totally wrong regarding the above, but I don't think I am. The game deserves a thriving community of developers and contributors similar to Vdrift, but instead its like a ghost town. Torcs has the potential to be a really great racing game. Its a shame to say it, but as things stand now that potential will not be realized.
Not very freeeesh.
The news seems to require some time to get processed, so: 1.3.1 is available for download, visit the project website for details.
Bernhard
TORCS 1.3.2-test2 is available on sf.net, if no major flaws are found I will release it soon.
Best regards
Bernhard
Bernhard