WineHQ
Category: Main Games Machinarium 1.0

Machinarium

First release

Application Details:

Version: 1.0
License: Retail
URL:  
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 1.6.2

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Installation works fine!

What does not

Does not work properly in full-screen mode, but in reduced size mode!

Workarounds

What was not tested

Not played enough levels, but looks fine.

Additional Comments


selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 14.04 "Trusty" i386 (+ variants like Kubuntu)Jun 03 20141.6.2Yes Yes Silveran anonymous user 
ShowFedora 19 x86_64Jan 04 20141.7.6Yes Yes PlatinumMichael Davenport 
ShowFedora RawhideOct 22 20131.7.3Yes Yes PlatinumAsif Ali Rizwaan 
ShowFedora 14Apr 17 20121.5.2Yes Yes GoldAlexey Loukianov 
ShowFedora 14Sep 11 20111.3.28Yes Yes GoldAlexey Loukianov 

Known Bugs

Bug # Description Status Resolution Other apps affected
30843 Adobe Flash 10 (only 10.0.x.x) fails to redraw properly in fullscreen mode when hardware acceleration is enabled (affects NP plugin when playing Youtube movies and standalone flash-based apps like Machinarium) NEW View

Show all bugs

HowTo / Notes

LEGACY: How to get Machinarium up and working (tested with wine 1.3.8+)
It is no longer required to disable hardware acceleration in Adobe Flash Player in order to prevent game crashing to desktop in case recent enough version of Wine is used. It is known that the Adobe Flash Player 10 (and, thus, Machinarium) works pretty well under Wine 1.5.2, with only severe problem being problems with non-refreshing window contents when run in fullscreen mode. Latter one might be pretty easily workarounded by playing the game in windowed mode. Switching off fullscreen mode might be somewhat tricky, read on a section below for details about how to do it.

Getting the game to work with older versions of Wine (1.3.x)

Main problem running Machinarium under Wine is that this game is based on Adobe Flash Player 10 and this piece of software is incompatible with older versions of Wine if the hardware graphics acceleration is enabled. Unfortunately there are no known easy ways to disable Flash Player HW GPU acceleration under Wine using only Wine, so one have to find some other ways to accomplish the task.
Update from 2012/06/04: there's a way to do it using Wine only which inflicts installing some third-party software into the prefix, namely Firefox and Adobe Flash 10 plugin, read more details below.

One possibility is to use pre-configured settings file for Adobe Flash Player with GPU acceleration disabled that had been taken from the Windows-based PC. Example of such settings file had been attached to the bug report #25533 in Wine's Bugzilla. To use this file one should place it under wine prefix in question to the "%USERPROFILE%\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\" path. For example, if your user name is "user", then most probably correct path would be: "/home/user/.wine/drive_c/users/user/Application Data/Macromedia/Flash Player/macromedia.com/support/flashplayer/sys/".

Having the Flash Player GPU acceleration disabled Machinarium should be running perfectly and offering a decent level of gameplay.

Update from 2012/06/04:
Same effect could be achived with help of Mozilla Firefox.
Here's how to do it:

  1. Download and install into your Wine prefix Windows build of Mozilla Firefox. It could be fetched from here: http://www.mozilla.org/en-US/firefox/all.html. You may have to install vcrun2003, vcrun2005 or vcrun2008 (depending on the Firefox version and build) for Firefox to work properly. For official Firefox 12 build installing vcrun2005 is required.
  2. Download and install into your prefix Adobe Flash Player version from 10.0.x.x series. It could be fetched from "Archived Flash Player Releases for Developers" page on Adobe website here.
  3. Apply workaround for bug 17273 from comment #11.
  4. Start up Firefox you had previously installed into your prefix and navigate to Youtube. Try to playback any of the clips but do not switch into fullscreen mode. While clip is playing right click on movie and select "Properties..." in popup menu. There would be Adobe Flash Player specific dialog box displayed with several tabs in it. You have to select first tab ("Display") and unckeck "Hardware acceleration" checkbox there.
  5. PROFIT!!! Machinarium now should work properly without hanging upon starting up and switching into fullscreen mode.
Instructions above had been tested and proven to work with Wine 1.3.28. They are likely to work with earier (and later) versions of Wine as well.

Switching the game into windowed mode when playing under Wine 1.5.2+

As of Wine 1.5.2 the game no longer crashes to desktop when run with Adobe Flash Player hardware graphics acceleration turned on. However there are some problems with it - looks like that for some obscure reason Adobe Flash fails to update the game window when run at fullscreen mode. On the other hand, window contents get updated it there's another window is displayed/moved right above it. This specific behavior can be used as kind-a workaround helping to switch the game into windowed mode.

Do as follows:

  1. Start up the game. You would get a fullscreen window displaying "Amanita Design" logo, and then it would stall "all black", but you'd be able to hear that the game itself isn't hanged as there would be "sound reactions" to the mouse cursor moves over the center of the game window.
  2. Alt+Tab from the game into another app, or use common desktop environment hotkeys combinations like Alt+F1 or Alt+F2 to switch from the game into some other window. IMO Alt+F2 works best for this case as it presents user with a dialog box which might be used on a later steps.
  3. Start up any "small" application you like (for example, calculator; alternatively you may use the ALT+F2 dialog box window) and move its window over the non-refreshing game window. You would notice that as long as you do moves - contents of the game window are being updated.
  4. Using the "move other window over the game window trick" locate the "Machinarium" title that's being displayed at the center of the game window and click on it. Using the same technique you would reveal that the game now displays it's "Main Menu" screen, where you'd be easily able to find the option to switch the fullscreen mode off (look at the bottom center part of the game window).

P.S. Another way to workaround this bug is by turning off Adobe Flash Player hardware acceleration for fullscreen windows. How to do it is describe in previous section of this howto.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Not a subject for emulation
by Piotr Bielik on Sunday February 20th 2011, 6:14
Wine is not needed to run this game. It can be run natively, because it is a 100% flash product.
Here is a description on how to prepare the pure swf version:
forum.magicball.net/showpost.php?s=92c79301a31287c5e63de9b8fb7b76d1&p=390215&postcount=15

You need to cut off the windows runtime from the main file:
dd if=machinarium.exe of=machinarium.swf bs=1 skip=4432896

and then run it normally through firefox or another browser:
firefox machinarium.swf
RE: Not a subject for emulation
by Alexey Loukianov on Sunday February 20th 2011, 22:11
Well, the game also has got linux native version which in fact is also Adobe Flash Player binary prepended before swf. Unfortunately I've been having big issues using the native version as it tends to SIGSIGV after 10-15 minutes of gameplay on my workstation. Trying to cut the runtime and use the browser (Firefox in my case with latest Adobe Flash Player runtime installed) to play the game with resulting SWF resulted in sporadic flash plugin crashes also. In the end it turned out that the only reliable way to play the game for me was to use windows version under Wine - doing so (while having Adobe Flash Player GPU acceleration disabled) allowed me to play the game from start till the end without crashes or any other undesired behavior.
RE: Not a subject for emulation
by Piotr Bielik on Monday February 21st 2011, 4:02
Thanks for your reply, Alexey. I got my copy of Machinarium, when there was not a Linux native version. Nonetheless, it works fine on native Windows, emulated Windows, and native Linux.
If your copy doesn't work well on native Linux, I think you should seek assistance from Amanita Design.
The other thing is, if simple flash scripts crash your flash player, then it looks like a problem with environment, not with the game itself.
Finally, the real reason I wrote my first comment: emulated Machinarium eats up a lot of CPU, making it unnecessarily hot. Native runs much cooler. That's why I advocate this solution.
RE: Not a subject for emulation
by Alexey Loukianov on Monday February 21st 2011, 23:56
Sure, the bug I hit with this SIGSEGV are FlashPlayer vs. my installation environment related so it should be reported to the Adobe and not to the creators of Machinarium. I had tried to contact Adobe support team by mail and on forums and send them a bugreport. No replies had been received so far (about 4 months had passed since the moment I contacted them). Back to the topic, sure native version should always work better (or the same as the worst case) than the emulated one under Wine, so it you have no problems in playing the game under browser or using official linux game build - it is always good idea to use them instead of Wine + Windows version of the game.
RE: Not a subject for emulation
by Diederik on Sunday July 8th 2012, 8:24
I got an update for Muchinarium today, and the dd trick to strip off the run time doesn't seem to work. The resulting swf just crashes my browsers. Did they change the acrobat reader version?
RE: Not a subject for emulation
by topolinik on Saturday September 8th 2012, 4:12
Good suggestion!
Nevertheless, I found a simpler way using this: exe2swf.exe (it's free, here www.northcode.com/blog.php/2007/08/02/Extract-SWF-files-from-Flash-Executables). This tiny utility extracted 4 swf files from my machinarium.exe (I own the GOG version of the game) and the forth of them (named 00000004.swf, 45 kB) is exactly the game I was after.
Now I will play without wine, too! :-)
Back