Create roms dir:
mkdir /home/cpi/games/SNES/
Download ROM to folder, for example: super_mario_world_es.smc
Edit script:
nano /home/cpi/apps/launcher/Menu/GameShell/SuperMarioWorld.sh
#!/bin/bash
retroarch -L /home/cpi/apps/emulators/snes9x2005_libretro.so /home/cpi/games/SNES/super_mario_world_es.smc
Execution permission:
chmod +x /home/cpi/apps/launcher/Menu/GameShell/SuperMarioWorld.sh
Open Retroarch on your gameshell
Select Load Cores
Select Download Core
Select snes9x2005_libretro
Quit Retroarch
Move snes core to emulators:
mv /home/cpi/.config/retroarch/cores/snes9x2005_libretro.so /home/cpi/apps/emulators/
Execution permission:
chmod +x /home/cpi/apps/emulators/snes9x2005_libretro.so
Save this image as:
/home/cpi/apps/launcher/skin/default/Menu/GameShell/SuperMarioWorld.png
Reset GameShell, enjoy!!
Thanks to: Lets play FloppyBird