Getting the development version
This page describes how to get the source code of VDrift. It assumes your computer meets the requirements.
Downloading a snapshot
Both GitHub and Sourceforge allow you to download a snapshot of the current state of the repository.
The source code can be downloaded by going to the downloads section of GitHub and click either "Download as zip" or "Download as tar.gz". Once it has downloaded, uncompress the resulting file into a folder called vdrift.
Dependencies for Windows and OS X can be downloaded in the same way as the source code, from https://github.com/VDrift/vdrift-win/downloads or https://github.com/VDrift/vdrift-mac/downloads respectively. They should be uncompressed into vdrift/vdrift-win or vdrift/vdrift-mac.
The data can be downloaded from http://vdrift.svn.sourceforge.net/viewvc/vdrift/vdrift-data/ - just click "Download GNU tarball" near the bottom of the page. Uncompress to vdrift/data.
To easily stay up to date with the latest changes, and to avoid re-downloading large amounts of data, you can use Git and Subversion to clone/check out the repositories to your computer. For the following sections it is assumed you have installed Git and Subversion, and have some knowledge of the command line. If you are using a Git or Subversion client, follow its instructions for downloading repositories.
The following command will clone the source code to a folder called vdrift in the current directory:
git clone git://github.com/VDrift/vdrift.git
Then navigate to the vdrift folder:
Cloning the dependencies for Windows and OS X is similar to cloning the source code. Make sure you are still in the vdrift folder, then execute the command for your operating system:
git clone git://github.com/VDrift/vdrift-win.git
- OS X:
git clone git://github.com/VDrift/vdrift-mac.git
The data can be checked out into the vdrift/data folder with the following command. Make sure you are still in the vdrift folder.
This will take a while to complete as the data is quite big.