Guys, I got some tips here on the forum about this topic, so I was successful in getting my software lists to work very well with Retroarch and the Mame core, thank you very much!
But I found it difficult to compose the code when I need two devices to load, for example in the emulation of the Sega SC-3000 system. Here I loaded the BASIC via cartridge and the game via Cassette Tape, but I haven't asserted it in the code yet, I'll give examples!
In pure Mame it works super well with this code: mame.exe sc3000pal -ctrl1 mspad -cart "D:\Computador\Sega SC-3000 [1G1R]\Basic\basic3e.zip" -cass "D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\dragonq.zip"
After loading BASIC completely - I start the Cassette Tape and after loading is finished - I type RUN + Enter to run the game!
-----
The command for Retroarch (mame core) to load only one device works normally, follow the command to load the BASIC cartridge: retroarch.exe -L "C:\ERB\Emus\Retroarch\cores\mame_libretro.dll" "sc3000pal -ctrl1 mspad -rp \"D:\Computador\Sega SC-3000 [1G1R]\Basic\" -cart \"D:\Computador\Sega SC-3000 [1G1R]\Basic\basic3e.zip""
But trying to include the game in the command I was unsuccessful. Either it doesn't load anything or it only loads BASIC, some commands below that I tried to execute, remembering that all my .ini files are correct and functional!
Retroarch\retroarch.exe -L "C:\ERB\Emus\Retroarch\cores\mame_libretro.dll" "sc3000pal -ctrl1 mspad -rp \"D:\Computador\Sega SC-3000 [1G1R]\Basic\" -cart \"D:\Computador\Sega SC-3000 [1G1R]\Basic\basic3e.zip"" "sc3000pal -ctrl1 mspad -rp \"D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\" -cass \"D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\dragonq.zip"" (Loads only BASIC)
\retroarch.exe -L "C:\ERB\Emus\Retroarch\cores\mame_libretro.dll" "sc3000pal -ctrl1 mspad -rp \"D:\Computador\Sega SC-3000 [1G1R]\Basic\" -rp \"D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\" -cart \"D:\Computador\Sega SC-3000 [1G1R]\Basic\basic3e.zip" -cass \"D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\dragonq.zip"" (does not execute anything!)
retroarch.exe -L "C:\ERB\Emus\Retroarch\cores\mame_libretro.dll" -rp \"D:\Computador\Sega SC-3000 [1G1R]\Basic\" -rp \"D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\" "sc3000pal -ctrl1 mspad -cart \"D:\Computador\Sega SC-3000 [1G1R]\Basic\basic3e.zip" "sc3000pal -ctrl1 mspad -cass \"D:\Computador\Sega SC-3000 [1G1R]\Games\EUR-Base\dragonq.zip" (does not execute anything!)
-----
In short, can anyone help convert the pure Mame command to Retroarch (Mame core) please? Thanks!