How to install PICO-8

Here is all the tutorials, FAQ and know-how
Post Reply
Dennis
Posts: 4
Joined: Mon 1 Jun 2020 12:42

How to install PICO-8

Post by Dennis »

This is a short tutorial for PICO-8 on the RetroStone 2, based on megashub's thread http://retrorangepi.download/forum/show ... 2#pid10272.

1. log into RetroStone2 via SSH as the user pi (password pi, btw: root password is orangepie)
2. make a new pico8 theme (based on the amiga theme)

Code: Select all

cd /etc/emulationstation
sudo mkdir themes/gbz35/pico8
sudo cp themes/gbz35/amiga/theme.xml themes/gbz35/pico8/theme.xml
 
3. edit the theme with

Code: Select all

sudo nano themes/gbz35/pico8/theme.xml
 
and replace the logo image path with your logo (I've taken the p8logo_dark.png from https://www.lexaloffle.com/bbs/?tid=3935 - and saved it into the /etc/emulationstation/themes/gbz35/pico8/ folder)

Code: Select all

..
<view name="system, basic, detailed, video">
                <image name="logo">
                        <path>./p8logo_dark.png</path>
..
4. now add PICO-8 as a new system

Code: Select all

sudo nano -w /etc/emulationstation/es_systems.cfg
add this system (at the bottom, just right above </systemList>)

Code: Select all

<system>
    <name>pico8</name>
    <fullname>PICO-8</fullname>
    <path>/home/pi/pico-8</path>
    <extension>.sh .SH</extension>
    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 "/home/pi/pico-8/pico8_dyn -splore"</command>
    <platform>pico8</platform>
    <theme>pico8</theme>
</system>
5. put your pico-8_0.2.0i_raspi.zip into /home/pi/ and extract it with

Code: Select all

cd
unzip pico-8_0.2.0i_raspi.zip
create an empty startup file

Code: Select all

touch "/home/pi/pico-8/+Start PICO-8.sh"
6. In order to run local pico-8 carts via splore, create a new rom folder (accessable via network like the other game roms)

Code: Select all

mkdir /home/pi/RetroPie/roms/pico-8
7. and edit the pico-8 configuration with

Code: Select all

nano /home/pi/.lexaloffle/pico-8/config.txt
change the root_path to

Code: Select all

// Location of pico-8's root folder
root_path /home/pi/RetroPie/roms/pico-8/
8. stop background music if pico has started with

Code: Select all

nano /home/pi/RetroPie/retropiemenu/RetrOrangePi/Background_Music/bgmusic.py
add pico8_dyn at the end of the emulatornames array like this:

Code: Select all

...
#TODO: Fill in all of the current RetroPie Emulator process names in this list
emulatornames = ["drastic","kodi.bin"..."tyr-quake","quake2", "pico8_dyn"]


9. Reboot.
7thking
Posts: 3
Joined: Sun 21 Feb 2021 17:20

Re: How to install PICO-8

Post by 7thking »

This was really helpful for retrostone2.

Any idea how to get pico 8 working on retrostone 1?

Using pico8_dyn, I am able to get into the system, but then the gamepad doesn't work and I have to force restart the system.
Post Reply