mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 19:06:30 +00:00
Formatted Data README
This commit is contained in:
parent
567439948e
commit
5349ef5b3e
1 changed files with 58 additions and 28 deletions
|
@ -1,57 +1,87 @@
|
||||||
# Data
|
# Data Folder
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
## Core Files [![Badge GPLv3]][GPLv3]
|
## Cores [![Badge GPLv3]][GPLv3]
|
||||||
|
|
||||||
All files ending in `.data` have been compiled with **[RetroArch]**.
|
All files ending in `.data` have been compiled with **[RetroArch]**.
|
||||||
|
|
||||||
*Check my **[Fork]** for changes made to the original software.*
|
*Check my **[Fork]** for changes made to the original software.*
|
||||||
|
|
||||||
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### compiling the cores
|
## Building
|
||||||
|
|
||||||
I have only ever gotten this to work on ubuntu.
|
*Instructions have only been confirmed working for **Ubuntu**.*
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
First, install dependencies
|
### Dependencies
|
||||||
|
|
||||||
```
|
```sh
|
||||||
sudo apt install -y binutils-mips-linux-gnu build-essential git pkgconf python3
|
sudo apt install -y \
|
||||||
|
binutils-mips-linux-gnu \
|
||||||
|
build-essential \
|
||||||
|
pkgconf \
|
||||||
|
python3 \
|
||||||
|
git
|
||||||
```
|
```
|
||||||
|
|
||||||
To build wasm:
|
<br>
|
||||||
|
|
||||||
clone the repository
|
### WASM
|
||||||
|
|
||||||
```
|
1. **Clone** the repository.
|
||||||
|
|
||||||
|
```sh
|
||||||
git clone https://github.com/ethanaobrien/RetroArch.git
|
git clone https://github.com/ethanaobrien/RetroArch.git
|
||||||
```
|
```
|
||||||
|
|
||||||
then, navigate to the `/dist-scripts/` direcotry, then, from here run
|
2. Navigate to `/dist-scripts/`
|
||||||
|
|
||||||
```
|
3. Build with:
|
||||||
|
|
||||||
|
```sh
|
||||||
emmake ./dist-cores.sh emscripten
|
emmake ./dist-cores.sh emscripten
|
||||||
```
|
```
|
||||||
|
|
||||||
to build files to build the wasm:
|
<br>
|
||||||
|
|
||||||
clone the repository
|
### LibRetro
|
||||||
|
|
||||||
```
|
1. **Clone** the repository.
|
||||||
|
|
||||||
|
```sh
|
||||||
git clone https://github.com/libretro/libretro-fceumm.git
|
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
|
2. The next steps depend on whether or <br>
|
||||||
|
not you have a `Makefile.libretro` .
|
||||||
|
|
||||||
then, run
|
#### With
|
||||||
```
|
|
||||||
|
1. Navigate to the folder with the makefile.
|
||||||
|
|
||||||
|
2. Build with:
|
||||||
|
|
||||||
|
```sh
|
||||||
emmake make -f Makefile.libretro platform=emscripten
|
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)
|
#### Without
|
||||||
|
|
||||||
|
1. Stay in the base directory of the project.
|
||||||
|
|
||||||
|
2. Build with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
emmake make platform=emscripten
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Copy the `.bc` file to the `/dist-cores/` folder.
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
|
||||||
<!----------------------------------------------------------------------------->
|
<!----------------------------------------------------------------------------->
|
||||||
|
|
Loading…
Reference in a new issue