Title: Air installer failed? Use the SDK without installing instead! Post by: SouseMouse on April 22, 2012, 07:20:57 am I have tested this on 64-bit (Linux Mint 12) and 32-bit (Linux Mint 11). You don't have to do anything as root with this method, and it doesn't actually install anything. Everything will be contained within one directory, so you can easily move or remove it.
First off, I didn't figure this out myself. I just think it needs to be a top-level post, because it works, it's easy, and I've made a minor change to the method described here: http://amanita-design.net/forum/index.php?PHPSESSID=7dfe1581bb668a5038cf83744605033d&/topic,3727.msg10978.html#msg10978 Okay, not so much a minor change. I wrote a script that hopefully makes it easy for less technical users to get the game running. DarkStarSword is right- the Air runtime is fail, at least on 64-bit, but the SDK works fine. Download: Direct link to Air SDK 2.6 (http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2) <- Right click, save as. (If that link breaks, scroll down to 2.6 SDK (not runtime!) at http://helpx.adobe.com/air/kb/archived-air-sdk-version.html (http://helpx.adobe.com/air/kb/archived-air-sdk-version.html).) Put that file and your downloaded Botanicula in a new folder. Copy the following into a new text file and save it as botanicula.sh Code: #!/bin/bash Now you should have a directory with three files in it:
Now you need to set botanicula.sh as executable. Right-click it and select Properties from the menu. On the Permissions tab, check "Allow executing file as program". Now you should be able to double-click botanicula.sh, select Run, and have the game run. This may take a while the first time if the script has to unpack the .bz2, .zip, and .air files. Oh, and after you run this the first time, there may be a big Botanicula.air file in the directory. You can delete it to save some disk space. You can actually delete AdobeAIRSDK.tbz2 and botanicula-linux- Edit on 20120424 to clarify the post title. "Zero-Install Air Method" wasn't a very good choice. Title: Re: Zero-install Air method. Post by: nicolas on April 22, 2012, 11:07:12 am Thank you for this contribution! :D
Made this a sticky post! (I didn't test it yet as my Linux laptop doesn't have a working screen anymore, so I'm stuck on a mac for now, but I will certainly use your launching script thing as soon as it get fixed, as well as for installing the game for my mother and at my grand-parents' home to play with my family. So thanks!) Title: Re: Zero-install Air method. Post by: stevenaaus on April 24, 2012, 12:52:48 pm Hmmm , thanks, but i found this link too late, and have installed the game on another version of Linux and have played half of it.
Where are the game saves located under linux , and can i copy them over ? Title: Re: Botanicula game save files in Linux Post by: SouseMouse on April 25, 2012, 05:59:37 am Botanicula stores its settings and savegames in $HOME/BotaniculaSaves/
My script actually lies to Botanicula by setting $HOME to whatever directory you have the AIR SDK and Botanicula game files in, in order to fool the game into storing that data there instead. Anyhow, for your particular question, if you're running an Ubuntu variant (and this probably applies to many other distributions as well) just open Places -> Home Folder on the menu, and there should be a BotaniculaSaves folder there. That's where I'd expect them to be. Title: Re: Air installer failed? Use the SDK without installing instead! Post by: SouseMouse on April 25, 2012, 08:00:42 am Man, do I love the edit option, but I've only been using it to try to clarify things. I haven't had reason to change the script yet, because even though I've now had the time to test it more thoroughly, it still works as I expected it to.
I'm pleased to report that my full test of this on my little 32-bit Netbook worked perfectly. (It's a wimpy machine, though. I had to turn "quality" down so the audio wouldn't lag.) I think I can now claim that this is truly the preferred method for running the game. I must admit that it's a bit disappointing not to see anyone reply that this has helped them, but I realize that there are potentially many people who have tried this and not bothered to register to say so. If there's anyone who appreciates this, or maybe it didn't work for you, but you don't want to register for yet another forum just to say so, you can email me: sousemouse@gmail.com Title: Re: Air installer failed? Use the SDK without installing instead! Post by: insonifi on April 25, 2012, 10:28:17 am SouseMouse, many thanks for installation method you provided. I spent several hours trying to install AIR on Fedora 16 64bit, but no luck. With yours, got game running after 5 minutes.
However, I still have one issue left, I don't have any sound coming from the game. Despite I see "ALSA plug-in[adl]" application in Sound settings. Could you help me fixing this? Found the problem. My bad, sound output device was different from one connected to speakers. Finally, I will enjoy the game! Good luck to everybody! Title: Re: Air installer failed? Use the SDK without installing instead! Post by: Mike_IronFist on May 01, 2012, 12:47:13 am SouseMouse, what you've made is fantastic!
I decided to create a sister script to yours. It will create a launcher so that you can run the game with a click from your app menu, whether you're using Unity, GNOME, KDE or whatever else desktop environment supports .desktop launchers. It will also create said launcher in the current directory. NOTE: This script must be in the same directory as SouseMouse's botanicula.sh when you run it, or else it will do nothing. You should run SouseMouse's script before at least once before you run this one. If you don't, the launcher won't have an icon until the SouseMouse script finishes unpacking the game files. Copy the following into a new text file and save it as create-botanicula-launcher.sh Code: #!/bin/bash Just like SouseMouse's script, you need to set create-botanicula-launcher.sh as executable. Right-click it and select Properties from the menu. On the Permissions tab, check "Allow executing file as program." Once again, this script must be in the same directory as SouseMouse's botanicula.sh when you run it, or else it will do nothing. Once you've done this, just double-click create-botanicula-launcher.sh and click Run when prompted. This will create the launcher. You might have to log out and log back in for the game to appear in your app menu/Unity dashboard/whatever. Screenshot! (http://i.imgur.com/bL1mMl.jpg) (http://imgur.com/bL1mM) Title: Re: Air installer failed? Use the SDK without installing instead! Post by: faizan on May 01, 2012, 07:01:18 am Thanks for this Amazing Script. Run game smoothly on ubuntu 10.10 32bit. Not any lagging come and games save data work perfect.
Ubuntu 10.10 runing from usb flash drive ad persistence feature available. Thanks SouseMouse. Title: Re: Air installer failed? Use the SDK without installing instead! Post by: SouseMouse on May 01, 2012, 12:22:03 pm SouseMouse, many thanks for installation method you provided. I spent several hours trying to install AIR on Fedora 16 64bit, but no luck. With yours, got game running after 5 minutes. Excellent! But I learned how from DarkStarSword. I've just tried to make it easier.. . . Finally, I will enjoy the game! Good luck to everybody! I decided to create a sister script to yours. It will create a launcher so that you can run the game with a click from your app menu, whether you're using Unity, GNOME, KDE or whatever else desktop environment supports .desktop launchers. It will also create said launcher in the current directory. It never occurred to me to even try to add this to the menu. I've never tried to do that with anything. I guess I'm too console-oriented...However, if you approve, I'd be pleased to steal from you and add this near the end of the script, just before "Now try running the game": Code: # Launcher icon implementation stolen from: Thanks for this Amazing Script. Run game smoothly on ubuntu 10.10 32bit. Not any lagging come and games save data work perfect. Thanks for letting me know. I hadn't tried this from a removable boot media. I think that it works is more due to Ubuntu's robustness in this configuration than anything I did, but it's nice to know that it works even in the less-than-usual use cases.Ubuntu 10.10 runing from usb flash drive ad persistence feature available. Thanks SouseMouse. Again, I stole (and automated) this AIR-SDK method from DarkStarSword. What I really SHOULD have done is bring it to his attention that he needed to make a top-level thread for this, and automate it somewhat. I feel like I'm stealing credit here. I didn't do the tricky make-it-work bit. I've just done the make-it-slightly-easier bit. Title: Re: Air installer failed? Use the SDK without installing instead! Post by: grahamuk2012 on May 02, 2012, 10:04:51 pm Hi,
I am running Ubuntu 12.04 64 bit and put all of the 3 files mentioned in a folder and created the botanicula.ch file which on the first run extracted the save data directory and on the 2nd run extracted the game data but the game does not run. When i double click the botanicula.ch file nothing happens. Any ideas? Thanks, Graham Title: Re: Air installer failed? Use the SDK without installing instead! Post by: Mike_IronFist on May 03, 2012, 05:28:27 am It never occurred to me to even try to add this to the menu. I've never tried to do that with anything. I guess I'm too console-oriented... However, if you approve, I'd be pleased to steal from you and add this near the end of the script, just before "Now try running the game": I absolutely approve! Apparently there's going to be .deb and .rpm files for buyers of the Humble Bundle version soon, but if you add my launcher-creation stuff to your script, we'll basically have a distro-independent solution for people who run distros like Arch, Puppy, etc. Title: Re: Air installer failed? Use the SDK without installing instead! Post by: grahamuk2012 on May 03, 2012, 02:12:20 pm Got this working by using another method. Just after i got it to work I went back to the download page on Humble Bundle and there was a .deb, .rpm and a .tar.gz ??? Typical!
Title: Re: Air installer failed? Use the SDK without installing instead! Post by: magopian on May 03, 2012, 03:20:37 pm Hello there,
I tried various ways to install adobe Air and the game (installing adobe-air + sdk from AUR, and following the first post's steps) but all seem to leed to the same error for me: an empty black screen with nothing displaying whatsoever, and the following error messages in the console: Code: mathieu@zen:~/Downloads/games/botanicula$ ./botanicula.sh I'm trying that on an Archlinux updated a few days ago. Any clue? Thanks in advance Mathieu P.S: btw, I already played and finished Machinarium and Samorost2, two awesome games (Machinarium is the one i preferred ;) Title: Re: Air installer failed? Use the SDK without installing instead! Post by: confluence on May 19, 2012, 10:40:40 am To anyone who is getting a black screen and an ActionScript error 1009 when running the game with the SDK (the packaged deb and I assume also the rpm do this) or just an inexplicable black screen when running it with Air: are you using a window manager other than GNOME? I do, and I had the same problem.
I found one cryptic comment which suggested that running the game from GNOME works (https://plus.google.com/103555773917939181320/posts/M7r7ZC6Z8WY (https://plus.google.com/103555773917939181320/posts/M7r7ZC6Z8WY)). I tried it, and it worked. So it looks like the game is looking for something which is present in the GNOME environment. I haven't tried to debug this in greater detail; I just spent a few hours in GNOME until I finished the game. I also had the mouse stop working in the startup screen (after the settings); it looks like this is a problem with fullscreen mode. I've seen hacks for changing the settings in the save files, but you can also turn off fullscreen mode if you've gone past the settings screen by using keyboard shortcuts -- I think it was escape to launch the menus, and then you can use tab and enter to select things. I hope more users of other WMs can verify the ActionScript error thing, and perhaps shed some light on what specific component is needed. Title: Re: Air installer failed? Use the SDK without installing instead! Post by: confluence on May 19, 2012, 10:51:12 am P.S. I use Ubuntu and Fluxbox. I can verify that it worked for me in GNOME. I assume it also works in Unity, or we'd be hearing a lot more people complain about this.
|