mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #7338 from libretro/emscripten-docs
Add Emscripten compile documentation
This commit is contained in:
commit
1bba09461b
@ -1,6 +1,25 @@
|
||||
# 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
|
||||
|
||||
I you want a self hosted version you need
|
||||
|
Loading…
x
Reference in New Issue
Block a user