Compound game extensions aren't detected by EmulationStation
-
I think your definition for the Pico-8
system
may be wrong. How did you add it toes_systems.cfg
? -
I added the following to
/etc/emulationstation/es_systems.cfg
:<system> <name>pico8</name> <fullname>PICO-8</fullname> <path>/home/pi/.lexaloffle/pico-8/carts/games</path> <extension>.sh .p8 .p8.png .SH .P8 .P8.PNG</extension> <command>/home/pi/pico-8-shim.sh "%ROM%"</command> <platform>pico8</platform> <theme>pico8</theme> </system>
(For reference,
pico-8-shim.sh
is just a simple bash script that runs the argument directly if it is another bash script or runspico8 -run %ROM%
otherwise. This lets me have an entry to launch pico-8 to splore, for example.) -
Use
.png
as the ROM file extension and it should work. -
Sorry for the delay, I got called away. I suppose I can do that, as long as I'm careful to never save any non-game png files in that directory... it still seems odd that ES can't simply parse extensions with periods in them.
-
@mitu I just tried changing the files to simply have the .png extension, and it doesn't work. Pico-8 relies on the .p8.png extension in order to detect which files are images, and which are ROM files to show in the splore interface. In order for this to work, the cause in EmulationStation will need to be found and fixed.
-
I just tried changing the files to simply have the .png extension, and it doesn't work.
I can't reproduce this - what version of EmulationStation are you using ?
-
The problem after renaming the file isn't that it's not shown in the EmulationStation menu - it does. It's that naming a cartridge file name.png instead of name.p8.png is fundamentally incompatible with how pico-8 handles its SPLORE environment, where you can choose between cartridges to play and/or edit. Files that only end in .png are not shows as cartridges in this environment, since pico-8 expects .p8.png files.
-
@rilight I understood the
.p8.png
requirement. What I said is that using.png
as supported extension works in EmulationStation - the.p8.png
game files are displayed in the gamelist. -
...Whoops. I somehow thought you were saying the files needed to be renamed as well. Doing it that way is a bit better, the only problem is then all games display as "name.p8" in the menu.
-
@rilight That's not an issue - most games are renamed during scraping or the info can be edited with the metadata editor (press
Select
on a game entry and you can edit the name that appears in the list). You can also edit thegamelist.xml
directly (exit EmulationStation first) and add<name></name>
entries to it to be shown in the game list. -
@rilight add a gamelist.xml with full names etc?
-
Oh great, thank you! This is my first real try with using RetroPie so I'm not familiar with some of how it works 😄
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.