Category Archives: Gaming

How to download and play your favourite flash game offline

Recently I’ve been digging casual gaming (my college days are over). Though I dont get much of a chance to play these games during weekdays. Weekends is when I get the time to do some casual gaming. I’m a sucker for all flavours of strategy games and there are quite some decent flash strategy games out there.

Best flash game ever!

Sonny is by far the best flash game I’ve ever played. Everything about it is just fantastic. From the graphics to the story, the music and the action packed levels that would leave you begging for more zombies to slice. Currently I’m playing Sonny 2 which is improved and equally fun as the first one. It gives you more fighting strategy from totally defensive to totally offensive. Sonny 2 also packs more playing options with more abilities depending on the class. You have to play each class to see what kind of a zombie you are. If you haven’t played Sonny 1 I’d recommend playing it first before venturing into Sonny 2 though it isn’t a must because Sonny 2 has a tutorial level. Which introduces you to basic strategies and controls.

Dig this you religious zombie

Sonny2 battle scene

Another great game is Plasma Burst which is a truly fantastic side scroller shoot em up where you are sent back in time to save the world and you land in the wrong planet where you get to
frag your way home, the game’s numerous weaponry you get to choose from is really fun, especially when you had a hard time in the first levels and you get to go back and show them who’s boss when you’re all armoured up and weilding a plasma gun.
These games need me to have an internet connection at home and in Nairobi, bandwidth still costs a kidney so getting to play my favourite flash games offline seemed a far-fetched wish.

The reason for writing this post though was to share a little trick that I use to play flash games offline. Its not anything ingenious but quite handy.

1. Open up the webpage with your flash game with Mozilla Firefox then wait till it loads fully. Firefox loads the flash game to its cache folder. If you are running Linux
like myself (Ubuntu) the cache folder is located in ~/.mozilla/firefox/93ms7j3x.default/Cache.
Here you’d probably find all kinds of files that firefox has recently viewed. Using nautilus to sort
the files makes it easier for me to sort and find the flash game. But don’t expect the file to be named yourflashgame.swf. It would probably be a series of numerals with no file extension.

2. Create a directory on your desktop and copy the flash file to this directory. Rename your flash file to “flashgame.swf” Then open your favourite text editor and paste the following html code
<html>
<head>
<style media="screen" rel="stylesheet" type="text/css">
body {
background-color:#464646;
}
.centre {
width: 800px ;
margin-left: auto ;
margin-right: auto ;
}
</style>
<head/>
<body>
<div class="centre">
<object width="950" height="650">
<param name="movie" value="flashgame.swf">
<embed src="flashgame.swf" width="850" height="550" align="center">
</embed>
</object>
</div>
<body/>
<html/>

save the html file as flashgame.html. Then now open the html file with firefox and there you have it. You can now play your flash game offline.

<html>
<head>
<style media=”screen” rel=”stylesheet” type=”text/css”>
body {
background-color:#464646;
}
.centre {
width: 800px ;
margin-left: auto ;
margin-right: auto ;
}
</style>
<head/>
<body>
<div class=”centre”>
<object width=”950″ height=”650″>
<param name=”movie” value=”flashgame.swf”>
<embed src=”flashgame.swf” width=”850″ height=”550″ align=”center”>
</embed>
</object>
</div>
<body/>
<html/>

Tagged ,