Linux.com

Feature: Reviews

Play Windows games on Linux with PlayOnLinux

By Mayank Sharma on March 13, 2008 (9:00:00 AM)

Share    Print    Comments   

If you are an avid gamer, you probably dual-boot your favorite Linux distribution with Windows, because that's where you find most new cutting-edge games. But what if you could run your Windows games on Linux? PlayOnLinux is an open source Python-scripted front end that helps you install and play tons of Windows-only games -- and then some!

At the core of PlayOnLinux is Wine, a compatibility layer that lets you run many Windows programs over Linux. But Wine isn't always easy to use. It's a command-line program, and using it for tasks like tweaking the Windows environment or individual programs remains a complex task that you can accomplish only via command-line options. This is where PlayOnLinux comes into play. PlayOnLinux provides a front end for most Wine options to help you install, manage, and uninstall Windows-based games and applications.

I installed PlayOnLinux on a Fedora 8 system that I created with the installable Fedora Live games spin. The minimal installation instructions are in the 491KB tar package. There's also a 497KB precompiled PlayOnLinux binary for Debian-based systems like Ubuntu.

Using PlayOnLinux you can install full games, expansion packs, and patches. Since PlayOnLinux uses Wine, it'll run everything that runs with Wine, which includes several productivity, office, and graphics apps as well. PlayOnLinux installs each program within its own individual environment, called a wineprefix, similar to CrossOver's bottles implementation. To uninstall a program, just select it from the list of installed applications, and from under the File menu choose the Remove option.

But PlayOnLinux is much more than a front end. The program also includes bash scripts that will create the correct environment for a particular game and guide you through its installation. In addition to the 10 official scripts, you can enable a community repository from within PlayOnLinux, which will add another 50+ scripts. From the two repositories you can install games such as Call of Duty 2, Max Payne 2, Soldier of Fortune, and World of Warcraft.

Along with the game scripts, PlayOnLinux packs another subset of scripts called WorkOnLinux that will create an installation environment for freely available Windows applications including Blender, Google SketchUp, Safari, and Winrar.

Don't despair if you can't find a script for your favorite Windows-based game or application. Using PlayOnLinux's LiveInstall script, you can install any game or app and use it with all the various PlayOnLinux tools (such as WineBooster, WineMaster, and WineConfig) as if it had been installed with an official script. Once you've installed PlayOnLinux, these tools are available from PlayOnLinux's Tools menu.

Using the tools, you can configure Wine from the Wine configuration window, where you can tweak audio, video, and other settings. You can also tweak the various Wine options to improve performance, like DirectDrawRenderer mode and VideoMemorySize, with WineBooster. You also have the option to install DirectX and Wine versions for a particular game and use WineGit to compile and install Wine from its Git repository. The tools menu also lets you install and change the Wine theme, and edit the Windows Registry Editor. Most of these changes are followed by a quick simulated Windows reboot.

PlayOnLinux can also run a battery of graphic tests, such as Glxgears, Glxmulx, and GlxTinou. This is done from under the Settings menu, from where you can also enable or disable the community repositories.

Even with all its nice options, PlayOnLinux has some drawbacks as well. The biggest is language; most of the developers are from non-English-speaking regions. While there is an option to switch the interface to English, some error messages and other bits of information haven't yet been translated. Also, many of the WorkonLinux scripts (such as the Safari script) take you to the non-English download page of the application.

Also, most of the scripts keep looping endlessly. For example, if you've just installed a game using one of the PlayOnLinux scripts, it should end when you've decided to create a desktop shortcut for the game you just installed. But, irritatingly, the script loops the icon creation section and exits only when you ask it not to create an icon. In some scripts, like the WineGit script, the Cancel button doesn't exit the process, but merely skips to the next step.

Yet PlayOnLinux, despite its minor peculiarities, is a good mechanism to manage and play Windows-based games on Linux.

Share    Print    Comments   

Comments

on Play Windows games on Linux with PlayOnLinux

Note: Comments are owned by the poster. We are not responsible for their content.

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 80.52.195.90] on March 13, 2008 10:33 AM
"Along with the game scripts, PlayOnLinux packs another subset of scripts called WorkOnLinux that will create an installation environment for freely available Windows applications including Blender"

But... Blender has naitive Linux version...

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 214.3.151.104] on March 13, 2008 11:04 AM
Unfortunately, these technologies don't work very well, at least in my experience. I applaude the developers for making products like this (Cedega, PlayOnLinux ), but they are a serious compromise to playing natively on Windows. I have yet to find a technology that plays games as well or as easily as native (Windows) game play. Now only if the game companies could start making game content and engines separately so the engines can be ported to Linux...that would be something.

#

Most likely another one added to the winehq black ban list.

Posted by: Anonymous [ip: 58.179.84.93] on March 13, 2008 12:43 PM
Reason most don't keep there scripts upto date. And keep on overriding stuff that is no longer needed.

It is also expected that any script like this puts information in the appdb.winehq.org to help others.

#

Thanks goodness some game developers have a clue and provide native game engines (NWN and others)

Posted by: Anonymous [ip: 204.50.208.4] on March 13, 2008 02:08 PM
Now if only the two biggest hinderances to gaming (ATI/nVidia) would get there heads strait. At least AMD seems to be putting ATI on the right course.

Hey! The rest of you hardware manufacturers! Where is my platform independent driver interface specs so your hardware can be purchased by *any* computer owner without being tied to a single OS!

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 71.15.112.90] on March 13, 2008 02:13 PM
ATI is in sad shape and has been for a long time. nVidia on the other hand, has had excellent driver support on Linux, BSD, and Windows for ages. nVidia is not the problem. And despite the many advances ATI has made, their drivers are still a far second compared to nVidia's offerings.

If you want quality 3D acceleration on Linux, there is only one game in town; nVidia. Anyone saying otherwise is simply ignorant of reality.

#

nVidia and ATI

Posted by: Anonymous [ip: 82.192.250.149] on March 13, 2008 03:46 PM
"Anyone saying otherwise is simply ignorant of reality." .... well, be careful, nVidia is ahead of ATI today, but your comment will be readable for a long time, and ATI is catching up fast. In the long run ATI has an advantage because it's releasing specifications, not just closed-source drivers.

#

Re: Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 189.79.95.174] on March 13, 2008 06:45 PM

Re: Play Windows games on Linux with PlayOnLinux

Posted by: Jeremy Akers on March 14, 2008 05:01 AM
Sounds like you're the one who's ignorant. nVidia's Linux drivers are just as buggy as ATI's. I've never had a major memory leak or a crash bug in an ATI driver. I've had tons of problems with nVidia.

For the latest one that's plaguing me and quite a few other Linux users, read: https://bugs.launchpad.net/bugs/151168

And nVidia is claiming they can't reproduce the issue. This bug has been an issue for quite some time and they still can't figure it out.

#

nVidia vs. ATI

Posted by: Anonymous [ip: 204.137.64.112] on March 13, 2008 04:20 PM
It seems that we have a battle brewing over which software manufacturer is better than the other. Looks like an article Idea to me.

#

Re: nVidia vs. ATI

Posted by: Anonymous [ip: 204.137.64.112] on March 13, 2008 04:21 PM
My bad I meant hardware.

#

Re: nVidia vs. ATI

Posted by: Anonymous [ip: 204.50.208.4] on March 17, 2008 01:34 PM
I'm the same anonymous that started with the "hey, where's my driver interface specs" comment. If one of you good linux.com folk can do an article on the updated state of support for ATI/nVidia or any other 3D gpu that can compete in the same fips range; I'm here daily and can't wait to read it.

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 81.214.90.61] on March 13, 2008 05:26 PM
Realy good software for game lovers:)

[Modified by: Joe Barr on March 13, 2008 02:16 PM]

#

Good points

Posted by: Anonymous [ip: 192.35.35.34] on March 13, 2008 06:56 PM
While it IS true that right now nvidia offers the best Linux support of the two, it is also true that ATi drivers will very, very soon take the lead and far surpass anything nVidia has, or will ever be able to accomplish. For although Nvidia always will produce the superior hardware, they wont be able to produce the drivers to make it work properly in Linux, particularly for their newest/most powerful cards.

PlayOnLinux is a wonderful idea and it sounds like English translation is needed, and scripts need to be double checked for errors. If these are the biggest issues that can be found with this app, then it is indeed a worthy Open Source Project. I completely agree with the OP about Wine. It is truly garbage in its present state for all but developers.

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 82.47.0.158] on March 14, 2008 01:42 AM
I'm amazed at how much moaning the comments on here are about drivers.
With nVidias drives over the last couple of years, they really have not been the problem (although of course there is always room for improvement). Heck, even SLI works under Linux.

The fact of the matter is that games are still using Direct3D/DirectX as opposed to something a little more cross platform like Open GL/SDL/etc and are compiled for Windows only.
If you look at any of the games that are native cross platform like Doom 3, EVE Online, Quake 4, UT2004...the performance difference between Windows and Linux is very small. In some cases its even better under Linux (UT2004's loading times for example)

I love Linux as much as the next guy, but our market just isn't big enough for most company's to even consider. Heck, with Vista being a farce, gaming under Windows is getting bad enough. I never thought I'd see the day I owned a console but now I own both a 360 and a Wii because they are fun and don't require any arseing about :)

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 24.154.64.134] on March 14, 2008 02:06 AM
Nice idea but I agree with some of the others here. The programs never worked well to begin with and failed in running other games. They claim that World of Warcraft can run but lets be honest here WoW was released with a BSD version for Macintosh. BSD versions of the game have existed since release so it can run on mostly any BSD platform. Further more they don't claim that the WoW Windows version works, in my experience I have only seen Wine run old DOS games and barely function when running Microsoft DX based games. I would still like to try it but don't believe the hype and claims nothing can run perfectly on a different platform without stealing the core of original platform. A great example of this is EMU games, and SNK or SEGA game made for the console runs on some EMU's but runs a hell of alot better on a EMU using a BIOS hacked out of the original game console platform. Personally I don't see a 100% way of solving this problem unless Play on Linux took the Windows Kernel and using that as main center of operations but instead they use Wine which is less then perfect.

My conclusion is that this may be nice to play all those older games but may lack the general power to run some of the newer games. I honestly don't see Tomb Raider Anniversary, Hellgate, Aion, Dirt or any other bleeding edge game running on this. And if it did run on it I don't see it running stable at all. Personally I say its better to just dual boot, use Windows for games and Linux or BSD for Apps. This is the best solution and ensures your 100% reliability on your applications.

Remember back in the day it was DOS & UNIX/Linux games & Windows for apps. its just the times have changed and the roles of both OS's have changed. Tis time for everyone to change too, I think working on make the OS better and easier to program and easier to use instead of trying to adapt a less then perfect technology to a OS that still needs work to become mainstream. Basically do what Microsoft did to make their OS uber user friendly so that idiots can use it. Then and only then once you win the morons of the world you can win the market and have games designed for only the OS you prefer.

#

Re: Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 128.61.126.12] on March 14, 2008 04:04 AM
'DOS games' are for DOSBox (platform independant) and do run perfectly.
And what is this bullshit about "barely functioning" with DirectX games. World of Warcraft runs perfectly. MOST games that are over a year old run very well. Some new games won't run, I will admit, but some do (like Team Fortress 2, which I am playing).

You really shouldn't be commenting on something that you have NO knowledge on.

#

Re(1): Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 195.250.58.6] on March 14, 2008 03:28 PM
World of Warcraft does not run perfectly. Yes you can make it run, but you have to disable Vertex Shaders, you minimap will turn white sometimes, V-sync does not work on full screen and I have by 10% lower minimum FPS compared to XP minimum FPS.

P.S: I love Linux.

#

Re: Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 129.42.208.182] on March 14, 2008 08:18 AM
I Admire the person that wrote the essay on how Wine and only run old Dos Games it prob took you a good 15 mins to write it. However you have no Clue. Wine doesn't even Play DOS games you usually have to use DosBox for that.. It however Can play quite a bit of DirectX 9 Level Games, Including the entire Orange Box. I've never tried Tomb Raider Anniversary or Hellgate. Willing to give it a spin. Also Wine isn't an emulator It's more of an DirectX API for Linux. Please do research before wasting your time writing

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 71.115.39.241] on March 14, 2008 07:15 AM
This does'nt sound like it does anything more than Wine already does.I have run many winblows games under Wine[obviously not Crysis,COD4,etc.]without
once resorting to the command line[under PCLinuxOS].Nor did I find Crossover to be any better than Wine alone.But as long as gamemakers continue to
build games around DirectX only,linux gaming will continue to be an afterthought.

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 204.184.48.113] on March 14, 2008 12:59 PM
Just downloaded this emulator. The only problems I had with it were: Starcraft and RTS games with a bunch of sprites didn't run that well (this is normal for any Wine-based emulator) and I couldn't get Doom Collector's Edition to install that easily. Other than that I think it's pretty solid.

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 10.0.0.200] on March 14, 2008 07:50 PM
will gameguard ever run in linux?

http://eng.nprotect.com/nprotect_gameguard.htm

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 192.223.163.5] on March 14, 2008 08:34 PM
Wine Is Not an Emulator.

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 68.114.144.34] on March 14, 2008 10:46 PM
meh, I just install games to ~/.wine/drive_c, move to and get them working in /usr/local/games, then wrap them in a deb and push them up to my repo. It's much easier to maintain than this would be.

A+ for effort though.

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 88.203.188.151] on March 17, 2008 06:24 PM
Perfect job :) Now i don't need dual-boot for games :) thank you so much :)

#

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 200.90.24.242] on March 19, 2008 04:25 PM
DESEO QUE ME MANDEN TODAS LAS IMAGENES EXISTENTES ACTUALMENTES DE LINUX

#

Re: Play Windows games on Linux with PlayOnLinux

Posted by: Joe Barr on March 19, 2008 04:31 PM

Play Windows games on Linux with PlayOnLinux

Posted by: Anonymous [ip: 77.79.151.225] on March 26, 2008 10:58 PM
I want to play Crysis. Somebody play that with PlayOnLinux?
<a href="http://allmp3here.com/" title="mp3" target="new">mp3</a><a href="http://mp3zon.com/" title="tools" target="new">tools</a>

#

Play Windows games on Linux with PlayOnLinux

Posted by: googlex on April 03, 2008 09:28 PM
is there anyone who try this software?
<a href="http://www.iddaamerkezi.com">iddaa</a>

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya