Play On Linux

From JoBaPedia
Revision as of 16:16, 16 November 2014 by Joachim (talk | contribs) (→‎Step 2: Update Game)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PlayOnLinux

A project that makes windows games playable with wine on linux.

http://www.playonlinux.com/

Installation instructions

This worked for playing League of Legends on openSuse 12.3 and 13.1 with Playonlinux 4.2.2

Overview

  • Install wine
  • Install wxWidgets
  • Install 7zip
  • Install cabextract
  • Install Mesa-demo-x (glxinfo)
  • Force wine to use 32 bit
  • Download newest playonlinux
  • Unpack playonlinux
  • Start playonlinux
  • Install an offered program from within playonlinux gui

Instructions

sudo zypper install python-wxWidgets p7zip cabextract wine Mesa-demo-x
sudo echo "export WINEARCH=win32" >>/etc/bash.bashrc.local
export WINEARCH=win32
cd ~
wget http://www.playonlinux.com/script_files/PlayOnLinux/4.2.2/PlayOnLinux_4.2.2.tar.gz
tar xzvf PlayOnLinux_4.2.2.tar.gz
cd playonlinux
./playonlinux

To get the newest dev version from git, do this instead of wget, tar, cd:

git clone https://github.com/PlayOnLinux/POL-POM-4
cd POL-POM-4/

Mesa

If using Mesa instead of a proprietary openGL driver, there is a missing library. It has to be installed separately for LoL:

cd
git clone git://people.freedesktop.org/~mareko/libtxc_dxtn
cd libtxc_dxtn/
./autogen.sh 
./configure 
make
sudo make install
sudo ldconfig

If the library still is not found by the PoL LoL installer script, then add a conf file with LIBDIR (e.g. /usr/local/lib64) in /etc/ld.so.conf.d/ and repeat sudo ldconfig

Update

Step 1: Update playonlinux Script

If you have the git version, do this:

cd ~/POL-POM-4/
git pull

If you have the tar version, do this:

cd ~
wget http://www.playonlinux.com/script_files/PlayOnLinux/4.2.4/PlayOnLinux_4.2.4.tar.gz
tar xzvf PlayOnLinux_4.2.4.tar.gz
cd ~/playonlinux
./playonlinux

Start game, to check if that helped already (unlikely)

Step 2: Update Game

./playonlinux
  • Uninstall
    • select Game
    • select Deinstall
    • select Delete Drive
  • Reinstall
    • Select download Setup
    • Install according on screen instructions (don't change path, don't let setup start the game)

This worked for the update 4.2.2 -> 4.2.4 Update to 4.2.5 ongoing...

Step 3: Update Wine

Sometimes there are new wine environments that are not standard for installation. To install them, do this:

  • Start playonlinux
  • Select Menu Tools/Manage Wine Versions
  • Add a Wine version, preferably one with LoL in the name, close.
  • Select LoL, Configure, Wine Version -> the new version, close
  • Start game...