Celeste Game on GameShell

I spent the afternoon attempting to get PICO-8 running on GameShell. It looks pretty similar to other Linux installs we’ve discussed in the PICO-8 forum. The Raspberry Pi build should work, but it needs a little help, and I don’t quite have it working on mine yet. The problems and potential solutions are similar to these threads: https://www.lexaloffle.com/bbs/?tid=3935 https://www.lexaloffle.com/bbs/?tid=30125

Notes:

The “pico8” binary is statically linked. On GS, it looks for and fails to find libbcm_host.so, which is the Broadcom BCM library for GPIO pins. I couldn’t install or bodge this library, so this might be a dead end. Ideas welcome.

The “pico8_dyn” binary is dynamically linked, and is usually the solution when the static binary doesn’t work out of the box. It needs fresh builds of wiringPi and SDL. Installing wiringPi is easy enough:

git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
cd

I don’t quite have the magic words yet for SDL on GS. pico8_dyn prints a runtime fatal error message “SDL Error: rpi not available”. A Google search for this phrase brings up exactly two pages, and they’re both PICO-8 forum threads on this subject. :slight_smile: Presumably building SDL from scratch would help, but this does not do it:

tar -xzf SDL2-2.0.8.tar.gz
cd SDL2-2.0.8
./configure --disable-video-opengl --disable-video-x11 --disable-pulseaudio --disable-esd --disable-video-mir --disable-video-wayland
make -j 4
sudo make install

I’ve done this successfully on other platforms starting from a clean install of Raspian, so I might try that next. I’d prefer keeping the charming clockwork OS launcher menu if possible. I’ll be sure to share widely if I figure it out, and if anyone else finds it first, please let me know!

– Dan

1 Like