PICO-8 implementation with SDL2/SDL1.2 and RetroArch back-ends
This is an attempt to have an open source reimplementation of PICO-8 fantasy console to be used on Desktop platforms but especially wherever you want to compile it.
It was born as an attempt to make PICO-8 games playable on OpenDingux devices (GCW0, RG350, ..). It has now been extended to be compiled as a RetroArch core too.
The emulator is written in C++11 and embeds Lua source code (to allow extensions to the language that PICO-8 has). It has a SDL2.0 back-end but a SDL1.2 back-end wouldn't be hard to implement.
Currently much of the API is already working with good performance, even basic sound and music are working.
Many demos already work and even some full games.
Fixed arithmetic support is still missing.
If you want to build a libretro backend:
make
If you want to build a local binary you can run:
cmake .
make
If you want to cross-compile for OpenDingux:
cmake -DOPENDINGUX=ON .
make
If you want to compile for retrofw (assuming your compiler is installed per retrofw instructions):
CROSS=/opt/mipsel-linux-uclibc/bin/mipsel-buildroot-linux-uclibc- cmake -DRETROFW=ON .
make
To build an OpenDingux OPK file once your binary is built:
mkdir -p projects/opendingux
cp -a retro8 projects/opendingux/
cd projects
./build_opk_od.sh