EmulatorJS/data/README.md

130 lines
2.1 KiB
Markdown
Raw Normal View History

2022-05-16 23:59:16 +00:00
<br>
2022-05-16 23:41:54 +00:00
# Data Folder
2022-03-01 02:30:39 +00:00
2022-05-16 19:00:52 +00:00
<br>
2022-03-01 02:30:39 +00:00
2022-05-16 23:41:54 +00:00
## Cores[![Badge GPLv3]][GPLv3]
2022-03-01 02:30:39 +00:00
2022-05-16 19:00:52 +00:00
All files ending in `.data` have been compiled with **[RetroArch]**.
2022-03-01 02:30:39 +00:00
2022-05-16 19:00:52 +00:00
*Check my **[Fork]** for changes made to the original software.*
2022-05-16 16:45:45 +00:00
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
<br>
2022-05-16 19:00:52 +00:00
<br>
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
## Building
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
*Instructions have only been confirmed working for **Ubuntu**.*
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
<br>
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
### Dependencies
2022-05-16 16:45:45 +00:00
2022-05-16 23:57:20 +00:00
- **[Build Essential]**
- **[PkgConf]**
2022-05-16 23:59:16 +00:00
- **[BinUtils]**
2022-05-16 23:57:20 +00:00
- **[Python]**
- **[Git]**
<br>
2022-05-16 23:41:54 +00:00
```sh
sudo apt install -y \
binutils-mips-linux-gnu \
build-essential \
pkgconf \
python3 \
git
2022-05-16 16:45:45 +00:00
```
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
<br>
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
### WASM
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
1. **Clone** the repository.
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
```sh
git clone https://github.com/ethanaobrien/RetroArch.git
```
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
2. Navigate to `/dist-scripts/`
2022-05-16 16:45:45 +00:00
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
3. Build with:
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
```sh
emmake ./dist-cores.sh emscripten
```
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
<br>
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
### LibRetro
1. **Clone** the repository.
```sh
git clone https://github.com/libretro/libretro-fceumm.git
```
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
2. The next steps depend on whether or <br>
not you have a`Makefile.libretro`.
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
#### With
2022-05-16 23:47:02 +00:00
- Navigate to the folder with the makefile.
2022-05-16 23:41:54 +00:00
2022-05-16 23:47:02 +00:00
- Build with:
2022-05-16 23:41:54 +00:00
```sh
emmake make -f Makefile.libretro platform=emscripten
```
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
#### Without
2022-05-16 23:47:02 +00:00
- Stay in the base directory of the project.
2022-05-16 23:41:54 +00:00
2022-05-16 23:47:02 +00:00
- Build with:
2022-05-16 23:41:54 +00:00
```sh
emmake make platform=emscripten
```
2022-05-16 23:47:02 +00:00
<br>
2022-05-16 23:41:54 +00:00
3. Copy the `.bc` file to the `/dist-cores/` folder.
2022-05-16 16:45:45 +00:00
2022-05-16 23:41:54 +00:00
<br>
2022-05-16 19:00:52 +00:00
<!----------------------------------------------------------------------------->
[RetroArch]: https://github.com/libretro/RetroArch
[Fork]: https://github.com/ethanaobrien/RetroArch
[GPLv3]: cores/LICENSE
2022-05-16 23:57:20 +00:00
<!-------------------------------{ Dependencies }------------------------------>
[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/
<!---------------------------------{ Badges }---------------------------------->
[Badge GPLv3]: https://img.shields.io/badge/License-GPL_3-blue.svg?style=flat