mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
emscripten: Add Emscripten compile documentation
This adds some documentation about compiling emscripten.
This commit is contained in:
parent
20cc284d57
commit
db46d91ec6
@ -1,6 +1,25 @@
|
|||||||
# RetroArch Web Player
|
# RetroArch Web Player
|
||||||
|
|
||||||
# Requirements
|
The RetroArch Web Player is RetroArch compiled through [Emscripten](http://kripken.github.io/emscripten-site/). The following outlines how to compile RetroArch using Emscripten, and running it in your browser.
|
||||||
|
|
||||||
|
## Compiling
|
||||||
|
|
||||||
|
To compile RetroArch with Emscripten, you'll first have to [download and install the Emscripten SDK](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html). Once it's loaded in your shell, you'll run something like the following...
|
||||||
|
|
||||||
|
```
|
||||||
|
mkdir ~/retroarch
|
||||||
|
cd ~/retroarch
|
||||||
|
git clone https://github.com/libretro/libretro-fceumm.git
|
||||||
|
cd libretro-fceumm
|
||||||
|
emmake make -f Makefile.libretro platform=emscripten
|
||||||
|
git clone https://github.com/libretro/RetroArch.git ~/retroarch/RetroArch
|
||||||
|
cp ~/retroarch/libretro-fceumm/fceumm_libretro_emscripten.bc ~/retroarch/RetroArch/dist-scripts/fceumm_libretro_emscripten.bc
|
||||||
|
cd ~/retroarch/RetroArch/dist-scripts
|
||||||
|
emmake ./dist-cores.sh emscripten
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
Most of the magic happens on the browser so nothing really on that regard
|
Most of the magic happens on the browser so nothing really on that regard
|
||||||
|
|
||||||
I you want a self hosted version you need
|
I you want a self hosted version you need
|
||||||
|
Loading…
x
Reference in New Issue
Block a user