RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Changing command line options with runcommand?

    Scheduled Pinned Locked Moved Help and Support
    runcommandcommand-line
    3 Posts 2 Posters 799 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mitaholoM
      mitaholo
      last edited by

      Is it in any way possible to give the starting emulator a customized command line option in runcommand-onstart? I have been editing config files with the script, but it would be more efficient to tell the emulator to use a different pre-made config file instead. Also some non-libretro emulators have settings that can't be changed with config files and pretty much require command line options or using a keyboard while they are running.

      caver01C 1 Reply Last reply Reply Quote 0
      • caver01C
        caver01 @mitaholo
        last edited by

        @mitaholo I don't think this is the best approach. That script is designed to be executed before the emulator launch command, not to replace it. I think you will want to setup another command in emulators.cfg where you could give your version a name and use Runcommand to select it for ROMs as needed.

        You could just build your own custom launch script as described in Runcommand docs. I have not done this but I think that is why we have runcommand-custom scripts now.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        mitaholoM 1 Reply Last reply Reply Quote 1
        • mitaholoM
          mitaholo @caver01
          last edited by

          @caver01

          I think you will want to setup another command in emulators.cfg where you could give your version a name and use Runcommand to select it for ROMs as needed.

          This looks like it can do exactly what I need. Thank you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.