1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-05 10:13:51 +00:00

fixup emscripten bundle

This commit is contained in:
radius 2018-02-06 22:17:58 -05:00
parent ee9c786297
commit db65537c24
2 changed files with 15 additions and 4 deletions
pkg/emscripten/libretro

@ -31,9 +31,9 @@
<a class="dropdown-item" href="." data-core="fceumm">FCEUmm</a>
<a class="dropdown-item" href="." data-core="gambatte">Gambatte</a>
<a class="dropdown-item" href="." data-core="genesis_plus_gx">Genesis Plus GX</a>
<a class="dropdown-item" href="https://libretro.itch.io/retroarch" data-core="nestopia">Nestopia (NES)</a>
<a class="dropdown-item" href="https://libretro.itch.io/retroarch" data-core="snes9x2010">Snes9x 2010 (SNES)</a>
<a class="dropdown-item" href="https://libretro.itch.io/retroarch" data-core="vba_next">VBA Next (Gameboy Advance)</a>
<a class="dropdown-item" href="." data-core="nestopia">Nestopia (NES)</a>
<a class="dropdown-item" href="." data-core="snes9x2010">Snes9x 2010 (SNES)</a>
<a class="dropdown-item" href="." data-core="vba_next">VBA Next (Gameboy Advance)</a>
</div>
<button class="btn btn-primary disabled" id="btnRun" onclick="startRetroArch()" disabled>
<span class="fa fa-spinner fa-spin" id="icnRun"></span> Run
@ -78,7 +78,7 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.3/js/bootstrap.min.js"></script>
<script src="analytics.js"></script>
<!--script src="//wzrd.in/standalone/browserfs@0.6.1"></script-->
<script src="//web.libretro.com/browserfs.min.js"></script>
<script src="browserfs.min.js"></script>
<script src="libretro.js"></script>
<div align="center">
<a href="https://www.patreon.com/libretro">

@ -0,0 +1,11 @@
1. download the build from https://buildbot.libretro.com/nightly/emscripten/
2. unzip that somewhere in your web server tree
3. download the asset bundle from https://buildbot.libretro.com/assets/frontend/bundle.zip
4. extract the bundle in /assets/frontend/bundle
5. create an assets/cores dir, you can put game data in that dir
6. chmod +x indexer
7. run the indexer script (you need coffeescript) like this: ./indexer ./assets/frontend > ./assets/frontend/.index-xhr
8. run the indexer script (you need coffeescript) like this: ./indexer ./assets/cores > ./assets/cores/.index-xhr
That should be it, you can add more cores to the list by editing index.html