danoon2 / Boxedwine

Emulator that can run 32-bit Windows programs/games on multiple platforms via Wine
GNU General Public License v2.0
811 stars 65 forks source link

Any plans to make Boxedwine work as a Libretro Core for RetroArch or is this even possible? #17

Open Ryan14411 opened 3 years ago

Ryan14411 commented 3 years ago

When you choose to use the libretro API, your program gets turned into a single library file (called a ‘libretro core’). A frontend that supports the libretro API can then load that library file and run the app. The frontend’s responsibility is to provide all the implementation-specific details, such as video/audio/input drivers. The libretro core’s responsibility is solely to provide the main program. You therefore don’t have to worry about writing different video drivers for Direct3D, OpenGL or worrying about catering to all possible input APIs/sound APIs/supporting all known joypads/etc. This is none of your concern at the libretro core implementation level.

danoon2 commented 3 years ago

I would think something like that should be possible. I use SDL for my Window, Events (mouse/keyboard), OpenGL and Audio and it's pretty well abstracted out.

https://github.com/danoon2/Boxedwine/tree/master/platform/sdl

I don't have any immediate plans to something like that right now. Every year my todo list grows faster than I can complete items. :)

Ryan14411 commented 3 years ago

its good to know that it could be a possibility at some point! And yes i can imagine, if i could code id be helping