jtothebell / fake-08

A Pico-8 player/emulator for console homebrew
Other
563 stars 49 forks source link

Suggestion: LibRetro Core API development #139

Closed clems71 closed 1 year ago

clems71 commented 2 years ago

Creating a FAKE-08 LibRetro Core would allow people to play cartridges (= ROMs) in any frontend they like (like OpenEMU).

The benefits I can think of are:

The good news is that there is no need to deal with frontend logic : display, audio, etc... We just deal with buffers and the frontend makes use of those - all wrapped in a single shared library. So I assume it's more about refactoring current code and creating a new target than starting from scratch.

Some useful links:

RandomMan25XX commented 2 years ago

Libretro already has Retro8, what would the need for another Pico-8 core be?

clems71 commented 2 years ago

Seems like FAKE-08 has better support and traction. But maybe I'm wrong.

RandomMan25XX commented 2 years ago

Seems like FAKE-08 has better support and traction. But maybe I'm wrong.

While it definitely does, I'm just not sure why it's a good idea to have it added to Retroarch, I've never really seen many emulators continue separate builds after being integrated into Retroarch

jtothebell commented 2 years ago

Compiling as a librertro core has been in the back of my mind for a while, but I haven't made it a priority yet. I think I will eventually, because it seems like the best way to support some platforms like Android, but I'm not sure when that will be. Also, it will still take an additional piece for work for save states to work. And as far as providing builds goes, I will continue to only provide builds for platforms that PICO-8 does not have official support for, so no Windows, Mac, x86 linux, or raspberry pi compatible core builds.

jtothebell commented 1 year ago

There is a now a libretro core with support for a few platforms. There are still some issues with it, but I'm closing this general issue in favor of more specific ones.