VDrift Screenshot 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:
yesyesnoyesyesyesyes
Suggest an update

Comments

I seem to have some timing issues. The framerate is ~0.7fps while I watch the day/night cycle whizz by in about 10-15 seconds from sunrise to sunset. I think the linux port needs some work.

Ubuntu 5.04, kernel 2.6.10, AMD Athlon 2000+, Radeon 9800, fglrx 8.14.13.
Re: Timing issues posted by tjwhaynes on Jun 20 2005 1:06 PM
Did you mean to post on this game? Or were you trying to comment on Stellarium or FlightGear (both of which have sunsets...)
Re: Timing issues posted by anonymous on Jun 20 2005 3:09 PM
I mean this game, VDrift, the racing game. I can watch a nice slideshow as the game spins from day to night and back again, but it's unplayable.
By 0:23 on the lap timer it's pitch black, and by 0:55 or so the sun's rising over the road.
Re: Timing issues posted by anonymous on Jun 21 2005 6:38 AM
Same problem... about 0.7~3 fps 640x480 16b, but it isnt strange, the ati linux drivers really sux... :-(

Slackware 10.1 Kernel 2.6.11.11 fglrx-8.14.13
Amd Athlon XP 2400+ 768MB ATI Radeon 9600se 128MB

Re: Timing issues posted by anonymous on Jun 21 2005 1:08 PM
I soooo regret buying my last two ATI video cards. Drivers for Linux and Windows all suck. Buggy is an understatement.
Re: Timing issues posted by anonymous on Jun 21 2005 1:10 PM
Well, I wouldn't jump to any conclusions, but I suppose the 8.14.13 drivers might be involved. It's funny, I've not seen any similar problem ever with the ATI drivers, or any other cards/drivers and I have a ton of 3D games for linux. Driver bug or not, the day/night cycle definitely shouldn't scream by in 60 seconds. That's got to be something wrong with the game's code. Still, I'll try the DRI driver and an older fglrx in the next couple of days and see what happens.
Re: Timing issues posted by anonymous on Jun 29 2005 6:05 AM
Try pressing ESCAPE (you might have to hold it down for a second or two). The menus should pop up... let me know if the framerate is all of a sudden normal (that is, if the menu is responsive). If you press ESCAPE again to go back to the game, does the framerate tank again?
Re: Timing issues posted by anonymous on Jul 23 2005 2:12 PM
Make sure that your libGL.so links to the correct library (it should links to the library in the fglrx directory). It's a common problem with the ATI drivers.
Caveat: I have a steering wheel!

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.

You need to DOWNLOAD the OpenAL Runtime. Hitting the HOME key caused the game to crash. I didn't get any sound whatsoever. I'm all for more open source car games - none seem polished or completed. See what you can grab from TORCS, Trigger, etc, source code. :-)
I try starting the engine, shifting up gears, hitting the gas, but nothing happens. :/
Re: I can't get the car too move. posted by anonymous on Jun 26 2005 1:29 PM
Need to disengage the clutch after EVERY gear change. :-(
Automatic engaging clutch posted by tjwhaynes on Jun 29 2005 7:59 PM
Make sure that for whatever keys you have bound to shift_up and shift_down, you also bind the same keys to engage_clutch but to activate on "up" set instead of "down". That way, the clutch will disengage when you press the key to change gear and will re-engage when you release the key.
Is someone able to steer that car by keyboard. It feels like driving with two damaged front tires. The care can't hold the line is only driving left or right. Driving straightly forward seems not possible. IMHO the steering should be configured to return in to straight position after steering right or left.
i can't stand it. openal may suck (still apple uses it on tiger) but i won't install fmod. ever.
Re: no please no fmod... posted by anonymous on Jul 19 2005 5:02 AM
What is worse: I know of no fmod dependant game ever admitted in debian's official repositories. Considering that library is not free, it doesn't strike me as a surprise at all.
Re: no please no fmod... posted by TheBohemian on Jul 19 2005 7:01 AM

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.

Re: no please no fmod... posted by anonymous on Jul 19 2005 7:21 AM
Yes, the site is down temporarily, what bad timing for network issues! It should be back up soon. You can still download the latest version of the game from the sourceforge files page.

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...
Re: no please no fmod... posted by TheBohemian on Jul 19 2005 8:28 AM

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.

Re: no please no fmod... posted by thelusiv on Jul 19 2005 10:41 AM
We'll try to use OpenAL, and in the future we'll probably at least distribute two versions or something that can change the sound lib via autoconf, because obviously everyone's not happy with FMOD.

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?
Re: no please no fmod... posted by Matheus Villela on Jul 20 2005 1:37 AM
Nice game, but in some minutes of gameplay it becomes boring :P, looking for some "tournament mode" in the future to play more ;)
Re: no please no fmod... posted by TheBohemian on Jul 19 2005 7:38 AM

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.

Re: no please no fmod... posted by anonymous on Jul 19 2005 7:41 AM
We're working on that. :) The build system used is one set up by Anjuta, and we don't quite know how to do much with it yet. It is in need of some tweaks for sure.
I can't access the new website, has somebody else the same problem?
Re: new site posted by thelusiv on Jul 19 2005 11:47 AM
Yes, the network the server is on is down suddenly today, I am working on getting it back up. I'll post when I do...
Re: new site posted by thelusiv on Jul 19 2005 2:17 PM
They finally got power back up over there. VDrift.net
it finally works really nice with the keyboard!! nice graphics, physics... I really like it! congrats!
:-)
Re: Anyone keen to make .debs for this? posted by anonymous on Dec 20 2005 1:43 PM
There will be debs in the next release (they are in SVN now in the tools/ directory).
It'd be really neat if you had a Torcs-like API for creating robot drivers as shared libraries. Is this on the todo list at all?
Grab as much code as you can from TORCS, Trigger, et al. Try and reuse tracks and car models from other car games (or convert them). :-)
Re: To the developers posted by thelusiv on Aug 1 2005 8:21 AM
Easier said than done! :) This game has a different focus than those, for instance Trigger focuses on offroad/all-wheel-drive, TORCS on racing robots. While some aspects of these games are similar to the end user, and even to developers (all 3 are written in C++), it is still easier and cleaner to reimplement code than try to use pieces of others'. Don't worry though, many of the features of TORCS and Trigger are coming to VDrift very soon - as well as much more...

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.
When I submitted this I put the wrong URL in the SVN command. Here's how it should be.

svn co http://svn.vdrift.net/repos/vdrift/trunk vdrift
Some header files are missing in the 2005-08-02 version, i.e.: gamestate.h, logo.h, trees.h.
Re: Header files missing in v2005-08-02 posted by thelusiv on Aug 2 2005 6:46 PM
From the site's pics, it seems the scale is a tad off - the cars are as wide as the warning strips. Not that that's too much of a problem, of course =)
Re: Scale posted by thelusiv on Aug 2 2005 7:09 PM
The cars and track are the right size, the bump strips might be too wide. How wide (exactly) should they be? Thanks :)
Re: Scale posted by grolschie on Aug 2 2005 10:55 PM
I know this is HappyPenguin.org, but is there a Win32 release coming soon? All the latest ones are Linux only.
Re: Scale posted by thelusiv on Aug 3 2005 10:21 AM
It just got released. Grab it here.
Re: Scale posted by grolschie on Aug 3 2005 2:42 PM
Uh oh. That Windows release is really broken. I change into 1st and the car won't accelerate at all. I exit, re-enter then accelerate before putting into first. Car tires spin and car slides wildly out of control with little gas, so I put in 2nd. A little more stable, but car doesn't turn well if at all. After hitting reverse, accerator will not work anymore even in neutral. If I restart, hit reverse, hit neutral or 1st, no accelerator anymore. This release is unplayable. :-(
Re: Scale posted by thelusiv on Aug 3 2005 3:49 PM
What control settings are you using and what kind of input - keyboard or some kind of joystick?
Re: Scale posted by anonymous on Aug 5 2005 2:51 PM
Keyboard
Re: control posted by anonymous on Aug 19 2005 10:45 PM
what are the control dont know
Re: Scale posted by anonymous on Aug 3 2005 4:46 PM
Have you driven a manual transmission before? All of the cars in-game are manual transmission, and there's no auto-clutch, so you have to actually give it some gas to start the car rolling or else you'll stall out. If you give it too much gas, your wheels will spin and the car will tend to spin out. That's all intentional! It's meant to be a simulation, so the physics are a cut above what you're probably used to in computer driving games.
Re: Scale posted by anonymous on Aug 5 2005 2:53 PM
Yep. I played racing games and have driven cars for years. Even in neutral, pressing accelerator, the revs stay at zero!!!!! It's like the engine is frozen. I am not talking about trying to change gears here, but that the accelerator that would previously redline no problem in neutral no longer does anything.
Re: Scale posted by thelusiv on Aug 7 2005 8:38 AM
So, trying to start the car after it stalls is not possible? Have you tried pressing the 'S' key after the engine stops working?
Re: Scale posted by anonymous on Aug 9 2005 4:11 AM
I will give that a go thanks. Never driven a car game where the engine stalls. :-)
Nice game, but coud I control the car with mouse? Thanks.
Re: VDrift posted by thelusiv on Aug 8 2005 7:59 PM
Good suggestion. This is an analog control that everybody has. It's on the TODO now.
Re: VDrift posted by anonymous on Sep 22 2005 2:27 PM
see www.racer.nl for an example for quite excellent mouse control for a (free) racing game
Re: VDrift posted by anonymous on Sep 23 2005 6:32 PM
racer.nl this is not a free nor opensource software, only freeware, which sucks.
... disabling the HUD raised my fps from 6 to 18, making the game almost-playable in my GF2.
This 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
Hey guys... look this:

: 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"

Nice improvements. Car is overly hard to control though. Feels like it is made of lead and skids like crazy and cannot slow down for corners without spinning out. Not forgiving in the slightest. The initial camera view is terrible and must be controlled with mouse. Car looks like it is super-imposed/floating on the track for some reason.
Re: Getting better all the time! posted by anonymous on Oct 16 2005 7:12 AM
"Car is overly hard to control though. Feels like it is made of lead and skids like crazy"

Drift racing is the art of controlled skids.

Re: Getting better all the time! posted by anonymous on Oct 16 2005 2:04 PM
I do realise that. I have played console racing games that use drifting such as Project Gotham Racing 2 etc and these games are all far easier to control the cars. This games needs major work when it comes to keyboard controls.
Re: Getting better all the time! posted by anonymous on Oct 19 2005 7:11 AM
Yes, it's unplayable on keyboard
Re: Getting better all the time! posted by anonymous on Oct 20 2005 1:13 PM
Indeed.
How can a  pathetic attempt at a game like this receive 5 stars ???
You must be joking here or you people have some serious quality
issues. The fact that it is opensource does not excuse the developers
from producing something thats is actually playable. Every source
version i tried didn't compile. I got errors refering to missing headers,
missing 'install.sh' files, autoconf, automake incompatibilities what the
hell is that ?????

Note to the developers: I'm sick of the dead-low quality issues plaguing opensource projects. Your project is a mess, doesn't compile, has problems with standard automake and autoconf versions. You should take note and fix all these problems (i don't care if the project is 0.x or 0.0x). If it doesn't compile you should not put it public, end of story.

Here's some fish for you posted by anonymous on Oct 19 2005 7:10 AM
<°(((o><
Okay, pissed off as i was that i couldn't get the source to compile
i went and downloaded the most recent linux binaries i could find
on their homepage.

Game is so slow its unberable. I'm getting 5fps playing 640x480x16bit fullscreen on an athlon xp 2800+ with 1 gig of ram and a geforce 3 card.

This is beyond ridiculus. If i was one of the developers of the game i'd run to hide under a rock, never to bother anyone again with such an abomination. You see, it takes knowledge and skill to create a game. Not every degenerate opensores "John Carmack wannabee" can do it. This game is nothing more than the same old pile of opensource shit, another pathetic attempt that goes nowhere and is so badly coded one doesn't know if he should make fun of the developers or try to lynch them.

Stay well clear of this one, its crap. I'm happy because there are some good opensource games around, although they belong in the miniscule minoriy. Kenta Cho and his games (rrootage et all) are an example to be mimicked, he can actually program fast, playable, quality games something which the VDrift developers obviously have absolutely no clue on.

Re: Tried the binaries, game SUCKS BIG T posted by tjwhaynes on Oct 16 2005 8:32 AM
Given I've compiled this game repeatedly for version after version on a native AMD64 with hardly a single problem, you should look at your system and try and work out what you are missing. I've been using automake 1.8 and autoconf 2.59.

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

Re: Tried the binaries, game SUCKS BIG T posted by tjwhaynes on Oct 16 2005 9:45 AM
In fact, O struggler with autotools, they have answered your call and switched to the SCons system. So you should be up and compiling without any further todo.

Enjoy!

Re: Tried the binaries, game SUCKS BIG T posted by anonymous on Dec 14 2005 6:57 PM
Total P.I.T.A.! Why would anyone want to help that pathetic loser. I've only been linux-free for 6 mos. and using the same vid-card. I googled it to see what the problem might be. I wonder if this guy tried using a different card? This card I've got is completely outdated and a hand-me-down. Just because your card has a fan on it doesn't mean it's good technology. So, I would just like to throw my 2 cents in and blame nvidia. Otherwise, it could be a driver-hardware compatibility issue.

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.

Re: Tried the binaries, game SUCKS BIG T posted by anonymous on Dec 14 2005 7:51 PM
"... it's the most ingeniously dynamic shooter."

Sure you're commenting on the right game?

Re: Tried the binaries, game SUCKS BIG T posted by anonymous on Oct 16 2005 8:52 AM
Someone forgot his pills...
Well... posted by anonymous on Oct 17 2005 2:43 AM
Go back to your normal daily task of preventing goats from crossing bridges.
Re: Tried the binaries, game SUCKS BIG T posted by anonymous on Oct 18 2005 9:00 PM
Greetings,

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.

Re: Tried the binaries, game SUCKS BIG T posted by anonymous on Nov 12 2005 11:50 AM
"Nvidia does not perform hardware accelleration if the resolution is below 800x600"

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.

Re: Tried the binaries, game SUCKS BIG T posted by anonymous on Nov 13 2005 9:48 AM
Now that you suggest you won't test it anymore, refraining from commenting on games never again would make the world a slightly happier place. Thanks in advance.
Re: Tried the binaries, game SUCKS BIG T posted by salmaklak on Nov 12 2005 12:40 PM
The game compiled without problems for me after I had compiled all the necessary libraries it needs. Compiling it for my system had the added benefit of raising the frame rate from the low thirties to the high fifties. You might do well to take the time to compile the needed libraries yourself since they are fairly standard ones used by a lot of games. BTW, a geForce3 graphics card really doesn't cut it these days. ;)
Graphics are awesome, the physics of cars is very realistic, I'm really impressed by this game. It is a bit hard to control the car, but imho, this is normal for an simulation game. With a bit of experience, I have a lot of fun. The game runs with a good framerate with Athlon XP2000+ and Geforce4Ti. I give 4 stars, just for motivation about better multiplayer support :)

Congratulations to the Vdrift team, and thanks for providing to us this great game ! Keep up the good work !

This game runs in 64 bits platform ??? I tried download the bin and src versions, none of them runs.
Re: Linux x86_64 ? posted by thelusiv on Dec 5 2005 6:37 AM
Some users have reported that VDrift compiles on x86-64 with a little tweaking. However none of the developers have a machine of this architecture, so we're not able to make a package. If anyone is interested in compiling a binary package for x86-64 and/or would like to submit patches to make VDrift compile more easily on this platform please stop by our forums or IRC channel (irc.freenode.net #vdrift).
Re: Linux x86_64 ? posted by anonymous on Dec 20 2005 1:32 PM
VDrift now has a developer with an amd64 system (me). amd64 will be included as a supported arch in the next release.
The lastest version released on Nov 3, 2005 is pretty nice on Linux. Actually, the cars drive much better in VDrift than on TORCS with the majority of racing wheels available for Windows. The input has been given sufficient attention with the 900to200 touchiness compensation. In summary, I think VDrift has great potential. Actually, it's the MOST fun that I've had racing on the Linux platform. Keep it up!

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.

Re: VDrift posted by anonymous on Feb 23 2006 9:29 AM
The game is still under development and there are some bugs. This is just a preview release, by the time we make a real release, we will make sure those config file bugs are gone. Also feel free to report bugs on http://bugs.vdrift.net.

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.

Re: VDrift posted by anonymous on Feb 23 2006 5:10 PM
your controls weren't responding because the engine wasn't running! next time, shift to neutral and press the "start engine" key. there's also an "auto-clutch" option in the menus if you don't want to have to worry about stalling the engine.
Here's the problem i experience with autopackage on Ubuntu 5.10

Checking for required C library versions ...  OK
Checking for Standard C++ library ...  OK
Checking for Simple DirectMedia Layer (SDL) ...  OK
Checking for SDL Image Library ...  OK
Checking for SDL Network Library ...  OK
Checking for OpenGL Graphics Toolkit ...  OK
Checking for OpenGL Utility Library ...  OK
Error: Unable to prepare package VDrift.

Re: Autopackage will not install posted by anonymous on Jul 16 2006 6:58 AM
the same problem on Arch Linux
Re: Autopackage will not install posted by thelusiv on Jul 16 2006 4:35 PM
This is because of your old version of OpenAL which doesn't use FreeALUT. the game was linked againest freealut so it must be present to use the autopackage. I couldn't find a way to make the autopackage report that properly but it does check and refuse to install if you don't have freealut.

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.
Re: Autopackage will not install posted by anonymous on Jul 17 2006 9:57 AM
yes, i install on Arch linux FreeALUT and Vdrift from *.package works, thanks :)
The best open-source racing simulator I've tried so far. Things to improve on:

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
Re: Very good racing sim posted by thelusiv on Jul 20 2006 9:39 PM
To address your first issue maybe we should think about making some non-linear steering sensitivity adjustments like we have for joysticks.

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=1 You 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.
Re: Very good racing sim posted by Draconishinobi on Jul 22 2006 6:45 PM
Oh, I see .... well the binary works fine for now, so how do I go about "making some non-linear steering sensitivity adjustments" for a mouse ?
non-linear mouse steering posted by thelusiv on Aug 14 2006 7:54 AM
This is a development goal for the next release. Watch for updates...
Graphics look a bit like TORCS.
Graphics a lot better than TORCS. Menu are nice too. However i couldn't get my steerings wheel to work. I managed to do that with TORCS.

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.

Re: Better thank TORCS posted by thelusiv on Apr 14 2007 5:31 PM
Your steering wheel should work fine, did you add steering wheel controls in Options -> Controls -> Assign Controls -> Car Controls?

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. :)
Re: Better thank TORCS posted by anonymous on Apr 14 2007 6:26 PM
I think he means "I don't hear anything when it's idling, so I can't tell whether it's idling or dead."
Re: Better thank TORCS posted by thelusiv on Apr 14 2007 9:49 PM
Re-reading it now, I think you're right. However the engine sound is played when the car is idle...so perhaps the sound is not working at all for him. If that's the case, I recommend reading this page about sound in VDrift. His sound card may be blocked or OpenAL may not be set to output to the right device.
Re: Better thank TORCS posted by ysangkok on Apr 14 2007 11:47 PM

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.
I 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:

Loading...
Loading scenery objects...............
Loading...
Loading scenery objects................
Loading...
Sound
Loading...
World
Force feedback device: /dev/input/event0
Force feedback gain: 2
Force feedback inverted: 0
ERROR: can not open /dev/input/event0 (Adgang naegtet) [src/forcefeedback.cpp:24]
Disabled force feedback.
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 event0
I gave write access to both devices:
janus@Gigabob:~$ ls -l /dev/input/event?
crw-rw---- 1 root games 13, 64 2007-04-15 11:10 /dev/input/event0
crw-rw---- 1 root games 13, 65 2007-04-15 11:10 /dev/input/event1
crw-rw---- 1 root games 13, 66 2007-04-15 11:10 /dev/input/event2
crw-rw---- 1 root games 13, 67 2007-04-15 11:10 /dev/input/event3
crw-rw---- 1 root games 13, 68 2007-04-15 11:10 /dev/input/event4
janus@Gigabob:~$ id -Gn
janus man dialout cdrom floppy audio video plugdev games camera fuse
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.

Re: Better thank TORCS posted by thelusiv on Apr 15 2007 11:38 AM
Transmission problem: I forgot to change the default Start Engine key...sorry about that. You can change it yourself. Go to the Options -> Controls -> Assign Controls -> Car Controls menu. Find "Start Engine" and click on the "key" icon to the right of the "+" icon on that row. This will take you to the Edit Control menu for that key, and you can click Delete to remove it. Now back on the Car Controls menu, click the plus icon on the Start Engine row. The game will ask you to enter the control. Change it to A or Q which are near your shift keys but not used by anything else. Just press the desired key. Now you'll be back on the Car Controls menu, and you should see the new key on the Start Engine row.

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. :)
Re: Better thank TORCS posted by ysangkok on Apr 15 2007 1:14 PM

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:

janus@Gigabob:~$ ffcfstress  -d /dev/input/event0
ERROR: can not open /dev/input/event0 (Permission denied) [ffcfstress.c:110]
janus@Gigabob:~$ ffcfstress  -d /dev/input/event1
ERROR: can not open /dev/input/event1 (Permission denied) [ffcfstress.c:110]
janus@Gigabob:~$ ffcfstress  -d /dev/input/event2
ERROR: can not open /dev/input/event2 (Permission denied) [ffcfstress.c:110]
janus@Gigabob:~$ su
Password:
Gigabob:/home/janus# ffcfstress -d /dev/input/event0
ERROR: no suitable x-axis found [ffcfstress.c:144]
Gigabob:/home/janus# ffcfstress -d /dev/input/event1
ERROR: device (or driver) has no force feedback support [ffcfstress.c:165]
Gigabob:/home/janus# ffcfstress -d /dev/input/event2
ERROR: uploading effect failed (Function not implemented) [ffcfstress.c:198]
Gigabob:/home/janus# ffcfstress -d /dev/input/event3
ERROR: no suitable x-axis found [ffcfstress.c:144]
Gigabob:/home/janus#
I only have two joysticks, but I don't know if they start at event0 or event1 js_demo reports this:
janus@Gigabob:~$ js_demo
Joystick test program.
~~~~~~~~~~~~~~~~~~~~~~
Joystick 0: "Microsoft SideWinder Precision 2 Joystick"
Joystick 1: "Microsoft SideWinder Force Feedback Wheel (USB)"
Joystick 2 not detected
Joystick 3 not detected
Joystick 4 not detected
Joystick 5 not detected
Joystick 6 not detected
Joystick 7 not detected
I'll try a bit more later on trying to get the steering wheel to work.

Re: Better thank TORCS posted by thelusiv on Apr 15 2007 9:46 PM
The menu is set up so that each menu should remember the changes made on a page when you go to a submenu. When you leave the submenu whether you press OK or Cancel in the submenu, those changes should still be on the parent menu. However, you still have to press OK on the parent menu or the changes will be forgotten. If it works another way, for instance if the changes made on the parent menu are forgotten when the submenu is entered, then that's a bug.

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.
Note to all: if your mouse doesn't work, get the svn version:

svn checkout http://svn.vdrift.net/repos/vdrift/trunk vdrift
Re: If your mouse doesn't work ... posted by thelusiv on Apr 14 2007 9:53 PM
If you do not want to check out the whole SVN repository, you can get by with just downloading this linked copy of mouse.cpp and replace your vdrift-2007-03-23-src/src/mouse.cpp with it. This problem only affects the source package, the autopackage does not have this problem (it did originally but it was fixed for the revised packages).
Re: If your mouse doesn't work ... posted by Draconishinobi on Apr 15 2007 7:18 AM
well, I compile it from source, and in the latest version, mouse does not work. I guess it would be easier to just get mouse.cpp. But, I'm gonna download the data anyway, so why not just use svn, then 'svn update' to update.
Too much fishtailing.. The goal is to drift but that takes away the fun from driving around. It's like I'm driving on ice.
Re: Fishtailing posted by thelusiv on Apr 15 2007 11:12 AM
Some cars drive better than others. There are also lots of ways to tweak the controls in Options -> Controls. It may help to turn on ABS and TCS (if not already), and increase the Steering Speed Effect. If you're using a keyboard to play, definitely turn on Button Control Delay, and if you still find the gas/brake/steering too touchy, increase it from short to medium or long. Generally it helps to turn on the Input Graph in Options -> Display as well.

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...
This game is very pretty to look at. Its user interface is beautiful & has obviously had a lot of effort put into it. The in-game graphics are nice - on a par with Racer on my machine and superior to Torcs (with the exception of some of Torcs's most recent tracks & cars).

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.

Re: Potential, but lacks focus posted by thelusiv on Apr 20 2007 12:43 PM
Thanks for your comments, and I'll be the first to say that what you wrote is pretty much spot on. I'm glad you like the GUI (despite its little blemishes), I wrote it. :-)

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.
Re: Potential, but lacks focus posted by anonymous on May 4 2007 2:29 AM
It's good to hear, that you want to replace the existing collision code with ODE. Because at the moment, the collision detection system really sucks. For example it is not possible to rub the car alongside a long barrier in a curve. The car will get distracted first and then thrown into air in an arbitrary way. This is a very unrealistic behaviour and should not happen. I hope ODE will fix this.
Sorry but that autopackage thing is really frustrating after all I've got to search where it spread all the files to get it removed, so much work for nothing, can't get Vdrift get working anyway to much errors to mention.
Re: Hate autopackage posted by thelusiv on Apr 18 2007 7:58 PM
Removing an autopackage is simple...in the case of VDrift:
package remove vdrift
is all you have to do.
Hello! My name is Pontus...

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!

Re: Error Scons posted by thelusiv on Apr 19 2007 5:45 PM
Either you didn't get the right package (you need the src package but only got the data), or you didn't change directories to the vdrift directory before running SCons. You might also want to read the Compiling page on our wiki for more info.
Re: Error Scons posted by anonymous on Apr 19 2007 8:18 PM
Well, On Vdrifts homepage I chose vdrift-2007-03-23-data-full.tar.bz2, but I only have the Data directory... hmm..

Thanks for reply!

Re: Error Scons posted by thelusiv on Apr 19 2007 8:24 PM
No problem. You need to download the file vdrift-2007-03-23-src.tar.bz2, unpack it, and then move your data directory inside the directory it creates. Check out the Release Notes for links and full explanations...
Gameplay is really good, lot's of fun with this game
you know why it says "with drifting in mind"?

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.

Re: ewwww posted by Draconishinobi on Apr 3 2009 8:50 AM
lol, yes, the glitches are still there even in the latest version. Just do turn hard around a corner and hit the border and you'll go into a spinning drill maneuver, drill into the ground and into the abyss of hell.

Log in or register to rate this game or post a comment.