Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

RGB Commander + AttractMode + Mame2003



  • Hello,

    I have a little problem with the configuration of the rgbcmdd.xml file of RGCommander. I use AttractMode on Retropie 4.4 (PacLED64 Card).

    All leds work correctly in demo mode and in console game (snes, megadrive). But when I launch a Mame2003 game, all leds remain off.

    Here is the command launched for an arcade game (1943) :

    /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --appendconfig /home/pi/RetroPie/roms/mame-libretro/roms/1943.zip.cfg /home/pi/RetroPie/roms/mame-libretro/roms/1943.zip
    

    And here is the log of RGBCommander (rgbcmdd.log) when I launch the game :

    09/07/19 20:42:55 [INFO] [fadeSpeed] PACLED64_1 fadespeed set to  0 -> SUCCESS
    09/07/19 20:42:55 [INFO] [setRGBAspeed] RGBA Pattern41_32 speed set to 100
    09/07/19 20:42:55 [INFO] [RGBAthread] rgba Pattern41_32 play back start at speed 100
    09/07/19 20:42:57 [INFO] [RGBAstop] awaiting animation stop...
    09/07/19 20:42:57 [INFO] [fadeSpeed] PACLED64_1 fadespeed set to  0 -> SUCCESS
    09/07/19 20:42:57 [INFO] [RGBAthread] rgba Pattern41_32 playback stop -> anim runtime ->  2.17163s
    09/07/19 20:42:57 [INFO] [RGBAstop] animation stop -> success ...
    09/07/19 20:42:57 [INFO] [processMonitor] retroarch is running
    

    and and nothing else until I leave the game

    I have this in rgbcmdd.xml :

    <emulator binary="mame-libretro" name="Multiple Arcade Machine Emulator" active="Orange" inactive="Black" arcade="1" retropie="1" reference="arcade">
    

    I have tried some solution but the result is the same.

    Can you help me ?

    Thanks !

    Ced



  • Hello,

    Here is the solution I found :

    1/ In the file /home/pi/.attract/emulators/Multiple Arcade Machine Emulator.cfg :

    executable           /opt/retropie/supplementary/runcommand/runcommand.sh
    args                 0 _SYS_ mame-libretro "[romfilename]"
    

    2/ In the file /opt/retropie/configs/mame-libretro/emulators.cfg

    lr-mame2003 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/all/retroarch/retroarch.cfg %ROM%"
    default = "lr-mame2003"
    

    3/ In the file /opt/retropie/configs/mame-libretro/retroarch.cfg

    input_remapping_directory = "/opt/retropie/configs/mame-libretro/"
    

    4/ In the file /usr/sbin/rgbcommander/rgbcmdd.xml , section MAME, place :

    <emulator binary="mame-libretro" name="Multiple Arcade Machine Emulator" active="Blue" inactive="DimGray" arcade="1" retropie="1" retropiebinary="retroarch" reference="arcade">
    

    5/ To continue using overlays (example for the game 1943)
    Create the file 1943.cfg in the directory /home/pi/RetroPie/roms/mame-libretro/roms :

    input_overlay = /opt/retropie/configs/all/retroarch/overlay/arcade-artwork/1943.cfg
    input_overlay_enable = true
    input_overlay_opacity = 0.900000
    input_overlay_scale = 1.000000
    

    and in the file /opt/retropie/configs/all/retroarch/overlay/arcade-artwork/1943.cfg :

    overlays = 1
    overlay0_overlay = 1943.png
    overlay0_full_screen = true
    overlay0_descs = 0
    

    And the overlay image must be placed in /opt/retropie/configs/all/retroarch/overlay/arcade-artwork

    6/ In the file /opt/retropie/configs/all/retroarch/retroarch.cfg, set the parameter config_save_on_exit :

    config_save_on_exit = "false"
    


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.