maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Possible to make SWF games 'applications'? (https://talk.maemo.org/showthread.php?t=31227)

bummer 2009-09-03 06:21

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.

Nelson L. Squeeko 2009-09-03 11:51

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

YoDude 2009-09-03 13:37

Re: Possible to make SWF games 'applications'?
 
Quote:

Originally Posted by bummer (Post 320645)
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.

Question #1 I kind of answered by example in another thread that you posted in... >> http://talk.maemo.org/showthread.php...769#post320769


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.

silvermountain 2009-09-03 14:42

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.

bummer 2009-09-03 15:06

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?

YoDude 2009-09-03 15:21

Re: Possible to make SWF games 'applications'?
 
Quote:

Originally Posted by bummer (Post 320871)
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?

Add 1 more forward slash after file: and try that.

Code:


browser --url=file:///media/mmc2/games/bowman.swf


silvermountain 2009-09-03 15:31

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...

Nelson L. Squeeko 2009-09-03 20:56

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.

bummer 2009-09-06 23:16

Re: Possible to make SWF games 'applications'?
 
Quote:

Originally Posted by YoDude (Post 320819)

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.

I've been trying for two days now using different browsers (IE, FF and Chrome) - but I am not able to replicate your steps above so that I can get the Zuma swf file to download :(

Maybe it's not possible on that particular page?

IF someone can do it I would LOVE to get the SWF file :)

Addison 2009-09-06 23:27

Re: Possible to make SWF games 'applications'?
 
Quote:

IF someone can do it I would LOVE to get the SWF file
It's stating that version as being zuma_1_0.

I guess you could always try looking here for it. :)


All times are GMT. The time now is 09:29.

vBulletin® Version 3.8.8