Emulator of NES, Super Nintendo, Sega Mega Drive, GameBoy video consoles
Switch branches/tags
Nothing to show
Clone or download
nesbox Update README.md
removed example
Latest commit 12e79e6 Jun 5, 2015
Failed to load latest commit information.
bin added .zip files support Jan 13, 2015
lib added .zip files support Jan 13, 2015
src added .zip files support Jan 13, 2015
.gitignore added FlashBuilder support Sep 10, 2014
LICENSE Initial commit Sep 3, 2014
Nesbox.as3proj added .zip files support Jan 13, 2015
README.md Update README.md Jun 5, 2015


Nesbox Emulator

NESbox is an emulator of NES, Super Nintendo, Sega Mega Drive and GameBoy video consoles, built on Adobe Flash technology and it can only be run directly in your browser's window.

How to embed the emulator to your webpage?

Get all .swf files in /bin folder and upload to your server (for example to /flash folder). Add the following html to page where you want to place the emulator.

	<div id="emulator">
		<p>To play this game, please, download the latest Flash player!</p>
		<a href="http://www.adobe.com/go/getflashplayer">
			<img src="//www.adobe.com/images/shared/download_buttons/get_adobe_flash_player.png" alt="Get Adobe Flash player"/>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

<script type="text/javascript">

	var resizeOwnEmulator = function(width, height)
		var emulator = $('#emulator');
		emulator.css('width', width);
		emulator.css('height', height);

		function embed()
			var emulator = $('#emulator');
				var flashvars = 
					system : 'sega',
					url : '/roms/Flappy Bird (PD) v1.0.gen'
				var params = {};
				var attributes = {};
				params.allowscriptaccess = 'sameDomain';
				params.allowFullScreen = 'true';
				params.allowFullScreenInteractive = 'true';
				swfobject.embedSWF('flash/Nesbox.swf', 'emulator', '640', '480', '11.2.0', 'flash/expressInstall.swf', flashvars, params, attributes);

Supported systems: nes, snes, sega, gb, gba