Get Your Game On - Running Windows Games in Linux

Windows gaming on Linux has its ups and (mostly) downs, but there are viable options for some games.

More than 300 games are available for Linux today. However, plenty more are out there that are available only to Windows users, and if there's one thing Linux users don't like to accept, it's that we cannot do something everyone else can do. To that extent, a number of products and projects exist that make it possible to play Windows games under Linux (and to run other Windows programs as well). A quick list of these options include the WINE Project, Win4Lin, CrossOver Office, TransGaming's Cedega, VMware and the simple fact that some games, such as many of those from Id Software (creator of DOOM, Quake and so on) actually have binaries available that let you run the game natively under Linux.

Let's take a look at each of these options, see how it fits into the big picture and how likely it is to run the types of games you like, keeping in mind that sometimes the games you'll be able to use are older games rather than newer ones.

WINE—The Free Solution

The WINE Project's software (see the on-line Resources) allows people to run MS-DOS and 32-bit Windows applications under Linux and the free BSDs. Whether WINE will run your particular game is heavily dependent on a number of factors. Because this is free software, your best bet is simply to give it a try and see if it works. Depending on which Linux distribution you're using, WINE may be difficult or simple to install. You may find that WINE is bundled in your distribution's core or external package repositories.

Those who don't have this option can go to the WINE site and click the Download button. You may find a prebuilt package for your distribution there. If there isn't a package available, follow one of the WINE Source Downloads links and then follow the instructions in the README file for how to build this program.

Once you have WINE installed, attempting to run a Windows program using this tool is actually not that difficult. First you need to get the program onto your system, whether by mounting the CD-ROM or DVD-ROM containing it, or by downloading or copying the software onto your machine. Then, if this is software you need to install, you need to determine which program launches the installation—this is typically INSTALL.EXE or SETUP.EXE. From inside the directory where the program lives, type wine program. For example, wine INSTALL.EXE.

More often than not, the installation program will launch properly. You might even be able to install the software fully using WINE. If that's the case, don't get too excited yet. The real test is whether the software will run. Programs installed inside of WINE are placed in ~/.wine/drive_c/Program Files/. You also may have launcher icons on your desktop. If you're starting the program by hand, navigate to the directory containing the program, and then type wine program just as you did before. So, if you were trying to see if you could get the game Bejeweled running, you might change to ~/.wine/drive_c/Program Files/PopCap Games/Bejeweled, and type wine WinBej.exe. This is the moment of truth. It either will run or it won't. If it does, rejoice! If not, you can search the Web for tips on how to get the particular game running under WINE, or you can try another tool.

Unfortunately, I've had very poor luck getting games to run under WINE, personally—much of that is due to a refusal to spend four days hunting down every possible configuration tweak. I'm sure someone will take away my official Geek card for that. Frankly, I have better things to do. The closest I got this time was pulling out my Classic Text Adventure Masterpieces CD with old Infocom games. The installer worked, and the games would launch, but then they died. Ah well, it was a bit of nostalgia anyway.

Win4Lin—Running Windows inside Linux

Win4Lin is a commercial product (see Resources), and this section focuses on Win4Lin Pro, which allows you to install Windows 2000 or XP inside a Win4Lin framework, which is installed on a Linux system. Essentially, it lets you run a Windows machine inside a Linux machine. Although this product is meant primarily as a business tool, if you have it for “practical” purposes, then why not try using it to run games that you can't get to run in another way? Because this is a commercial tool with plenty of documentation, installation instructions and starting Win4Lin are left to the manuals.

Now, first off, on an older machine like an Athlon 1.2GHz with 1GB of RAM, don't even bother. The virtual Windows XP box functions at a snail's pace for just about any operation, even opening folders. Playing any games except for untimed casual ones (for example, Bejeweled, which did work for me) is essentially impossible due to the performance hit—though you get this hit only inside the Win4Lin session, the rest of the machine functions normally. Mind you, one of the older games I always test under emulators, because I kind of miss it, is SimTower, and this is the first time I've gotten it to run. However, World of Warcraft couldn't start its install, because the installation program gave an error claiming it couldn't find a data file.

Note that to get Bejeweled to work, I had to copy the files off of the CD-ROM and install straight from my hard drive. The CD is both a data and music CD, and both Linux and Windows seem to get fussy with it from time to time.

Figure 1. Bejeweled, being played inside Windows XP under Win4Lin Pro.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

HMMMM

Anonymous's picture

asd is lliek wow, and she said who yer i was like u know adnd yer thats how i did it, increadibly it suad shse swas a fool wofr fo it and like yer, wtf is a sheep

im in shit

Anonymous's picture

how can i get age o empires 2 work on xfce window manager,(linux) i need help t_t im sad

Had an Idea, though it may

Anonymous's picture

Had an Idea, though it may be hard work. I won't try! But, if someone here have time, give it a try !

There it goes:

1 - Install WinXp and World of Warcraft(WOW) on a Machine in the same drive. Ex.: On Drive C. Configure everything so you can run WOW normally under WinXP.

2 - Install "Ghost Software". Ghost this Drive C and keep the Partition Image in another partition.

3 - Install VM in your machine. Create a WinXp VM Guest in it.

4 - UnGhost the previus "Partition Image Ghost" into the VMs Virtual Hard Drive.

The idea would be to have a copy of the host's OS into a VM that is running inside it !!

5 - Try to run WOW inside the VM. Shall it work ?

I belive it won't. But, who knows it !

Guild Wars

Arda Gunes's picture

I've tried your settings on VMware to play Guild Wars. Although there were some graphic corruption, its still playable with all settings on High. My guess is, they have improved 3D functionalty of VMware with recent versions (considering this article is written in 2005-11-29. I am currently using free-beta 6. 2007-04-10).

With the success of Guild Wars, i also tried Warcraft 3, Warhammer 40k Dawn of War. They were a bit slower, but that was expected. Other then that, games run fine with VMware.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix