2022-05-05 19:45:00 +00:00
|
|
|
# SNES
|
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
## Code Example
|
2022-05-05 19:45:00 +00:00
|
|
|
|
|
|
|
```html
|
|
|
|
<div style='width:640px;height:480px;max-width:100%'>
|
|
|
|
<div id='game'></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type='text/javascript'>
|
|
|
|
EJS_player = '#game';
|
2022-10-23 17:18:00 +00:00
|
|
|
|
|
|
|
// Can also be snes9x
|
2022-05-05 19:45:00 +00:00
|
|
|
EJS_core = 'snes';
|
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
//SNES mouse
|
2022-05-05 19:45:00 +00:00
|
|
|
EJS_mouse = false;
|
2022-10-23 17:18:00 +00:00
|
|
|
|
2022-05-05 19:45:00 +00:00
|
|
|
// SNES Multitap
|
|
|
|
EJS_multitap = false;
|
2022-10-23 17:18:00 +00:00
|
|
|
|
|
|
|
// URL to BIOS file
|
|
|
|
EJS_biosUrl = '';
|
|
|
|
|
2022-05-05 19:45:00 +00:00
|
|
|
// URL to Game rom
|
|
|
|
EJS_gameUrl = '';
|
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
// Path to the data directory
|
2022-05-05 19:45:00 +00:00
|
|
|
EJS_pathtodata = 'data/';
|
|
|
|
</script>
|
|
|
|
<script src='data/loader.js'></script>
|
|
|
|
```
|
|
|
|
|
|
|
|
## ROM Type
|
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
Your **ROM** can have the following extensions:
|
2022-05-05 19:45:00 +00:00
|
|
|
- `smc`
|
|
|
|
- `sfc`
|
|
|
|
- `swc`
|
2022-10-23 17:18:00 +00:00
|
|
|
- `fig`
|
|
|
|
- `bs`
|
|
|
|
- `st`
|
|
|
|
|
|
|
|
### BIOS
|
|
|
|
|
|
|
|
| File Name | Description | md5sum |
|
|
|
|
| ----------- | ------------- | ----------- |
|
|
|
|
| BS-X.bin | BS-X - Sore wa Namae o Nusumareta Machi no<br> Monogatari (Japan) (Rev 1) - Optional | fed4d8242cfbed61343d53d48432aced |
|
|
|
|
| STBIOS.bin | Sufami Turbo (Japan) - Optional | d3a44ba7d42a74d3ac58cb9c14c6a5ca |
|
|
|
|
|
|
|
|
### CORES
|
|
|
|
|
|
|
|
The *snes* system supports 1 core
|
|
|
|
- `snes9x`
|
|
|
|
|
|
|
|
If set to `snes`, emulator will use the `snes9x` core.
|
2022-05-05 19:45:00 +00:00
|
|
|
|