Skip to content

Instantly share code, notes, and snippets.

@jribal
Last active December 24, 2019 10:29
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jribal/8e73ff1e41aa54a9032f965d82706bf3 to your computer and use it in GitHub Desktop.
Save jribal/8e73ff1e41aa54a9032f965d82706bf3 to your computer and use it in GitHub Desktop.
RetroArch web player basic host installation script on docker nginx(ubuntu)
cd /usr/share/nginx/html
rm -r *
apt-get update && apt-get -y install wget nano git-core curl build-essential openssl libssl-dev python p7zip unzip
wget https://buildbot.libretro.com/nightly/emscripten/$(date +%Y-%m-%d -d "1 day ago")_RetroArch.7z
p7zip -d $(date +%Y-%m-%d -d "1 day ago")_RetroArch.7z
mkdir -p assets/frontend/bundle
mkdir -p assets/cores
chmod +x indexer
cd assets/frontend/bundle
wget https://buildbot.libretro.com/assets/frontend/bundle.zip
unzip bundle.zip
cd /usr/share/nginx/html
### coffee installation
git clone https://github.com/nodejs/node.git && cd node
./configure
make -j4
make install
npm install -g coffee-script
cd /usr/share/nginx/html/assets/frontend/bundle
../../../indexer > .index-xhr
cd /usr/share/nginx/html/assets/cores
../../indexer > .index-xhr
@kevingoh
Copy link

kevingoh commented Dec 2, 2019

Hi thanks for the script!
My browser is stuck at the RetroArch logo.
Do I need to manually download the cores? Where should I place them?
Thanks in advance

@jribal
Copy link
Author

jribal commented Dec 24, 2019

Hi, I don't follow this project anymore.

Last time I checked there was some missing cores but now It seems like the cores are included in the 7z file.
This guy has a few working container for retroarch retroach-web

You have to select a core and press RUN.
Be careful all the cores don't work and firefox does not play as nicely as chrome for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment