Friday, February 7, 2014

Unity 3D webplayer now works in Linux thanks to Pipelight

Hey folks.

Remember that awesome game that you wanted to play on Kongregate but couldn't because it was in Unity and you're using Linux? Well, now thanks to AWESOME guys of FDS team - you can!

The project is named Pipelight and is a thin wrapper between Linux browser plugin interface, wine and windows browser plugins.

The installation instructions are super-easy, however they lack one important thing: for security all downloaded plugin installers are checked by their SHA256 checksum to avoid tampering. Because stuff gets updated, if you install Pipelight things will not work out of the box for Unity 3D, because of the SHA256 mismatch. So what you need to do is:

1. Install Pipelight using instructions for you distribution

On Ubuntu it looks like this:
  • sudo add-apt-repository ppa:pipelight/stable
  • sudo apt-get update
  • Close your browser(s).
  • sudo apt-get install pipelight-multi

2. Update Pipelight plugin downloader script

This will make sure plugin installer script has the newest checksums and can download plugin installers successfully.


sudo pipelight-plugin --update

3. Enable Unity 3D plugin


Omit sudo if you want to enable a particular plugin for your user only.

sudo pipelight-plugin --enable unity3d

4. Launch browser and enjoy!


For testing you can go to http://orborun.tinylabproductions.com/ to play our early alpha of Orborun.

First time you launch it you should be greeted by Unity webplayer installer. Then when you reload the page, Unity preloader should be seen and right-clicking on the game should bring up Unity menu instead of Flash (which we have installed as a fallback).

In general it should look like this
If that doesn't work, try recreating Pipelight plugin:

sudo pipelight-plugin --create-mozilla-plugins

After that restart your browser and go to about:plugins. In case you're using Firefox, you should see something similar to this:

Everything is working. Yay!
In case you don't, you can always consult Pipelight help page - the guys are very responsive and helpful.

By the way, we're trying to get Orborun greenlit on Steam, so your help would be much appreciated! And you can also get it on Desura - which includes DRM free copies of native Linux, Mac OS X and Windows builds.

Cheers and happy gaming!

P. S.: if anyone spotted that Heroes Of Newerth icon in my sidebar, my in-game id is arturaz_tlp. Be sure to invite me and we might have a match or two ;) If you don't know what that is, it's a very fun MOBA style (DOTA2 or League of Legends) game with excellent Linux support - those guys provided it first! It's fast paced, cunning and a loads of joy. And free! Be sure to check it out :)

3 comments:

  1. How to reinstall unity3d plugin?
    Pipelight Error (unity3d)!

    Plik: libpipelight-unity3d.so
    Ścieżka: /usr/lib/pipelight/libpipelight-unity3d.so
    Wersja: 0.0
    Stan: Wyłączony
    Something went wrong, check the terminal output
    Error during initialization

    ReplyDelete
  2. sudo pipelight-plugn --enable unity3d
    you type wrong it's
    sudo pipelight-plugin --enable unity3d

    ReplyDelete