So I've loaded Retropie up on an SD-card, installed the mame libretro-cores (2003 and 2010) installed LXDE and compiled Attract Mode and got it working.
Now I'm stuck at configuring libretro in AM's menu, I've got:
Executable : /opt/retropie/emulators/retroarch/bin/retroarch
Commandline Arguments : -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so [romfilename]
Rompaths : $Home/pi/RetroPie/roms/mame-libretro/
Extensions : ZIP,7z,DIR
For some reason this setup forgets to add fileextensions to the end of the parsed line when run, so when I run Bubble Bobble I get:
/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so /home/pi/RetroPie/roms/mame-libretro/bublbobl
Instead of what I should have gotten:
/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so /home/pi/RetroPie/roms/mame-libretro/bublbobl.7z
I've also tried just adding the ".7z" after the [romfilename] in the commandline arguments. This seems to create the correct launch-command, but it still fails with a "rom not found". OTOH, if I run the command from a terminal (in X) outside AM, then the rom loads correctly.
Am I going about this completely wrong or...?