libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.06k stars 1.81k forks source link

Package RetroArch web player for Chrome Web Store #6714

Open matthewbauer opened 6 years ago

matthewbauer commented 6 years ago

Hi,

Thanks everyone for your work on RetroArch & its cores. You’re helping us preserve our video game history for the future.

I have an old project that uses libretro cores to emulate SNES and NES games. You can check it out here: https://github.com/matthewbauer/gametime-player. I made it before the Emscripten RetroArch had been released and it implements a barebones frontend.

Sadly, I no longer have the time to update my frontend & want to point my users to the RetroArch web player as an alternative. One thing that is missing, though, is a release in the Chrome Web Store. For various reasons this is considered more convenient (especially with chromebooks).

Could you package RetroArch Web into a Chrome web app? I could do it myself but it probably should be done officially.

Ferk commented 6 years ago

Google deprecated web apps last year. And they'll stop working on this quarter: https://9to5google.com/2017/12/06/google-chrome-apps-dead-web-store/

I think it's better to adhere to standards and follow things like the Web App Manifest and other features like offline local storage and app cache, designed for web apps that would work also across browsers, without depending on a centralized "Web Store".

matthewbauer commented 6 years ago

The web app manifest is definitely useful. But note Google still maintains the store for ChromeOS.

MurhafSousli commented 5 years ago

Hi @matthewbauer I am interested in making an offline web based app that works on mobile phones, can you guide me which emulator did you use in your app?

matthewbauer commented 5 years ago

The cool thing about retroarch/libretro is once you get the bindings working you can run almost any emulator that has the libretro bindings. With emscripten, you are probably not going to get anything past 6th gen console working without serious lagging. Snes9x has really good performance just about anywhere:

https://github.com/libretro/snes9x

MurhafSousli commented 5 years ago

@matthewbauer I am only looking for SNES and maybe GBA emulators, The one you have in your app looks very good and the sound is working properly Is your app using https://github.com/libretro/snes9x?

matthewbauer commented 5 years ago

Yes, they're a little old but the new versions should work just as well:

https://github.com/matthewbauer/retrojs/tree/master/core