Package Details: machinarium 3-14

Git Clone URL: (read-only)
Package Base: machinarium
Description: A point-and-click logic adventure game by the creators of Samorost (requires copy of the full game)
Upstream URL:
Keywords: 2d adventure game humble point-and-click puzzle robot
Licenses: unknown
Submitter: Svenstaro
Maintainer: Rhinoceros
Last Packager: Rhinoceros
Votes: 49
Popularity: 0.000027
First Submitted: 2009-12-24 06:01
Last Updated: 2018-01-17 09:55

Latest Comments

Rhinoceros commented on 2018-01-17 09:57

Thanks for the links @smls. I tested without the swf, but the executable wouldn't launch. The code from the last post didn't work, but the second last post did. Cheers.

smls commented on 2018-01-11 20:59

@Rhinoceros: The previous maintainer uploaded that file; I think it was extracted from a different release of the game executable as described here:

However, that process doesn't seem to work with the current Humble Bundle version of the game executable. If you get it to work, you could simply add the relevant commands to the PKGBUILD.

(Or maybe that whole process isn't even needed anymore, and the launch script should just run the shipped executable?)

Rhinoceros commented on 2018-01-11 10:45

@smls What did you mean "extract"? Where does this file come from?

smls commented on 2018-01-07 16:21

@Rhinoceros: Orphaned. Feel free to take over. (I tried to replace the broken link with a better solution - e.g. a way for the PKGBUILD to automatically extract the .swf file - but I didn't succeed.)

Rhinoceros commented on 2018-01-07 12:28

That file 404s for me too. However, I have a copy on my old system. I'm happy to upload it somewhere, but I'm not sure where is most stable. (And it also depends on the maintainer changing the PKGBUILD, otherwise I can submit an orphan request.)

produnis commented on 2017-07-05 11:18

404 not found...

solstice commented on 2017-02-07 10:08

must also depend on lib32-libpulse

smls commented on 2015-07-09 19:55

Adopted for AUR4.

C5OK5Y commented on 2013-07-12 15:43

This[1] PKGBUILD is more verbose on the usage of the DLAGENT. I use the 'auto-search through a directory' DLAGENT.


luolimao commented on 2013-07-12 15:35

Btw, it errors out with this:

luolimao commented on 2013-07-12 15:33

I don't have hib in my DLAGENTS() in makepkg.conf (only ftp,http,https,rsync,scp).
I tried using
DLAGENTS+=('hib::/usr/bin/hib-dlagent -k 1a2b3c -o %o %u')
as is used for fractal-hib, but that didn't work. Do you have something different in your makepkg.conf?

luolimao commented on 2013-07-12 15:23

I don't have hib:// in my DLAGENTS() in makepkg.conf (only ftp,http,https,rsync,scp).

C5OK5Y commented on 2013-07-10 14:55

The PKGBUILD doesn't check the actual Machinarium source file's integrity, here[1] is a patch which implements this while simplifying the PKGBUILD by using the hib::// DLAGENT.


David-UPCT commented on 2013-07-05 22:57

I've tested version 13 and it works. Thanks.

luolimao commented on 2013-06-27 18:33

Yeah, so I changed the directory structure a bit. This update requires an uninstall and then a reinstall of the new version (the --force option won't work here because of naming conflicts).

David-UPCT commented on 2013-06-26 00:04

I'm afraid I can't see any difference in the new version:

# pacman -Q machinarium
machinarium 3-12
# machinarium
/usr/bin/machinarium: línea 9: ./Machinarium: Es un directorio

luolimao commented on 2013-06-25 15:19

Whoops I forgot to upload a newer version I had on my machine. Fixing it now.

David-UPCT commented on 2013-06-21 14:49

It doesn't work for me:

# machinarium
/usr/bin/machinarium: línea 9: ./Machinarium: Es un directorio

I had to tweak some things:

1.- Copy /usr/share/games/machinarium/machinarium-browser.swf to /usr/share/games/machinarium/Machinarium
2.- Edit /usr/bin/machinarium and replace 'cd /usr/share/games/machinarium' with 'cd /usr/share/games/machinarium/Machinarium'
3.- Give /usr/share/games/machinarium/Machinarium/Machinarium permission to execute

After these 3 small tweaks it worked

luolimao commented on 2013-03-12 00:07

Yeah, I was getting rid of a redundant var and forgot to replace that one use, sorry. Anyway, fixed, fortunately.

talsemgeest commented on 2013-03-11 21:29

Yeah, there is something seriously wrong with this pkgbuild.

I guess the problem is

cp -r $_pkgname/

without first defining $_pkgname

xzy3186 commented on 2013-03-11 14:20

What is this PKGBUILD doing?!
It way tring to copy all the files from my root directory to $pkgdir :-(

luolimao commented on 2013-03-11 05:20


fawn commented on 2013-02-14 20:33

It depends on bzip2 on i686 or lib32-bzip2 on x86_64.

luolimao commented on 2012-12-22 16:26

@mmm @Synthead
I'm getting the same issue. Changing
./Machinarium machinarium-browser.swf
in the /usr/bin/machinarium script fixes the issue.

Synthead commented on 2012-06-04 06:10

This seems to launch an empty Flash window.

alexiobash commented on 2012-05-23 09:20

solved! thank you very much

mmm commented on 2012-05-22 20:19

ale_xiovk, the PKGBUILD is accessible right from this site, so it looks as some local problem at your end. (the aur-helper, net connection?)

alexiobash commented on 2012-05-22 16:21

==> Downloading machinarium PKGBUILD from AUR...
==> ERROR: machinarium not found in AUR.

alexiobash commented on 2012-05-22 16:21

==> Downloading machinarium PKGBUILD from AUR...
==> ERROR: machinarium not found in AUR.

Neschur commented on 2011-11-02 19:21

May be be added on depending flashplayer-standalone and fix
cd "/usr/share/games/machinarium"
/usr/bin/flashplayer ./machinarium-browser.swf
And move from /usr/share/games/machinarium to /usr/share/machinarium?

unhammer commented on 2011-08-22 09:14

when I start the binary, I get this Adobe Flash Player browser, and have to click File->Open and select the swf. If I run it like "machinarium /usr/share/games/machinarium/machinarium-browser.swf", it starts right up though. Shouldn't the shell script have that path in there instead of "$@"?

Anonymous comment on 2011-08-21 19:33

I had a problem with the Machinarium binary not working after makepkg's symbol stripping (I have the Humble Indie Bundle version) while it worked fine after just unpacking the tarball (running "strip --strip-all" manually broke the binary again). Looks like this can be fixed by adding "options=(!strip)" to the PKGBUILD.

dobo commented on 2011-01-20 01:12

Actually we don't have to extract swf from windows binary. It's possible to extract it from linux elf. According to this post we can do:
dd if=Machinarium of=Machinarium.swf ibs=1 skip=$(grep -abo FWS Machinarium|cut -f1 -d:|tail -1)
But i think it doesn't change anything in legal way.

kralyk commented on 2010-12-20 22:48

Thanks a lot, both machinarium and osmos now work fine for me ;-)

mmm commented on 2010-12-20 18:19

* rel -9:
provide alternative way of running: in browser! should fix the speed issue.
just fire up your fav browser and go to /usr/share/games/machinarium/machinarium-browser.swf
many thanks to monshin! :)

mmm commented on 2010-12-20 17:59

* rel -8: fixes icon, thanks voRia!

voria commented on 2010-12-19 23:42

The game icon is not showed in KDE menu. This can be fixed by specifing absolute path for icon in machinarium.desktop (/usr/share/icons/machinarium.png).

mmm commented on 2010-12-19 00:21

@kralyk: another try to fix the gamepkg for u, can u test more please? because it works for me. Also, there is no more machinarium-x86_64.install, please sync to newest version.

kralyk commented on 2010-12-18 21:37

machinarium-x86_64.install is missing → flagging out of date.
And again there's the problem with pkgpath not being set - line 42.
I'd also recomend using pushd rather than cd in those *.sh files.

mmm commented on 2010-12-18 19:21

*3-6: just cleaned pkgbuild, no need to update if you're fine now.

Svenstaro commented on 2010-12-18 13:45

machinarium-x86_64.install doesn't exist. Also, you really should put your arch-specific stuff into the same file and just have it check using if [[ $(uname -m) == "x86_64" ]] whether to execute specific code or not. Multiple files don't help Arch philosophy.

mmm commented on 2010-12-17 18:39

*3-5 : fix issue with tar at install

mmm commented on 2010-12-17 03:30

@monshin: thanks for the tip, I've read about did but never bothered..glad to hear it helps. Could u post/mail me the link on howto? I'll test it and maybe modify PKGBUILD for that. I've also sent an email to developers of Machinarium asking them to release the swf file, so we don't have to extract it from a windows build. U might want to mail them too.
Cheers, Marek

Anonymous comment on 2010-12-17 03:02

Anonymous comment on 2010-12-17 02:30

Hi. I reading on forums, I found a way to extract the swf file from the windows file of Machinarium. I just copied it in /usr/share/games/machinarium, did chromium machinarium.swf, and it really really works GREAT.

mmm commented on 2010-12-16 16:45

Updated, thanks monshin & augegr!

Anonymous comment on 2010-12-16 15:56

Thanks. Now it works.

Anonymous comment on 2010-12-16 15:52

Change line 43 to this:

tar xzf ${startdir}/${_gamepkg} || return 1

and it should work fine :-)

Anonymous comment on 2010-12-16 14:32

This happens when the package is in the same folder of the PKGBUILD.

Anonymous comment on 2010-12-16 14:25

Got some error:

==> Found game package, installing...
tar (child): Machinarium_full_en.tar.gz: No se puede open: No existe el fichero o el directorio
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

mmm commented on 2010-12-16 04:10

updated & found some hack to the mouse slowness issue. I can share here too:
*right-click > Flash Settings > first tab, Disable HW acceleration
*second tab: just click on Advanced button, this will as a side-effect make game in windowed mode
*now you can under (window menu) Controls>Quality>set some lower

Svenstaro commented on 2010-12-15 23:29

Please go ahead and maintain it :)

mmm commented on 2010-12-15 23:10

Hello, thank you for the PKGBUILD :)
*Machinarium_full_en_V3.tar.gz should be replaced w/ Machinarium_full_en.tar.gz as thats what is downloaded from humblebundle
*I also suggest adding this file to source array so md5sum can be verified

Otherwise it installs and plays nice. btw, any suggestions for speed up flash? on my netbook it's almost unplayable..mouse movement delays..