Home Home > Tag > wine
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Posts Tagged ‘wine’

Magic: It is now possible to use MS Silverlight based websites via pipelight

September 13th, 2013 by

It has long been a challenge to use MS Silverlight based websites on linux systems. Especially in The Netherlands this is a big hurdle as many (>80%) of the secondary school websites that pupils must use to communicate with their school (for homework, marks, etc) are equipped with Silverlight. Yes, really… 🙁

Fortunately at the end of August 2013 I discovered pipelight, a very smart idea to use MS Silverlight based website natively on Linux. The problem was however to find a working pipelight package for openSUSE. As there was none, I decided to build one myself using the incredible openSUSE Build Service. It was quite a quest to obtain a working package, but due to very good cooperation with the pipelight developers, I’m now able to present a working pipelight package to the openSUSE community. Oh, and while working on the package I reported a bug via the bug report system, that was solved and published via an rpm package within 1 hour after reporting it (that was during out of office hours). Indeed within 1 hour after reporting the problem it was; accepted, investigated, analysed, fixed, tested, handed over to me, packaged, tested and published! The amazing world of Open Source Software!

Pipelight works okay for the following sites (among many others): arte, LOVEFiLM, Netflix, Magister based NL schoolwebsites, WATCHEVER, etc. View the complete list on the pipelight website.

The installation instructions are on the pipelight website. Be aware though, that pipelight requires the wine package that is provided via the home:rbos:pipelight repository. With any other wine package, pipelight will (very likely) not work. If you rely on your currently installed wine package and installed MS applications and are unsure that the wine package provided via the home:rbos:pipelight repository will leave your currently in use MS applications untouched: don’t install pipelight (or only after making very good backups). You can always start by installing pipelight in a virtual machine.

Have fun with pipelight.

Wine on Linuxtag 2011

May 16th, 2011 by

As Christian Boltz and myself held a quite successful talk on Wine on the 2010 openSUSE conference, we decided to again hold a talk at Germanys largest Linux fair, Linux Tag 2011 in Berlin.

We again ran the pun talk “Wine” (not) the Emulator vs “Wine” the beverage, with Christian talking about life and work at a vineyard and his wine grower community at Deutsches Weintor.

Included in this talk was a Wine tasting of 4 different kinds of Wine, as grown in the area were Christian lives.

His stories on Vineyard activities and the processing from grape to wine interluded with myself talking about Wine the Emulator, its historical and statistical parts, game support and futures.

Around 70 people  enjoyed our light hearted wrap up talk of this Linux Tag conference.

Images: by hueck2342 at flickr.com, licensed as Creative Commons  – Share Alike, Attribute, Non Commercial http://creativecommons.org/licenses/by-nc-sa/2.0/

openSUSE 11.4 :: Wine… A practical case…

March 15th, 2011 by

For some time I follow the openSUSE Forums which provide me a very interesting view about what our users do with openSUSE. I’ve noticed there are some relevant questions about Wine once in a while in the Games forums.

A few time ago one of my friends nagged me a lot to do a couple of levels in Lord of the Rings Online which has a ‘Free Play’ plan in Europe. People can create an account and play for free the game with some restrictions (contents, equipment, items, etc). Players also have the option of using the online game store to unlock several aspects of the game. I’ve used a free play account for this, as I don’t really dedicate much time to it.

I’ve downloaded and installed the game in a Windows 7 computer (abour 10.5GB’s),  updated it and it works as expected. My laptop has somehow better hardware and I’ve decided to see how it would run under openSUSE through wine! On WineHQ there’s some extensive know-how shared by the community about this game… for my little experiment I’ve used the following:

* Lord of the Rings Online installation files pulled from the installer (since I had previously downloaded the game on a Windows machine, I’ve used those files to avoid downloading 10.5GB’s again).
* Wine 32 bits (1.3.12, shipped with openSUSE, LotRO requires also wine-gecko);
* openSUSE 11.4 x86_64;
* ATI FireGL drivers, release 11.2;
* PyLotRO Launcher (written in Python, used to launch LOTRO since the normal Turbine .NET launcher has some serious issues);

Looking at everything written on WineHQ about LotRO it seems quite a hard task to get this running, luckily it’s actually the opposite… pretty much a quick step, though time consuming due to the size of the game. Here’s the procedures:

  • Installing wine on openSUSE 11.4

Installing wine on openSUSE is pretty easy (like any other software package). Make sure you are networked and open your favourite terminal emulator and type in the following command: zypper install wine wine-gecko. Zypp client will pull all the required dependencies and install the software. Please be aware that your system needs to have 3D capable drivers, often proprietary drivers.

  • Installing Lord of the Rings Online

As I’ve stated previously, I’ve had available the installation cache files from a previous Windows installation which made my life easier (around 10.5GB). If this is not your case, you can look into WineHQ and check how it goes with the installer. An interesting thread can be found here.

When one installs LOTRO on a Windows Machine it will create a folder on the Desktop called LOTRO_* which will contain a local cache of the files necessary to install the game. Inside of this folder there’s a ‘lotrosetup.exe’ runs the installer. To start the installation is quite easy… open a terminal (with normal user), navigate to the directory where we have the cache files from the installer and run: wine lotrosetup.exe. The installer window pops up preceded by a small splash screen. Follow the instructions on the screen and wait until it deploys the game (took around 30/40 minutes).

  • PyLotRO Launcher for Linux

There’s ways to run the game and the Turbine launcher (.NET) isn’t really friendly of wine. I’ve decided to go for PyLotRO which is a small launcher written in Python. I’ve made a small test package which is available on my test repository in OBS (openSUSE Build Service) and called it python-lotro. You can find it here. For openSUSE 11.4 it can download this RPM, python-lotro-0.1.14-4.1.noarch.rpm and install it with: sudo zypper install python-lotro-0.1.14-4.1.noarch.rpm. This will also create a link on your Games menu entry (works in GNOME, never tested on KDE).

You have the Linux launcher installer and are a tiny step away from being able to play LoTRO…

  • Updating the Game…

PyLotRO provides a small interface with the very basic functionality available from the Turbine Launcher. Allows to configure wine debugging output and patch the game amongst other features. Here’s a small screenshot how it’s looks:

To update the game, it’s only required to hit the ‘Tools‘ menu and select ‘Patch‘. This will access the game contents, download, decrypt and update the game to the latest version. Due to the size of the game it really takes a bit of time, so be patient.

WARNING: Before launching the game make sure that you have 3D effects disabled on the Desktop (ex: disable compiz or composite in Kwin). If this step isn’t done, the game might suffer of great performance issues and weird behavior. If something looks fishy, then that’s because you forgot this step. This also made me think in one thing… What impact will Unity and gnome-shell have in cases like this… when the accelerated 3D Desktop will generate performance issues in applications like in this case… something to look for in the nearby future…

After the update it’s possible to login into the game, configure the options and give it a go… You will need a game account first than can be created for free (Europe only as far as I am aware, the game seems to be under subscription in the US), make sure you download the European client as well.

  • Gameplay

The game tries to detect the best configuration for your system (Low in my case)… I’ve forced it to Very High, selected my native resolution and gave it a go. The game is fluid enough, though lags a bit in big cities (ex: Bree), this is somehow something to expect, the same happens in Windows. While I haven’t seen much problems with performance, I’ve disabled dynamic lighting and it’s somehow a bit better. The runs nice and everything seems to work.

I know many tutorials talk about winetricks and d3dx9… I’ve not did such things and the game runs very nice with the native wine dll’s without having the need of installing Microsoft’s DirectX files.

This was a very pleasant experience, and it really surprised me on the positive. OpenSUSE has a very nice version of wine capable of running at least LotRO and World of Warcraft without any issues! It’s something that is worth trying with openSUSE!

Google Chrome on openSUSE

September 4th, 2008 by

As I guess everyone notice, Google has released their own Browser called Chrome. Based on Webkit (based on KHTML of KDE fame) it is a small, fast and foremost secure webbrowser. And if you are reading this, you likely know that it does not work on Linux, but only on Windows.

But wait … we have the Windows Emulator Wine and I am one of its developers…

This also explains the first comment from a colleague on Wednesday morning was: “Why don’t you have fixed Wine to run it yet?!?” We tried together to get the online installer to run, but not successful.

Over night however some other folks found out how to do it by using the offline installer.

So how to install Chrome:

1. Get the Wine 1.1.3 from the openSUSE buildservice Emulators:Wine repository.

Its available via the Community Repositories Module in YAST2 on openSUSE 10.3 and 11.0,
after adding this repository upgrade the wine package.

This piece of code run as root will do it on openSUSE 11.0:
zypper sa http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.0/ Wine
zypper in wine

All other steps are done as desktop user from a regular shell.

2. Download the Chrome Offline Installer

wget http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe

3. Install richedit native libraries.

While Wine contains richedit libraries they are not yet up to the task to help Chrome yet.
(This is likely to be fixed soon.)

To install them run:
winetricks riched20 riched30

3. Run Chrome Installer

wine chrome_installer.exe

This will popup a dialog where you can press return until Chrome itself starts.

Since we need to supply Chrome with some Options to make it work with current Wine, you need
to close it again. Click anyway any crash messageboxes.

4. Run Chrome itself

We need to supply Chrome with some additional commandline options to make it run with Wine,
so we need to do start it by hand (instead of clicking on the convenient Desktop Icon already there).

cd ~/.wine/drive_c/windows/profiles/*/*/*/Google/Chrome/Application
wine chrome.exe --new-http --in-process-plugins

5. Surf!

And of course the obligatory screenshot:chrome wine opensuse

Most of the funny workarounds above will actually vanish in the next Wine releases, now that the Wine developers can actively debug it.

The WineHQ Application database entry has the ongoing discussion of getting it to work and links to the Wine bugzilla entries.