VDrift is a driving simulation with drift racing in mind.
VDrift is a cross-platform, open source driving simulation made with drift racing in mind. The driving physics engine was recently re-written from scratch but was inspired and owes much to the Vamos physics engine. It is released under the GNU General Public License (GPL) v2. It is currently available for Linux, FreeBSD, Mac OS X and Windows.
This game is in the early stages of development but is already very playable. Currently the game features:
- Simulation-grade driving physics
- Tracks based on famous real-world tracks
- Cars based on real-world vehicles
- Competition against AI players
- Mouse/joystick/gamepad/wheel/keyboard support
- More...
License: free
Requirements:
- libglew - OpenGL extension utilities
- libsdl - Simple Direct Media Layer
- sdl-gfx - Graphics drawing primitives library for SDL
- sdl-image - Image file loading library for SDL
- sdl-net - Low-level network library for SDL
- vorbisfile - File loading library for the ogg vorbis format
- libvorbis-dev - The Vorbis General Audio Compression Codec
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | yes | yes | yes | yes |
Submitted by anonymous on 2005-06-19.

Ubuntu 5.04, kernel 2.6.10, AMD Athlon 2000+, Radeon 9800, fglrx 8.14.13.
By 0:23 on the lap timer it's pitch black, and by 0:55 or so the sun's rising over the road.
Slackware 10.1 Kernel 2.6.11.11 fglrx-8.14.13
Amd Athlon XP 2400+ 768MB ATI Radeon 9600se 128MB
This is a great start for a racing game. The car handles believably, the scenery is sparse but effective and it's pretty stable. Runs at about 70fps on my monster box so YMMV.
Using FMOD is not a good decision:
While the developers of vdrift allow that other sell the game (e.g. on a SuSE distribution CD) the FMOD people do not. That is IMHO a weird combination.
Ah yes that is a classical incompatibility between the GPL and a proprietary license.
Btw: I can't reach the project's homepage.
Since I submitted this announcement, the latest version has been released with OpenAL. Download the OpenAL version here. While I don't like FMOD's license either (or the fact that there's no AMD64 FMOD), it cleared up several problems related to sound in the game, particularly the clicking and popping heard throughout the RPM range in the engine sound, the warbly flangy sound the tire squeals have, and generally it just sounds cleaner and better. Strangely, these OpenAL bugs are only present on Linux...
I understand that it is annoying to depend a non working library. Nevertheless the OpenAL implementation is free software and FMOD is not. Using the latter library does not really solve the problem.
I urge you to report the mentioned problems to the OpenAL developers or package maintainers to fix them. This would help everyone using that library.
Furthermore you may ask other projects (eg. the Warzone team) using OpenAL whether there are known workarounds for the problems you mentioned.
Does anyone have any comments about this game that don't involve FMOD? For instance how's the new car? How's the keyboard steering?
Ok. No need to freak out :)
The download site provides an OpenAL version as well. Hoever I wonder why autoconf is not used for this.
As for tracks & cars, and other game data, some of that can be borrowed from other places. For instance, one of the cars came from the Motorsport project. The tracks came from Vamos. Many have suggested on our forums that we borrow open player-made cars from Racer or Need for Speed. If you know anything about converting 3D car models from one format to another and working with Blender, hop on over to our web site! We could certainly use some help.
svn co http://svn.vdrift.net/repos/vdrift/trunk vdriftThis game needs a simplier HUD. And it could use some options to reduce the overall level of detail for old cards like mine.
Also the car is uncontrolable with keyboard controls, unless drift racing consists of crashing the car into the circuit walls... which i doubt.
Using 2005-09-01-bin
: undefined reference to `Vamos_World::World::focused_car()' vamosworld.o(.text+0x7005): In function `VAMOSWORLD::FuelPlayerCar()': : undefined reference to `Vamos_World::World::focused_car()' vamosworld.o(.text+0x7026): In function `VAMOSWORLD::FuelPlayerCar()': : undefined reference to `Vamos_Body::Fuel_Tank::fill(double)' vamosworld.o(.text+0x70a0): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Body::Rigid_Body::cm_position()' vamosworld.o(.text+0x70de): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_World::World::focused_car()' vamosworld.o(.text+0x7109): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Body::Car::brake(double, double)' vamosworld.o(.text+0x71d4): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_World::Timing_Info::update(double, double, int)'vamosworld.o(.text+0x7238): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Body::Rigid_Body::cm_position()' vamosworld.o(.text+0x7254): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Geometry::operator-(Vamos_Geometry::Three_Vector const&, Vamos_Geometry::Three_Vector const&)' vamosworld.o(.text+0x72ec): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Geometry::operator-(Vamos_Geometry::Three_Vector const&, Vamos_Geometry::Three_Vector const&)' vamosworld.o(.text+0x7368): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Body::Rigid_Body::cm_position()' vamosworld.o(.text+0x7380): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Geometry::Three_Vector::operator=(Vamos_Geometry::Three_Vector const&)' vamosworld.o(.text+0x73b3): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Geometry::Three_Vector::operator=(Vamos_Geometry::Three_Vector const&)' vamosworld.o(.text+0x73d7): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_World::World::focused_car()' vamosworld.o(.text+0x73ec): In function `VAMOSWORLD::Trim(float, _SDL_Joystick**)': : undefined reference to `Vamos_Body::Car::brake(double, double)' vamosworld.o(.text+0x7444): In function `VAMOSWORLD::PhysUpdate(float)': : undefined reference to `Vamos_World::World::interact(Vamos_Body::Car*, unsigned)' vamosworld.o(.text+0x7476): In function `VAMOSWORLD::PhysUpdate(float)': : undefined reference to `Vamos_World::World::collide(Vamos_Body::Car*, Vamos_Body::Car*)' collect2: ld returned 1 exit status make[2]: ** [vdrift] Erro 1 make[2]: Saindo do diretório `/home/ledstyle/Desktop/VDrift/src' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/home/ledstyle/Desktop/VDrift' make: ** [all-recursive-am] Erro 2 ledstyle@ubuntu:~/Desktop/VDrift$
Error in "make"
Drift racing is the art of controlled skids.
Also, why post what amounts to two useless flames on the same board? You haven't posted any indication of what doesn't compile. Your frame rate is suspiciously low - I'm getting a minimum frame rate of 35fps rising to 150fps when it maxes out at 1152x854x32bit on an AMD64 3400+ with a GeForce 6800GT. Most games do not get optimised for performance until they have reached a feature complete phase and VDrift is most definitely still in early development. Premature optimisation is ALWAYS a mistake (and I am a professional software developer for a large software company).
I would recommend driving with a steering wheel rather than the keyboard - your lap times will drop substantially.
I call your post a troll. Reply using a real ID with your autotools issues and not an anonymous one and I'll help you work through the compilation issues. Posting flames helps no one.
Cheers,
Toby Haynes
Enjoy!
Needless to say, there is a fine line to walk when asking for help from peers. This guy crossed it before sitting down to really analyze the problem. Were he a user (as if I were) I would have him banned for poor sportsmanship. He should never have blamed the game. I've played it on my brother's computer and it's the most ingeniously dynamic shooter. Its graphics are not Ikaruga, but had he the opportunity to play it, he might find himself groveling at the feet of the linux community.
To the developers -- my highest admiration and keep up the good work! Happy Holidays! Your blissful buddhapenguin.
Sure you're commenting on the right game?
First I want to comment on your compile issues. Based on the fact that you are missing install.sh, I would estimate that your system is not built out properly for software development, as install.sh is part of the automake / autoconf system, not part of the software package for this game.
Now, on to the performance issues, you are aware of course that the nVidia doesn't perform 3D acceleration when the resolution is before 800x600x32, so I have to ask why you are running at such low res and low color depth?
Finally, I would suggest that you look very closely at what packages you have installed on your system if you wish to build most of the new FOSS applications. I would guesstimate that you are using Fedora or Redhat, and would remind you that neither Redhat nor Fedora are meant to be game machines, for that you want Gentoo, Debian, or Slackware for the best performances.
Are you serious ?? Thats news to me pal, i've been happily playing and developing opengl games that run perfectly unaccellerated at 640x480. As for 'my' system missing install.sh files, it goes without saying that cluelesness reigns supreme in here. I'm glad that they seemingly (i havent checked) fixed their compilation problems although i'd be hard pressed to test this project again in the future.
Congratulations to the Vdrift team, and thanks for providing to us this great game ! Keep up the good work !
Compiled from latest source, as I'm on an amd64 system. When starting the game for the first time, it says there is no config file, then it proceeds to create one. Then it complains that the config file (this is the one it just created, folks) is the wrong version, and the game may not work correctly as a result. Probably as a result of this, the default controls are all blank (I noticed the changelog said this was fixed, but I'm using the latest version, so it doesn't seem like it is), so I defined some so that I could actually start driving. That worked fine until I hit the first bend a little too fast, so that I got off track and stopped. Tried to drive on, but no -- after this no controls responded at all. I later found out that if you stop, for any reason, or even try to start the game by hitting the gas while not in the first gear, you won't be getting anywhere.
In short, this isn't playable.
There are several places where you can just run right off the track, we are aware of this. As for no controls responding, your engine may have stalled, next time that happens try starting it again.
The solution is to either install a newer version of OpenAL plus FreeALUT which you can get at openal.org, or you can download the VDrift source and compile it yourself with the option old_openal=1 when you run scons (see included installation instructions for full explanation).
At the moment our web site is down but will be back up soon. In the meantime the sourceforge project page still has the files available for download.
1) The mouse steering is great ... but it's still a bit choppy (even on low sesitivity settings it's hard to keep the car going straight). More fine-tuned control via the mouse would be really nice.
2) The source does not compile properly ... whenever I compile it the car floats in the air every time I start a race ... thus rendering the game unplayable
The problem you have compiling from source happens when VDrift is compiled using gcc4. Install gcc 3.x and then compile like this :
scons use_gcc_34=1You can replace "34" with "33" or "32" but we haven't tested with anything older than that. The effect of using this is that vdrift is then compiled with gcc 3.x instead and the floating problem goes away. We're working on a better solution, so that gcc 4.x can be used too, perhaps we'll have a fix for the next release.It would be nice if there was skidmarks.
Also, it's not always easy do know if the motor is dead, as there is no idle sound.
Also, the car should stay silent when the engine stalls. The engine is not idling, it is off. I've never been in any real car that makes a sound when the engine is off. :)
Thanks for your answers, I never expected any.
The transmission problem
The reason I thought that there was no idle sound, was that each time I started the engine in neutral (N), it would shift down to reverse (R). This was the default settings.
Now, if I did not push the speeder, it would die again. :P
I found it a little confusing that "start" and "shift down" was the same key (S).
Part of the reason is probably also that I've never tried a racing game with clutch and engine death before :P.
It would probably be easier to know that the engine died if there was a startup sound.
Steering wheel problem
In TORCS, all you have to do is go into the control menu and pull the wheel on the different options (speeder, brake, steering). This had no effect in VDrift.
However, it does not say that it has disabled the joystick entirely, only force feedback. Furthermore, I think it should be dealing with event1, not event0I have two game controllers. Number one is a Microsoft Sidewinder Precision 2 joystick. Number two is a Microsoft Force Feedback steering wheel. Works great in TORCS.
I've tried going into the "Joystick options" menu and choosing "Steering Wheel" and calibrating, however, still no response.
I looked in the console where I started VDrift and it said:
I gave write access to both devices: I'm probably doing something wrong here too.
I also encountered two minor problems:
Speed-o-meter problem
When I set VDrift to show the speed in kilometers/hour, the digits work fine. However, on the speed-o-meter itself, the speed is still shown in MPH. I guess you know this already.
Skidding problem
When the car starts skidding in a curve, it's nearly impossible to recover, and suddenly it starts spinning (and sometimes the car gets outside the level). I'm probably just driving like shit :P.
Perhaps by the next release I'll come up with a way to prevent double-assignment. The trick is that sometimes it should be allowed, mostly for the engage clutch control.
Steering wheel problem: our control assignment is not the same as TORCS. Above is a good example of how to assign controls. If you have some suggestions to make this better I'm open to ideas. Also there is information on how to assign controls on our wiki, please let me know if you think there is information missing from this.
Force feedback: it may help to first test your force feedback with the ff-utils particularly "ffcfstress" (you can find ff-utils here). Either way, force feedback does not have to work for the steering wheel to work.
Speedometer: known issue, we want to have customized speedometers/tachometers for each car.
Skidding: I just wrote something about this in a post above, read that and also try counter-steering when you start to slide. :)
Skidding problem: Yeah, I'm trying to counter-steer. Gotta learn it. :P
Keyboard problem: I got the keyboard control things fixed after I found out that if you change a setting in a menu, it won't be changed if you move to a submenu (and apply changes there). You have to explicitly press "Accept" and then go back to the submenu and apply changes there too. These are minor problems though.
Steering wheel problems:Also, I think TORCS does it a great way (steering wheel settings). I understand why Steering Wheel settings and keyboard settings are in separate menus, however the TORCS way is more intuitive IMHO.
I tried testing with ffcfstress:
I only have two joysticks, but I don't know if they start at event0 or event1 js_demo reports this: I'll try a bit more later on trying to get the steering wheel to work.On control assignment: it's been a while since I messed with TORCS, the latest version won't compile on my Ubuntu Feisty 64 machine...but the way I remember it is that the user selects a control with either mouse or keyboard and then enters a new input. Only one input is allowed per control. In VDrift many controls are allowed to be assigned more than one input. Thus it makes more sense to have an add button rather than just selecting the control. Also it becomes difficult to support joystick menu navigation as well as mouse and keyboard with a TORCS-like method. Another method games often use is a table with columns for mouse, keyboard, joystick, etc...again this makes it difficult to allow multiple input assignments to controls.
svn checkout http://svn.vdrift.net/repos/vdrift/trunk vdrift
If you're using a joystick or mouse to play, you can adjust the deadzone and sensitivity of the control by editing the assigned control. Just select the control assignment you want to change in Options -> Controls -> Assign Controls -> Car Controls, then alter the Deadzone, Exponent or Gain settings.
Hope that helps...
The driving experience varies greatly depending on which car you choose, and it can be frustrating going through the largish list of cars trying to find those that drive well. It would have been better, I think, to have half a dozen well modelled and well-behaved cars than a confusing mixed bag of 28.
The tracks are mostly copied directly from Racer. That's ok I guess, but it makes the game feel more like a rip-off of another game rather than something original in its own right.
What does disappoint me about this game though is its apparent lack of focus. Its title leads you to think its a game about drifting, however many of the cars & most of the tracks are not suited to drifting and the new AI drivers don't seem to drift at all. It seems like its wanting to be both a drifting game and a racing game, and as a result doesn't do either very well. It has a stack of cars and tracks, not because they fit the vision of what the game is about, but rather because those cars & tracks were available & hence they were added. "The more we have the better" seems to be the philosophy behind VDrift's artwork.
Granted, the game is still under active development with many new features in the works so its not fair to judge it too harshly. In my view its worth 3 stars in its present form, to be reviewed with future versions.
Some of the things you mentioned like lack of polish and focus are being addressed in the next version. One major thing we are working on right now is choosing one car to focus development on for the next few months or so. Having only one car to work on will make it much easier to finish setting up a working interior/driver, and get the car driving as well as possible.
Another step we're taking is ditching the current custom-written collision detection/response code in favor or ODE/gimpact for trimesh-trimesh collisions. This should make car-to-car collisions possible, as well as more accurate collisions with objects on the track, and hopefully also movable objects in the world (like cones you can run over). We're not sure yet if every single one of these features will be in the next version, but you can count on seeing ODE in use.
The things you're saying are the kinds of things I thought about the game back in 2005 when I first found it and got involved. It's a good start, it has lots of potential, but it will take plenty of serious work to finish the idea that's been started here. We have tons of great plans and we have a good development team, but we could always use more help. If you think this game is worth some effort, please stop by VDrift.net and get involved. See also the Contribution wiki entry for more information on how you can help.
I get this error when I'm trying to run Scons:
[root@localhost data]# scons
scons: *** No SConstruct file found. File "/usr/lib/scons-0.96.93/SCons/Script/Main.py", line 1023, in _main
Someone might know what's wrong
Please write to [email protected]... I don't visit this site very much...
Thanks!
Thanks for reply!
because whoever made it doesnt understand how the world works.
i give props to the graphics, and everything else, except the physics. at first when i downloaded it i thought it might be a cool game, it was. just not how i expected it to be. i could not do a race for more than 2 minutes without running into a glitch that crashed the game.
but! that was the best part. the glitches were absolutely hilarious. i laughed and laughed and laughed.
tip for people who wanna laugh too, try recording a race, glitch it on purpose, record it, when watching the recording, fool around with the view controls. instant hilarity.