Welcome, Guest. Please login or register.
Did you miss your activation email?
October 17, 2017, 05:06:50 pm

Pages: [1]
  Print  
Author Topic: [GNU/Linux] Smoother Gameplay via External Flash Player  (Read 9010 times)
Virus666
little robot
*
Posts: 4


« on: December 22, 2013, 05:15:07 pm »

Hi there,

As you know, Machinarium is a Flash based game which uses a bundled Flash Player in order to run. For some reasons (licence, copyright, lack of time and/or personel) GNU/Linux version of the game uses an outdated version of Flash Player; 10.0.32.18. This version of Flash Player has performance issues and sound lags; even the hardware accelaration is disabled...

As 22th December 2013, there are two current Flash Player versions for GNU/Linux; these are:

  • Firefox and stand-alone: 11.2.202.332
  • Google Chrome: 11.9.900.170

The Flash Player for Firefox is stuck in the version of 11.2 and receives only security updates. The Flash Player for Google Chrome is being actively supported by Adobe and Google; receives regular performance updates and fixes.

What I tried and succeeded is to run the game with Google Chrome, Firefox and stand-alone Flash Player. The version of Machinarium that I used is the ".tar.gz" version from Humble Bundle. I am pretty sure that the other DRM-Free Linux versions of Machinarium may work with the method that I found.

https://www.humblebundle.com/store/p/machinarium_storefront

After extracting the game from tar.gz; we will have 4 folders and Machinarium executable. We need to extract game's .swf file from that executable.

Code:
dd if=Machinarium of=Machinarium.swf bs=1 skip=$(grep -abo CWS Machinarium|cut -f1 -d:|tail -1)

https://bbs.archlinux.org/viewtopic.php?pid=1079669#p1079669

Now, all we need to do is to drag and drop Machinarium.swf file to Firefox or Google Chrome; the game will run in the browser. The game should work smoother after disabling the hardware accelaration.

However, if you play the via browser, even you make it fullscreen by pressing F11, the window size remains 80%, it cannot be changed. If you would like to play it %100 window size you will need to use stand-alone Flash Player; Linux Flash Player 11.2 Projector content debugger works for you:

https://www.adobe.com/support/flashplayer/downloads.html

Launch flashplayerdebugger executable and open Machinarium.swf. Now, you may have smoother game performance while playing 100% window size.

By the way, the performance of the game with the Flash Player of Google Chrome is better then Flash Player of Firefox or stand-alone Flash Player for Linux because of version number difference. If you would like to use the Flash Player of Google Chrome but you have privacy concerns related with Google, you may use that Flash Player with Chromium;

http://www.webupd8.org/2013/04/install-pepper-flash-player-for.html
http://forums.linuxmint.com/viewtopic.php?f=47&t=135630#p750372

Enjoy...  Roll Eyes
« Last Edit: December 23, 2013, 01:02:26 pm by Virus666 » Logged
Virus666
little robot
*
Posts: 4


« Reply #1 on: December 22, 2013, 05:29:28 pm »

Here are some caps from different Flash Player versions:

Original Game:



Firefox:



Google Chrome:



Stand-Alone:

Logged
Pages: [1]
  Print  
 
Jump to: