diff --git a/index.js b/index.js index e516a64..e357ad4 100644 --- a/index.js +++ b/index.js @@ -62,6 +62,12 @@ var emus = [ {'name': 'ws', 'video_position': 'left:11.5vw;top:31vh;width:35vw;height:43vh;'} ]; +app.use(function(req, res, next) { + res.header("Cross-Origin-Embedder-Policy", "require-corp"); + res.header("Cross-Origin-Opener-Policy", "same-origin"); + next(); +}); + //// Http server //// baserouter.use('/public', express.static(__dirname + '/public')); baserouter.use('/frontend', express.static(__dirname + '/frontend')); diff --git a/public/index.html b/public/index.html index 3b76e96..3caf7f5 100644 --- a/public/index.html +++ b/public/index.html @@ -30,6 +30,11 @@
Only Safari for Apple devices and Chromium based browsers are supported. Other browsers might work, but have not been tested and likely never will be. Gamepads do not function on Firefox.
Consider supporting libretro they do the heavy lifting. Also take a look at helping with art assets Here.
+More emulators are included than listed below please see HERE for a complete list of libretro cores. To use an alternative/experimental core just add "libretro-" to the beginning of it's name for the emulator setting for your system config.
+Threaded Nintendo DS emulation is available but requires you serve the content from an HTTPS endpoint which means you will need to put this application behind a reverse proxy, we highly reccomend SWAG to achieve this. DS game compatibility and functionality is greatly expanded by using this threaded emulator particularly on an Xbox console the games run at full speed.
+To enable this emulator just change "emulator": "libretro-melonds" to "emulator": "libretro-melonds_threaded" in the config file.
As the network of peers grows, art and default file downloading might not be a 100% perfect. You can always click download multiple times, items that have allready been downloaded will pull from your local IPFS node running in this container while missing items will be retried. Please try to download a couple times before reaching out for support. If you are able to we would appreciate if you can forward port 4001 from this container to the public internet, it decentralizes the distribution of files leading to a more robust CDN for all users.
More emulators are included than listed above the libretro psx emulator is functional but has more serious memory requirements please see HERE for a complete list of libretro cores. To use an alternative/experimental core just add "libretro-" to the beginning of it's name for the emulator setting for your system config.