Please do not post a support request without first reading and following the advice in

Runcommand for lr-mame2003 and lr-mame2010

  • Hi,

    I want to launch different romsets with different Mame cores in Attract Mode. Eg. I have one wheel setup with the Mame2003 romset and one with Mame2010 romset. I have only found one way to lunch the mame-libretro cores with runcommand:

    executable /opt/retropie/supplementary/runcommand/
    args 0 SYS mame-libretro "[romfilename]"
    rompath /home/pi/RetroPie/roms/mame-libretro

    I wonder if there is a command to launch a specific lr-mame core?


    executable /opt/retropie/supplementary/runcommand/
    args 0 SYS mame-libretro2003 "[romfilename]"
    rompath /home/pi/RetroPie/roms/mame-libretro2003


    executable /opt/retropie/supplementary/runcommand/
    args 0 SYS mame-libretro2010 "[romfilename]"
    rompath /home/pi/RetroPie/roms/mame-libretro2010

    I don't want to specify per rom which core to use.

  • May be a easier way is put mame2010 romset into Arcade folder instead (set default to mame2010) and then generate a separate wheel.

  • @jretropie I'm sorry but I dont follow. How would that help me launch the mame2003 romset with lr-mame2003? Thanks

  • @calle81 When you run any game, it will ask you to press "A" button. Overthere you can select default emulator.

  • @jretropie Thanks, but it is exactly this I want to avoid.

  • Banned

    @calle81 You can set an emulator for each specific ROM from the runcommand menu.

  • Banned

    @calle81 Sorry, just reading over your question again and errr.. I'm not totally sure what it is you want. Please explain again, in more detail.

  • Banned

    @calle81 Put each specific ROM set in the correct ROM folders for that specific emulator. That should get you started...

  • @calle81 here is what i would do. First make a rom folder named mame-libretro2010. Put your .139 romset in there. Then go to /opt/retropie/config/all/emulationstation/es_systems.cfg and make a duplicate of the mame-libretro section and in the duplicate entry change the sys from mame-libretro to mame-libretro2010. Also in that duplicate entry change the rom folder from mame-libretro to mame-libretro2010. Then make a duplicate entry of the folder /opt/retropie/configs/mame-libretro/ and name the duplicate folder mame-libretro2010. You need to set 755 permissions to that folder and its contents. So now you will have a folder /opt/retropie/configs/mame-libretro2010/ with the exact same contents as the mame-libretro folder. Then restart emulationstation. Then when you start a game in the mame-libretro2010 romset go into the runcommand config before the game and set the default emulator to mame 2010. Now you have a 2003 and 2010 set.

  • @calle81 I am not quite sure why you want to avoid use two folders. They use two different romsets.

    Use Arcade folder for Ir-mame2010 romset and then press A button to set default emulator to Ir-mame2010.

    Then use mame-libretro folder and press A button to set default emulator to Ir-mame2003.

  • Hi I am new to using Attract mode, and my problem is it doesn't have a default emulator to run mame2003. So i tried adding my own emulator, but i can't figure out the correct "command arguments" to the my moms to run that are in my arcade folder.

    I tried:
    [0_SYS_mame-mame2003 "(romfilename)"] ,
    [0_SYS_ir-mame2003 "(romfilename)"],
    [0_SYS_mame-ir-mame2003 "(romfilename)"]

    none of which seem to work. can anyone help me?

    All I'm looking to do is have an emulator from Attract mode play mame2003 roms that are located in the arcade folder.

    any help is appreciated.


  • administrators

    @tmak read the sticky topic and open a new topic.

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.