- Your Raspberry Pi should be connected to the internet
- Connect to your Raspberry Pi via SSH/Putty from another computer
- Run:
wget https://raw.githubusercontent.com/tavuntu/rgb-love2d/master/rgb-love2d-setup.sh && chmod +x rgb-love2d-setup.sh && ./rgb-love2d-setup.sh
- Follow the instructions and enjoy! (Some demos will be placed in Ports -> Love2D)
Games (.love files) should be placed in ~/RetroPie/roms/love2d/ and, after doing that, you must:
- Run __GenerateScripts (from RGB-Pi OS, in Ports -> Love2D)
- Do a game search again
Note: if you're just replacing 1 (or more) .love file with a new one (but same name), you're all set.
-
Unlike the RGB-Quake project, this one has no direct integration with RetroArch, so you should have in mind:
- A way to exit the game (usually with
love.event.quit()
) is needed in order to return to the RGB-Pi UI - Global mapping for Joysticks is not there (yet)
- For every
.love
in~/RetroPie/roms/love2d/
, __GenerateScripts creates a.love.sh
file in~/RetroPie/roms/ports/Love2D/
:
- A way to exit the game (usually with
#!/bin/bash
vcgencmd hdmi_timings 1920 1 48 192 240 240 1 9 5 9 0 0 0 60.0 0 37872000 1
fbset -depth 8 && fbset -depth 24 && fbset -depth 32
love ~/RetroPie/roms/love2d/<your_love_file>
- When developing a game, consider that it will run at 320x240 in RGB-Pi OS (there is no hdmi_timings swap so it uses the same as in
/boot/config.txt
). This may change in future versions of this setup.
ℹ️ In order to get a more straight forward solution, a RetroArch core for LÖVE is currently being discussed!