I want to use EMULATORJS to open my rom game to my Browser using ASP.NET MVC. I made folder and added my nes file using EmulatorJs. I have no idea I could not open my nes file in this EmulatorJs.
Anyone know how to open nes file in my browser?
<div style="width:640px;height:480px;max-width:100%">
<div id="game"></div>
</div>
<script type="text/javascript">
EJS_player = '#game';
EJS_biosUrl = ''; // Url to Famicom Disk System bios
EJS_gameUrl = '~/Swf/new-mario-bros.nes'; // Url to Game rom
EJS_gameID = 1; // ID in your website, required for netplay.
EJS_core = 'nes';
EJS_lightgun = false; // Lightgun
</script>
<script src="https://www.emulatorjs.com/loader.js"></script>