![]() |
Possible to make SWF games 'applications'?
I've downloaded a number of flash (swf) games and they run really well on the N810.
Question 1: Is there a way to make 'applications' out of these files though so that they can be executed with one click either from Personal Launcher or Personal Menu? I believe Personal Menu has a way to execute 'commands' but I can't seem to figure out how to, for instance: "Open up browser with file mmc2\....\x.swf" Question 2: Is there a way to get the swf file for popcap games like http://fb.popcap.com/online-games/zuma/ ? I keep failing in getting the swf file. |
Re: Possible to make SWF games 'applications'?
For this way to work, you need to install kmplayer.
In Personal Launcher/Menu, in the command line I use kmplayer <location of swf file> example: kmplayer /media/mmc1/swf_games/squares2.swf |
Re: Possible to make SWF games 'applications'?
Quote:
For Question #2: -Open browser and in menu click "Tools" then "components". -Highlight "Shockwave Flash" and click "Details. -Uncheck the "Enable component" box and click "OK"> -Close the components window and close the browser. Now open the browser and cruise to the page that has the game you want. A "flash object" (or somesuch) place holder will now show on the page instead of the game. -Click on the place holder and a dialog box will open. -Download and save the game to your device. -Again in the browser menu click "Tools" then "components". -Highlight "Shockwave Flash" and click "Details. -This time check the "Enable component" box and click "OK"> -Close the components window and close the browser. Now open the tablets "File Manager". Cruise on over to where your recently saved SWF file is located. Click on it and the browser will open so you can enjoy your game without an internet connection. (Provided that game play does not require a connection.) Once you have opened the locally stored SWF file with your browser simply save it as a "Bookmark". If you copy the new files address from the browsers address bar (something like >> file:///savedlocation/yourgame.swf ) then prefix it with browser --url= something like you will have the "Command to execute" needed for Personal Launcher or Personal Menu. Edit: You don't necessarily have to close the browser between steps. Components can apparently be enabled and disabled on the fly. |
Re: Possible to make SWF games 'applications'?
Interesting about the KMplayer. I will have to try that on the flash files that I have.
When it comes to downloading SWF files I use Firefox and the add-on named 'UnPlug' - it automatically scans the page you are on for media files and you simply select the swf file from the page and download it. |
Re: Possible to make SWF games 'applications'?
Thanks!
1) Is there a performance difference running a flash game in kmplayer vs in the browser? I tried on one small game but could not detect any difference for that one. 2) I can't seem to get the browser command to execute in personal manager/launcher. What I do is I add a command line in either of them reading: browser --url=file://media/mmc2/games/bowman.swf When I try to run it..I get 'Execution failed' Is there a syntax error somewhere maybe? |
Re: Possible to make SWF games 'applications'?
Quote:
Code:
|
Re: Possible to make SWF games 'applications'?
Sorry for hi-jacking but I'm trying this as well and that KIND of worked...and it's..weird...
I changed it to what you said and the browser now opens up..and I can see that the path to the game is in the URL...then suddenly another page loads...about Java 2 platform stuff and Class files and a bunch of syntax about Java..and stuff. The game never loads. Weeeeird... |
Re: Possible to make SWF games 'applications'?
I think the performance is about the same between the two, but KMplayer seems to boot faster than the browswer.
EDIT What I would like is to place these into the Application's list instead of Personal Launcher or Personal Menu. Not sure if that is possible. |
Re: Possible to make SWF games 'applications'?
Quote:
Maybe it's not possible on that particular page? IF someone can do it I would LOVE to get the SWF file :) |
Re: Possible to make SWF games 'applications'?
Quote:
I guess you could always try looking here for it. :) |
Re: Possible to make SWF games 'applications'?
omg omg omg there it is - and also some others that looks interesting!!
going to try some now - thank you SO much EDIT: I tried the zuma swf file both on the tablet and my PC but I get an error message about could not load levels xml file and then the screen just sits there saying 'loading'.... ANY help would be SO much appreciated :) EDIT II: It seems like all the games - apart from the three from Popcap works (Zuma, Bejeweled, Bejeweled 2). Conspiracy I say. |
Re: Possible to make SWF games 'applications'?
It looks like it's trying to load up an .xml file for the levels in the game but I'm not seeing it anywhere.
Anyone have any suggestions on this? |
Re: Possible to make SWF games 'applications'?
Another alternative is combining this "hack" http://talk.maemo.org/showthread.php?t=25010 plus either Personal Launcher or Personal Menu.
First backup the original SWF: Code:
mv /usr/share/tutorial-applet/N800-tutorial.swf /usr/share/tutorial-applet/N800-tutorial.swf.stock You need to first create a "clear last game" launcher (for some reason Personal Launcher doesn't support "&&" command chaining.
So you create a flash game launcher by
http://www.box.net/os2008/1/38267058/393255068/1 (Alternatively instead of having to use a "clear" command each time you switch games to get rid of the symlink - you can substitute "ln -s" with "cp" to copy the SWF each time) Select the game's newly created icon. Now just click on the "Getting Started" applet on the home screen. :D |
Re: Possible to make SWF games 'applications'?
Quote:
EDIT: NOT WORKING! I need to look into .desktop files a bit more to fix the issue. Preliminary versions: "Getting Started" Flash Launcher (save as root in /usr/share/applications/hildon/flashlauncher.desktop ) Code:
[Desktop Entry] "Getting Started" Flash Game Selection Template (save as root in /usr/share/applications/hildon/supermario.desktop ) Code:
[Desktop Entry] KMplayer Template (save as root in /usr/share/applications/hildon/km-SuperMario.desktop ) Code:
[Desktop Entry] |
Re: Possible to make SWF games 'applications'?
Looking forward to seeing the results when you get it working. This would give the N8*0 an (almost) infinite game list, as long as you games that can run correctly.
|
Re: Possible to make SWF games 'applications'?
It would be a great player swf file directly without launching the browser
|
All times are GMT. The time now is 12:53. |
vBulletin® Version 3.8.8