Linux Gaming News 1

OnLive Hack Allows Linux Wine users access

We’ve been sitting on this a few days, and have put its author through extensive testing and re-writes in order to bring this to you. We’re fairly certain that the following instructions brought to you by OnLiveInformer community member: Dephyre will really excite those of you who have an affection for penguins.


These instructions are written for Ubuntu 11.04 and we’ll need Wine 1.3.27 to get it installed (plus a patch). These instructions assume you don’t have Wine installed at all: If you’re not comfortable with the terminal, you will be by the time this is done!

Open up a terminal window and type the following:

sudo add-apt-repository ppa:ubuntu-wine/ppa && sudo apt-get update && sudo apt-get install git && sudo apt-get install autoconf && sudo apt-get build-dep wine1.3 && sudo apt-get install checkinstall && sudo apt-get install wine1.3

This will add the most current repository of Wine. We need to build our own for the patch, as well as a few other tools. The dependencies for Wine can be quite large, nearly 600mb.

Now, let’s grab the freshest version of Wine. (1.3.27 at the time of this writing)

git clone git:// ~/wine-git

Go into that directory.

cd ~/wine-git

Now let’s get the patch: This patch was written by David Parrish

wget -O wine_rawinput_8_8_2011.patch

Use it to patch Wine.

patch -p1 

So, now that we’ve patched Wine, lets’ get to building!

autoreconf && ./configure && make depend && make

This will take a while, like a long while, you might want to make a sandwich, grab a coffee and then go for a walk. If you have a multi-core processor you can add make -j 4, which means it will thread the process 4 times.

You could also do this if you decide to install the patched build to your system, or keep it separate. I’d suggest keeping it separate but if you do decide to install this version type:

make install

I’d also suggest making a package file of the patched version, just in case anything goes wrong or you decide to install it using the ‘Software Center.’

checkinstall -D –install=no

An option will come up to enter the package information, press 3, and change the version to 1.3.27. Then hit enter.

Now that we have Wine patched and ready, let’s download Onlive! I suggest downloading the app to your desktop.

cd ~/Desktop/

wget -O OnLive_Setup.exe

We also need to change the permission of this file to make it executable.

chmod a+x OnLive_Setup.exe

If you installed the patched version of Wine, you can just double-click on the Setup app on you desktop. If not, type this command.

cd ~/wine-git

./wine ~/Desktop/OnLive_Setup.exe

Run through the setup process on that, and when it completes run Onlive with this command:

cd ~/wine-git && ./wine ~/.wine/drive_c/Program Files/OnLive/OnLive.exe

You will need to run that each time if you don’t have the patched version installed. I’d suggest making a shortcut to it, or you can use mine:


cd ~/wine-git

./wine ~/.wine/drive_c/Program Files/OnLive/OnLive.exe

Create an empty file on your desktop, paste in the above and rename it to – then change the properties to enable executing as a file.

And you’re done! OnLive should now be running on Linux!

A few notes:

Audio does seem to cut out occasionally, especially if you had multiple streams playing recently. If it does, exit OnLive and reset pulse:

pulseaudio -k

Some users have noted that the mouse occasionally has only 180° of movement. If you experience this issue, please give me the log from your terminal so I can isolate the issue.

“This is too hard! I’m Lazy and dangerous!!!”

Ah, after my own heart, you are. Okay, well if you get stuck or are very lazy and aren’t really concerned about hosing a Wine install then use my package (heh). Just double click to install using the software center.

But please be advised that is a very dirty way of installing the patch; I don’t suggest using it.

“I have Wine already!!! Can I have some cheese?”

If you have Wine installed already then remove it, and install using the ppa I mentioned. If the the install is vital, try and update it to the closest you can find and run this:

sudo add-apt-repository ppa:ubuntu-wine/ppa && sudo apt-get update && sudo apt-get install git && sudo apt-get install autoconf && sudo apt-get build-dep wine1.3 && sudo apt-get install checkinstall

Followed by steps 1-6 and 6.b – You will need to run Wine from the folder created by the patch using:

cd ~/wine-git && ./wine ~/.wine/drive_c/Program Files/OnLive/OnLive.exe

Now if you have followed these instructions you should be able to play OnLive using Linux! It isn’t perfect, but until OnLive gets it’s offical Linux client out this will fill the void!

If you have any problems, comments, or concerns then please Continue the discussion in our forum at:

PDF VERSION of Original article

You Might Also Like

1 Comment

  • Conrad
    Sep 10, 2013 5:32 pm

    Your way of explaining the whole thing in this post is in fact fastidious, every one be capable of effortlessly understand it, Thanks a lot.