raylib-libretro
raylib-libretro copied to clipboard
:space_invader: libretro frontend using raylib.
raylib-libretro :space_invader: ![Tests](https://github.com/RobLoach/raylib-libretro/workflows/Tests/badge.svg)
libretro frontend to play emulators, game engines and media players, using raylib. The raylib-libretro.h raylib extension allows integrating any raylib application with the libretro API. Still in early development.
Usage
raylib-libretro [core] [game]
Control | Keyboard |
---|---|
D-Pad | Arrow Keys |
Buttons | ZX AS QW |
Start | Enter |
Select | Right Shift |
Menu | F1 |
Screenshot | F8 |
Switch Shader | F10 |
Fullscreen | F11 |
Core Support
The following cores have been tested with raylib-libretro:
- fceumm
- picodrive
Wishlist
- [x] Video
- [x] Resizable Window
- [x] Graphical User Interface
- [x] Shaders
- [x] Mouse Support
- [x] Fullscreen
- [ ] Audio
- [ ] Core Options
- [ ]
raylib-libretro.h
documentation - [ ] Rebindable Inputs
- [ ] Gamepad Support
- [ ] Project Templates (VS2017, etc)
- [ ] Zip Loading
- [ ] Binary Releases
- [ ] OpenGL Cores
Compile
CMake is used to build raylib-libretro. Looking to add more project templates to help the build process!
git clone http://github.com/robloach/raylib-libretro.git
cd raylib-libretro
git submodule update --init
mkdir build
cd build
cmake ..
make
Mac OSX
- Make sure you have you have cmake/xcode-cli-tools installed
- Run the above compile instructions
- After installing RetroArch and some cores, you should be able to run the below:
bin/raylib-libretro ~/Library/Application\ Support/RetroArch/cores/fceumm_libretro.dylib ~/Desktop/smb.nes
License
zlib/libpng