PICO-8 console and stand-alone cartridge firmware distributed in an SD card image for the Raspberry Pi.
Sat Aug 6 12:43:42 PDT 2016
I sacrificed an extra second or two in boot time for ease of deployment. No more having to flash an SD cards. You can simply unzip the contents of the PICOPi archive onto a FAT32 formated SD card.
What is it?
PICO-8 is a fantasy console for making, sharing and playing tiny games and other computer programs. When you turn it on, the machine greets you with a shell for typing in Lua commands and provides simple built-in tools for creating your own cartridges.
I fell in love this this little virtual console from day one. It catered perfectly to my 8-bit/16-bit graphic and C64 nostalgia.
PICO-8 on the MinnowBoard
Some time ago, I made a similar image for the Minnowboard since there was no PICO-8 build for ARM at the time:
Soon after Zep released a build for Raspbian and all was good – except for the fact that as an embedded engineer, using Raspbian for this purpose made my skin crawl.
I wanted something that I could just pop in and play some games with in my hotel room, without needing to fiddle around with a full blown desktop, or worry about power cutting out and possibly corrupting the OS.
I was sure I could do better, so I found myself with some free time and I made my own OS image for the PICO-8 on the Raspberry Pi…
I specially wanted to (optionally) be super wasteful and use a single SD card per cartridge (which you can totally do and it’s great). I mean, can you imagine the tiny labels printed on the SD card? I sure can!
- Boots directly to the ‘splorer’ or directly to a console (when not in stand-alone cartridge mode).
- Corruption resistant.
- Crazy-fast boot time.
- HDMI audio output on by default.
- Keymaps supported.
- Nothing on screen but PICO-8.
- Raspberry Pi will do a clean shutdown when PICO-8 does.
- X-Box controller support (tested).
Tested on Model A, A+, B, B+, CM, Zero.
Raspberry Pi 2
Tested on Model B
Raspberry Pi 3
Tested on Model B
- Format your SD card with a single FAT32 partition.
- Unzip the PICOPi onto the SD card.
- Unzip the PICO-8 archive (from Lexaloffle) onto the SD card (more information in the PICO-8 section below).
Linux SD Card Setup
Mac OS X SD Card Setup
Windows SD Card Setup
PICO-8 is not free in any sense of the word.
At the moment of writing it will set you back 15 USD for a lot of games which includes PICO-8.
Download the Raspberry-Pi(ARM) archive, expand it in the first partition of the SD card that’s it. It Should Just Work.
Your first partition should look something like this afterwards:
bcm2708-rpi-b.dtb bcm2708-rpi-b-plus.dtb bcm2708-rpi-cm.dtb bootcode.bin config.txt fixup.dat start.elf pico.pi pico-8/ <----
Stand-alone Cartridge Mode
Download your favorite cartridge from the PICO-8 website, rename it to rom.p8 or rom.p8.png and place it in the boot partition.
Your first partition should look something like this:
bcm2708-rpi-b-plus.dtb bcm2708-rpi-b.dtb bcm2708-rpi-cm.dtb bootcode.bin config.txt fixup.dat rom.p8.png <---- start.elf pico-pi pico-8/
When the Raspberry Pi board boots, it will automatically load the cartrige file and run it.
Download your favorite carts from the PICO-8 website and copy them into the pico-8/carts directory on the SD Card. If the carts directory doesn’t exist, feel free to create it.
If you wish to switch keyboard layout, you will need to modify the following line in config.txt
The usual standard Linux system keymaps are available; Valid keymap names include:
* azerty * dvorak * es * fr * us
It’s possible to boot directly to the console instead of ‘splorer’. To do so, comment out, remove or set the following line in config.txt to off: