EmulatorJS/data/README.MD
Ethan O'Brien 7a8c11dba9 Version 1.1.6
Co-authored-by: Allan Niles <74841470+allancoding@users.noreply.github.com>
Co-authored-by: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com>
2022-05-16 11:45:00 -05:00

52 lines
1.2 KiB
Markdown

## data directory
This is a note, All core files (files that end with `.data`) are compiled versions on [retroarch](https://github.com/libretro/RetroArch)
Changes from the original software can be viewed [here](https://github.com/ethanaobrien/RetroArch).
All core files are licensed with the GNU General Public License version 3.0
### compiling the cores
I have only ever gotten this to work on ubuntu.
First, install dependencies
```
sudo apt install -y binutils-mips-linux-gnu build-essential git pkgconf python3
```
To build wasm:
clone the repository
```
git clone https://github.com/ethanaobrien/RetroArch.git
```
then, navigate to the `/dist-scripts/` direcotry, then, from here run
```
emmake ./dist-cores.sh emscripten
```
to build files to build the wasm:
clone the repository
```
git clone https://github.com/libretro/libretro-fceumm.git
```
then, enter whatever directory the Makefile.libretro is located in (there may not be a Makefile.libretro). In this case it is the base directory
then, run
```
emmake make -f Makefile.libretro platform=emscripten
```
if there is no Makefile.libretro file, then remove `-f Makefile.libretro`
Then, copy the `.bc` file to the dist-cores directory (see above)