New Projects - Fresh from the Labs
To start off this month, I deal with my petrol-head side straightaway and look at the racing simulator VDrift. For those who read my column last month, you may recall I made a brief mention of this project. This month, I take a more in-depth look at it. To quote the Web site:
VDrift is a cross-platform, open-source driving simulation made with drift racing in mind. It's powered by the excellent 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 (Cygwin).
This game is in the early stages of development but is already very playable. Currently the game features:
19 tracks: Barcelona, Brands Hatch, Detroit, Dijon, Hockenheim, Jarama, Kyalami, Laguna Seca, Le Mans, Monaco, Monza, Mosport, Nurburgring Nordschleife, Pau, Road Atlanta, Rudskogen, Spa Francorchamps, Weekend Drive and Zandvoort.
28 cars: 3S, AX2, C7, CO, CS, CT, F1, FE, FF, G4, GT, M3, M7, MC, MI, NS, RG, RS2, SB, T73, TC, TL, TL2, XG, XM, XS and Z06.
Compete against AI players.
Simple networked multiplayer mode.
Very realistic physics.
I was pleasantly surprised by this project's main installation method, as it eschews all of the usual repository and source stuff and uses Autopackage instead. I've always been a big fan of Autopackage, because it combines the perks of a Windows-style package installation (double-click, Next, Next, Next, Finish—you get the idea) with the added structural benefits of a UNIX-style architecture. There is a source file buried deep under several layers of the Web page, but the choice given for Linux on the main page is an Autopackage, so we'll stick with that here and hopefully annoy some pedantic Debian developers in the process—the natural enemy of the Autopackage!
Grab the package and save it somewhere locally. Once it's downloaded, you need to flag it as executable (don't worry, this is just a once-off), either by turning the executable option on for the file in the file manager of your choice, or by entering the following at the command line:
$ chmod u+x VDrift-2007-03-23-full-2.package
Now, you can run the package simply by clicking on it, and follow the Next, Next, Next prompts. You can choose to install it locally or system-wide, depending on whether you have a root password. Note that you can run this from the command line, but it's a bit like mixing 12-year-old Scotch with Coke—it just defeats the purpose. If this is your first time with an Autopackage, before VDrift installs, Autopackage installs itself to your system along with a neat Add/Remove Programs-style utility called Manage third-party software in your system menu, where you can remove VDrift (or any other Autopackages) later if you want. Don't worry; this also is a one-time-only process. Autopackages will skip straight through to installing after you have Autopackage on your system.
During the installation, Autopackage checks your system for compatability, and if it encounters any problems, it tells you in the installation window. If you are missing any needed requirements, you can install them in the meantime and run the Autopackage again simply by clicking on it. In terms of libraries, the documentation says you need the following:
libsdl: simple direct media layer.
libglew: OpenGL extension utilities.
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.
Once the installation process is over, VDrift should install itself under your menu, somewhere along the lines of Games→Simulation→VDrift.
The first thing you should do is crank up the graphics as much as humanly possible. The default graphics level is very conservative, and even with the graphics turned up, it still has the occasional feel of “ye olde Pentium 133”. So, head to the Options→Display section, and then go to the Advanced section below. Texture size, Anisotropic filtering, Antialiasing and Lighting quality will all have a big effect on the look of the game. Back in the main Display section, you can switch between full-screen and windowed mode, as well as change the resolution. If you want to make life easier, you can choose between either miles or kilometers per hour, and enabling the track map really helps when driving somewhere unfamiliar.
John Knight is the New Projects columnist for Linux Journal.
|Designing Electronics with Linux||May 22, 2013|
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Nice article, thanks for the
7 hours 11 min ago
- I once had a better way I
12 hours 57 min ago
- Not only you I too assumed
13 hours 15 min ago
- another very interesting
15 hours 8 min ago
- Reply to comment | Linux Journal
17 hours 1 min ago
- Reply to comment | Linux Journal
23 hours 55 min ago
- Reply to comment | Linux Journal
1 day 11 min ago
- Favorite (and easily brute-forced) pw's
1 day 2 hours ago
- Have you tried Boxen? It's a
1 day 7 hours ago
- seo services in india
1 day 12 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?