EmulatorJS/docs/Systems/Arcade.md

38 lines
669 B
Markdown
Raw Normal View History

2022-03-26 17:17:32 +00:00
# Arcade
2021-12-20 16:30:29 +00:00
## Code Example
2022-03-26 17:17:32 +00:00
```html
<div style='width:640px;height:480px;max-width:100%'>
<div id='game'></div>
</div>
<script type='text/javascript'>
2021-12-20 16:30:29 +00:00
EJS_player = '#game';
// Can also be fbalpha2012_cps1 or fbalpha2012_cps2
2021-12-20 16:30:29 +00:00
EJS_core = 'arcade';
2022-03-26 17:17:32 +00:00
// URL to Game rom
EJS_gameUrl = '';
// Path to the data directory
2022-03-26 17:17:32 +00:00
EJS_pathtodata = 'data/';
2021-12-20 16:30:29 +00:00
</script>
2022-03-26 17:17:32 +00:00
<script src='data/loader.js'></script>
2021-12-20 16:30:29 +00:00
```
## ROM Type
2022-03-26 17:17:32 +00:00
Your **ROM** can have the following extensions:
- `zip`
2022-03-26 17:17:32 +00:00
### CORES
2021-12-20 16:30:29 +00:00
The *arcade* system supports 2 cores
- `fbalpha2012_cps1`
- `fbalpha2012_cps2`
2021-12-20 16:30:29 +00:00
If set to `arcade`, emulator will use the `fbalpha2012_cps1` core.
2021-12-20 16:30:29 +00:00