Force use MAME Core on LAKKA

Hi guys, i’m french so my apologies for my bad english :confused:

i’m making an Arcade games and i will use lakka OS . But i found a real problem when i wanna use MAME game on lakka, the default emulator was FB and not MAME :confused:

I adapted a solution from the website LAKKA.TV, i want to share it with you, for the newbies on linux !

1 - enable SSH on your LAKKA

2 - Download Putty

3 - Launch Putty, the default hostname for lakka os is LAKKA

4 - ID : root PWD root

5 - On the console prompt : nano scan.sh

6.a - Past this script ( this script can be found on LAKKA.TV)

#!/bin/bash

for fullpath in $1; do echo $fullpath filename=$(basename “$fullpath”) echo “${filename%.*}” echo $2 echo $3 echo “DETECT” echo $4 done

6.b - CTRL + x to quit and save the script

7 - Give the execution write for the script :

chmod 755 scan.sh

8 - execute the script

/scan.sh “/storage/roms//*.zip” “/tmp/cores/mame2003_libretro.so” “MAME” “FB Alpha - Arcade Games.lpl” > “/storage/playlists/FB Alpha - Arcade Games.lpl”

9 - On LAKKA Os, click escape to refresh and go on the FB Menu, your games should appair now ! And they will be executed with the MAME Core !

You can also select which core you want with Setting tab > Playlist

Yes it’s true but i make an arcade games for my father. The playlist is more easy ton use for him :slight_smile: