2022-05-05 19:45:00 +00:00
|
|
|
# Arcade
|
|
|
|
|
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 fbalpha2012_cps1 or fbalpha2012_cps2
|
2022-05-05 19:45:00 +00:00
|
|
|
EJS_core = 'arcade';
|
|
|
|
|
|
|
|
// 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>
|
|
|
|
```
|
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
## ROM Type
|
2022-05-05 19:45:00 +00:00
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
Your **ROM** can have the following extensions:
|
|
|
|
- `zip`
|
2022-05-05 19:45:00 +00:00
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
### CORES
|
2022-05-05 19:45:00 +00:00
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
The *arcade* system supports 2 cores
|
|
|
|
- `fbalpha2012_cps1`
|
|
|
|
- `fbalpha2012_cps2`
|
2022-05-05 19:45:00 +00:00
|
|
|
|
2022-10-23 17:18:00 +00:00
|
|
|
If set to `arcade`, emulator will use the `fbalpha2012_cps1` core.
|
2022-05-05 19:45:00 +00:00
|
|
|
|