Welcome, Guest. Please login or register.
Did you miss your activation email?
September 01, 2014, 11:13:53 AM

Pages: 1 ... 7 8 [9] 10
 81 
 on: July 28, 2014, 10:18:12 AM 
Started by nicolas - Last post by RobotJosef
Aaahhh, I'm lost in the tidal wave of code!

 82 
 on: July 28, 2014, 10:11:12 AM 
Started by nicolas - Last post by MestreLion

So, you have to do a very little script, that you can put inside a single command in your launcher. Tongue Something like :
Code:
bash -c "cd /opt/Machinarium/ && ./Machinarium"

In this way, it works, the game is launched, but it doesn't find your saved game from when you have launched it directly. Now, the saved game is located at :
Code:
/home/-username-/.macromedia/Flash_Player/#SharedObjects/-strangething-/-localsomething-/Machinarium/

The save game location only changed because you changed the way the executable is invoked, from absolute to relative. If you always use the absolute path, "/opt/machinarium/Machinarium", then saved games would be in the same place.

So the command should be:
Code:
bash -c "cd /opt/machinarium/ && /opt/machinarium/Machinarium"

I know an absolute path is redundant after the `cd`, but this way the save game location never changes.

Also, 2 remarks:

- Game should preferably be installed to `/opt/machinarium`, not `/opt/Machinarium`. Note the lowercase M. This is the standard location used .DEB install from Humble Bundle and Ubuntu Software Center.

- Why the "bash -c" single command thing? If this is a shell script, simply use "cd /opt/machinarium && /opt/machinarium/Machinarium". If this is a .desktop launcher, simply add a "Path=/opt/machinarium" line besides the "Exec=/opt/machinarium/Machinarium" line.

 83 
 on: July 28, 2014, 08:34:28 AM 
Started by nicolas - Last post by MestreLion
IMPORTANT: I think there is ONLY 1 limitation, the game Path must to he WITHOUT "spaces".

Get rid of this limitation by quoting your vars! Smiley

"$FILE"
"$TARGET"
etc...

Also, this ECHO -e is ugly, and there is no need to save as tmp, then rename to "$FILE", then replace values with sed. This could all be done in a single step. May I propose this?

Code:
cat > "$FILE" <<-EOF
[Desktop Entry]
Value=1.0
Type=Application
Name=$NAME
Categories=Game;
Path=$(printf '%q' "$DIR")
Exec=$(printf '%q' "$DIR/$EXEC")
Icon=$(printf '%q' "$DIR/$ICON")
EOF

 84 
 on: July 28, 2014, 01:28:00 AM 
Started by whatpoppywants - Last post by rrg
I'm having this exact same problem, only it's with the big creature with the tongue at the bottom of the pit. My trackpad just isn't fast enough, so I get eaten over and over again with only 1 or 2 lights left to go. I've tried about 30 times in a row, now i just have to give up. It's such a shame, because I'm so close to the end but this puzzle just isn't possible to solve with a trackpad.

 85 
 on: July 25, 2014, 05:52:58 AM 
Started by mach1nar1um_king - Last post by RobotJosef
Good one, MoonMoon!  Wink

 86 
 on: July 24, 2014, 09:05:12 AM 
Started by jonutz - Last post by jonutz
Hello guys, i see you have problems with saved games.

I have a website http://saveandload.com/ which tries to solve this problem.

You can upload and share your saved games to other gamers to help them out.

Any opinion is welcome and appreciated.
Have a good day.

 87 
 on: July 23, 2014, 08:11:01 PM 
Started by rpetris - Last post by rpetris
Ooooooh thank you SO MUCH. My daughter is ecstatic, having pestered me about this approximately forever. I checked... her age restrictions were set to 9+ and this was a 12+. Shows you how often we buy games that we never came across this before Smiley

 88 
 on: July 23, 2014, 07:00:49 PM 
Started by rpetris - Last post by Lamkin
The only thing I can think of is that it's related to her iPad's Restrictions, as Machinarium has a 12+ age recommendation. I suggest that you check that out to make sure that Restrictions are set to Off. If you're not sure how to do so, you can access Restrictions under Settings > General > Restrictions > Apps.
Here's a link to an Apple Support page that has images and more details: http://support.apple.com/kb/HT4213?viewlocale=en_US&locale=en_US

Also, you might try going to Settings > iTunes & App Store, tapping your Apple ID, signing out, then signing back in to see if that makes any difference.

 89 
 on: July 23, 2014, 04:14:53 PM 
Started by mach1nar1um_king - Last post by MOONMOON
 Topic: Machinarium 2 [expressions of enthusiasm]  (Read 222222 times)


(Read 222222 times)

ok this is now truly a sign!!!!!!

 Wink

 90 
 on: July 23, 2014, 03:57:46 PM 
Started by Alex - Last post by Alex

from @Amanita Design...  https://www.youtube.com/watch?v=WclpcY_C6IM


Pages: 1 ... 7 8 [9] 10