You can pass the ScummVM command line parameters to the libretro core in a couple different ways...
Place the game data files inside a folder named by the game short name from ScummVM. The game IDs can be found in ScummVM's compatibility list.
- Create a folder named "tentacle"
- Add the Day of the Tentacle datafiles to the folder
- TENTACLE.000
- TENTACLE.001
- MONSTER.SOU
Launch retroarch by referencing one of the files in this directory:
retroarch -L scummvm_libretro.so "/myroms/tentacle/TENTACLE.000"
Creating a text file containing the commands and then using that file as a rom file for the core.
- Add "Day of the Tentacle" to ScummVM using the built-in ScummVM GUI.
- Make note of the gameid (in this case "tentacle")
- Create a text file containing the game id
For example: "Day of the Tentacle.scummvm" --> inside the file is written a single line with the word "tentacle"
Launch retroarch with the scummvm core and with this text file as the rom:
retroarch -L scummvm_libretro.so "/myroms/Day of the Tentacle.scummvm"
The game will now launch directly instead of showing the ScummVM GUI. You can pass other ScummVM parameters in the text file besides the gameid.