View Single Post
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#2818
Originally Posted by trisha02 View Post
fingers crossed. but i hav one question santiago.isnt it possible to fix the games that are not working.we could take the help of the developers.ask them to help.or we could investigate what makes these games work on other platforms like android.we could copy the files from that phone.and make it work.just a gesture.i am a noob.
Android has a different platform, to run android apps and games you need of the Dalvik Machine (like a jvm compiler). For the other question i can give you my help, i don't want to press anyone to release/fix/adjust nothing about. This is a community, untill i will have time i will help you, this is the way we follow (everybody does it)

By the way.. I tried the game Machinarium i want to share with you How-to get it working on N900.

first step unpack the IPK wherever you want, i unpacked it on My Preenv path (/usr/palm/applications) chmod al the files and chown them too with the User
Code:
sudo chmod -R +rwx /usr/palm/applications/org.mobilism.shiny.machinarium/*

sudo chown -R user /usr/palm/applications/org.mobilism.shiny.machinarium/*
now, you can't use preenv to run this Game becouse it'is made to run in a Enyo Framework (we want that!) by the way, the framework uses just a script to run the file in a web browser.. I adjusted the resolution page to work fine in the Microbrowser, yes it's a flash game but it's a very special game! With one text editor create a file named machinarium.htm and put it on the game-path-folder of machinarium. I used leafpad, doing this
Code:
sudo leafpad /usr/palm/applications/org.mobilism.shiny.machinarium/machinarium.htm
a empty window will appear. paste there this entry and save it with ctrl + s or pressing save in the Tap leafpad Menu.
<html>
<title>Machinarium</title>
<body bgcolor="black">
<object>
<embed
width="980"
height="640"
allowscriptaccess="always"
allowfullscreen="true"
src="machinarium.swf">
</embed>
</object>
</body>
</html>
Now, we need to create a right Link in the desktop Menu, first of all do this to assign the righ icon to the game, copy and paste this on xterm
Code:
sudo cp /usr/palm/applications/org.mobilism.shiny.machinarium/icon.png /usr/share/icons/hicolor/scalable/hindon/machinarium.png
after this step, paste this code in the xterm
Code:
sudo leafpad /usr/share/applications/hildon/machinarium.desktop
a new wmpty window will apear paste this code and save it again with ctrl + s
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Machinarium
Exec=run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"file:///opt/preenv/usr/palm/applications/org.mobilism.shiny.machinarium/machinarium.htm"
X-Osso-Type=application/x-executable
Terminal=false
Icon=machinarium
you will see the icon at the netx reboot. To play with the game you need to lock the mouse pointer. I'm adding some screenshots enjoy
Attached Images
    

Last edited by santiago; 2011-09-27 at 01:10.
 

The Following User Says Thank You to santiago For This Useful Post: