New Pico-8 System on EmulationStation
-
Hi everyone, I love Pico-8 and I decided to integrate it into Retropie. I followed the (somewhat old but still working) guide at https://www.lexaloffle.com/bbs/?tid=3935
I added pico-8 to /etc/emulationstation/es_systems.cfg
<system> <name>pico8</name> <fullname>PICO-8</fullname> <path>/home/pi/RetroPie/roms/pico8</path> <extension>.p8 .p8.png .sh .png</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 "/home/pi/pico-8/pico8 %ROM%"</command> <platform>pico8</platform> <theme>pico8</theme> </system>
I downloaded some games (I already have the pico-8 binary working on the ports menu but it requires internet to browse the games) and left them on the roms path. It didn't find any games (looked it up on /home/pi/.emulationstation/es_log.txt and there was no problem with the system, only said "found no games").
As all my games were .p8.png I added .sh .png to the extension list (as shown above) and made a .sh file and an empty .p8 file. I set it up so all files have 644 permissions.
pi@retropie:~/.emulationstation $ ls -l /home/pi/RetroPie/roms/pico8 total 356 -rw-r--r-- 1 pi pi 32224 Nov 27 10:28 Across_the_river.p8.png -rw-r--r-- 1 pi pi 23958 Nov 27 10:28 Combo_Pool.p8.png -rw-r--r-- 1 pi pi 53099 Nov 27 10:28 Dank_Tomb.p8.png -rw-r--r-- 1 pi pi 43544 Nov 27 10:28 Dusk_Child.p8.png -rw-r--r-- 1 pi pi 46246 Dec 4 13:11 Hungry_Harry_3d.p8.png -rw-r--r-- 1 pi pi 51767 Nov 27 10:28 Kelins_delivery_Rain.p8.png -rw-r--r-- 1 pi pi 0 Apr 13 09:46 prueba.p8 -rw-r--r-- 1 pi pi 57 Apr 13 09:48 +Splore.sh -rw-r--r-- 1 pi pi 19538 Nov 27 10:28 Stories_at_dawn.p8.png -rw-r--r-- 1 pi pi 45104 Nov 27 10:28 The_Wee_Dungeon.p8.png -rw-r--r-- 1 pi pi 29046 Nov 27 10:28 U-Turn.p8.png
I restarted EmulationStation and only the empty file was there:
pi@retropie:~/.emulationstation $ cat /home/pi/.emulationstation/gamelists/pico8/gamelist.xml <?xml version="1.0"?> <gameList> <game> <path>./prueba.p8</path> <name>prueba</name> <playcount>1</playcount> <lastplayed>20190413T094923</lastplayed> </game> </gameList>
So I now have the system on Retropie, I can see it with the logo and everything, but when I enter the system only one rom appears and it doesn't work. Could you guys give me a hand? Why are this files not being recognized as roms?
-
Rename your
.p8.png
files to.p8
and restart Emulationstation, your files should appear in the gamelist. -
@mitu yeah, that's what I'm going to do, thanks!
Still curious about why it only recognises .p8 and not the rest of file extensions...
-
So in the end I did end up making the gamelist myself. The good thing is that the game and the thumbnail are the same file for Pico-8 games :)
pi@retropie:~/RetroPie/roms $ cat /home/pi/RetroPie/roms/pico8/gamelist.xml <?xml version="1.0"?> <gameList> <game> <path>./Across_the_river.p8.png</path> <name>Across_the_river</name> <image>/home/pi/RetroPie/roms/pico8/Across_the_river.p8.png</image> </game> <game> <path>./Combo_Pool.p8.png</path> <name>Combo_Pool</name> <image>/home/pi/RetroPie/roms/pico8/Combo_Pool.p8.png</image> </game> <game> <path>./Dank_Tomb.p8.png</path> <name>Dank_Tomb</name> <image>/home/pi/RetroPie/roms/pico8/Dank_Tomb.p8.png</image> </game> <game> <path>./Hungry_Harry_3d.p8.png</path> <name>Hungry_Harry_3d</name> <image>/home/pi/RetroPie/roms/pico8/Hungry_Harry_3d.p8.png</image> </game> <game> <path>./Kelins_delivery_Rain.p8.png</path> <name>Kelins_delivery_Rain</name> <image>/home/pi/RetroPie/roms/pico8/Kelins_delivery_Rain.p8.png</image> </game> <game> <path>./Stories_at_dawn.p8.png</path> <name>Stories_at_dawn</name> <image>/home/pi/RetroPie/roms/pico8/Stories_at_dawn.p8.png</image> </game> <game> <path>./The_Wee_Dungeon.p8.png</path> <name>The_Wee_Dungeon</name> <image>/home/pi/RetroPie/roms/pico8/The_Wee_Dungeon.p8.png</image> </game> <game> <path>./U-Turn.p8.png</path> <name>U-Turn</name> <image>/home/pi/RetroPie/roms/pico8/U-Turn.p8.png</image> </game> <game> <path>./Dusk_Child.p8.png</path> <name>Dusk_Child</name> <image>./Dusk_Child.p8.png</image> <playcount>2</playcount> <lastplayed>20190414T055919</lastplayed> </game> </gameList>
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.