# Data Folder
## Cores [![Badge GPLv3]][GPLv3]
All files ending in `.data` have been compiled with **[RetroArch]**.
*Check my **[Fork]** for changes made to the original software.*
## Building
*Instructions have only been confirmed working for **Ubuntu**.*
### Dependencies
- **[Build Essential]**
- **[PkgConf]**
- **[BinUtils]**
- **[Python]**
- **[Git]**
```sh
sudo apt install -y \
binutils-mips-linux-gnu \
build-essential \
pkgconf \
python3 \
git
```
### WASM
1. **Clone** the repository.
```sh
git clone https://github.com/ethanaobrien/RetroArch.git
```
2. Navigate to `/dist-scripts/`
3. Build with:
```sh
emmake ./dist-cores.sh emscripten
```
### LibRetro
1. **Clone** the repository.
```sh
git clone https://github.com/libretro/libretro-fceumm.git
```
2. The next steps depend on whether or
not you have a `Makefile.libretro` .
#### With
- Navigate to the folder with the makefile.
- Build with:
```sh
emmake make -f Makefile.libretro platform=emscripten
```
#### Without
- Stay in the base directory of the project.
- Build with:
```sh
emmake make platform=emscripten
```
3. Copy the `.bc` file to the `/dist-cores/` folder.
[RetroArch]: https://github.com/libretro/RetroArch
[Fork]: https://github.com/ethanaobrien/RetroArch
[GPLv3]: cores/LICENSE
[Build Essential]: https://packages.ubuntu.com/focal/build-essential
[BinUtils]: https://www.gnu.org/software/binutils/
[PkgConf]: http://pkgconf.org/
[Python]: https://www.python.org/
[Git]: https://git-scm.com/
[Badge GPLv3]: https://img.shields.io/badge/License-GPL_3-blue.svg?style=flat