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

    running retropie_setup.sh basic install without gui

    Scheduled Pinned Locked Moved Help and Support
    installsupportautomationinstallationsupport script
    5 Posts 2 Posters 1.0k 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.
    • BelligerentBashB
      BelligerentBash
      last edited by

      Does any one know how I can run the retropie_setup.sh basic install without it launching the GUI and needing to select Basic Install from the list of commands ? Maybe a flag to pass into the command? I'd like to automate this process as part of my image creation as i'm adding this as another application to my Pi setup. This is the only step that I haven't figured out how to work around.

      Any suggestions would be appreciated.

      Thanks,
      Cody

      a1aaca0c-f01f-4d4b-ba63-4df8ae02501a-image.png Install Basic
      Note this isn't my image, but an image that shows the GUI I am referring to above.

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by BuZz

        Did you check the output of running sudo ./retropie_packages.sh with no parameters? it has everything you need.

        Here's the parameter for setup module for basic install

        sudo ./retropie_packages.sh setup basic_install
        

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        BelligerentBashB 1 Reply Last reply Reply Quote 0
        • BelligerentBashB
          BelligerentBash @BuZz
          last edited by

          @BuZz Tremendous thank you for your response; however, this only launches the setup window as previously mentioned and doesn't actually invoke the Basic Install option.

          Following your response I also tried sudo ./retropie_packages.sh setup I to no avail.

          This has opened another can of worms as it seems there needs to be some documentation / comments around this usage.

          I looked through retropie_setup.sh but only see "hard-coded" parameters being passed to the retropie_packages.sh here. I also don't see any parameters checking or lists retropie_packages.sh.

          The output I get from running with no parameters (sudo ./retropie_packages.sh) does not list the 'sub-parameters' for the setup parameter, or even the main setup parameter.

          Here first part of running sudo ./retropie_packages.sh:

          ./retropie_packages.sh <Index # or ID [depends|sources|build|install|configure|clean|remove]
          
          Definitions:
          depends:    install the dependencies for the module
          sources:    install the sources for the module
          build:      build/compile the module
          install:    install the compiled module
          configure:  configure the installed module (es_systems.cfg / launch parameters etc)
          clean:      remove the sources/build folder for the module
          help:       get additional help on the module
          
          

          If I do sudo ./retropie_packages.sh help as specified that simply returns

          No module 'help' found for platform rpi1
          

          I think it whatever the true arguments are that can be passed to each file it would be helpful if those parameters were at least comments in one (or both) of those files and on the docs page.

          BuZzB 2 Replies Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @BelligerentBash
            last edited by BuZz

            @BelligerentBash said in running retropie_setup.sh basic install without gui:

            Tremendous thank you for your response; however, this only launches the setup window as previously mentioned and doesn't actually invoke the Basic Install option.

            It does. Sure you didn't run retropie_setup by accident?

            I left off .sh in my example. But it was correct apart from that.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @BelligerentBash
              last edited by

              @BelligerentBash said in running retropie_setup.sh basic install without gui:

              The output I get from running with no parameters (sudo ./retropie_packages.sh) does not list the 'sub-parameters' for the setup parameter, or even the main setup parameter.

              The first parameter is the module. The second is the function to call. It does list all the functions.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              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.