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

    how to install core and emulator with a script ?

    Scheduled Pinned Locked Moved Help and Support
    scriptmoduleautomatedemulator instal
    25 Posts 3 Posters 5.1k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Packages (emulators/ports/etc.) are not installed in /home/pi/RetroPie/roms - which is used for ROMs and games. The default installation location is under /opt/retropie.

      1 Reply Last reply Reply Quote 0
      • W
        wsamael
        last edited by

        Yes you're right ( but you know that XD ) but thé package install don't create roms folder in/home/pi... or of I install package buy es the roms folder has been create , how can i do for do the same install?

        Where i launch my script nothing is create in /home../roms folder

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @wsamael
          last edited by

          @wsamael Sorry, I don't fully understand what it's not working. If you created your own install script and it doesn't work, then the script might be incomplete/incorrect.

          W 1 Reply Last reply Reply Quote 0
          • Thorr69T
            Thorr69
            last edited by

            I think he means that the roms directory isn't being created for the system he is installing. If you install experimental systems through the experimental packages, the rom directory for that system is created as well.

            I think you are right the script is incomplete. He probably needs to add something at the end to create the rom directory.

            RPi 3b
            Official PSU
            Official RetroPie image
            Pandora's Box 5 controller

            W 1 Reply Last reply Reply Quote 0
            • W
              wsamael @mitu
              last edited by

              @mitu said in how to install core and emulator with a script ?:

              @wsamael Sorry, I don't fully understand what it's not working. If you created your own install script and it doesn't work, then the script might be incomplete/incorrect.

              I try to explain what i wanna

              If i install a package via ES menu, that install the core and create a roms folder in home/pi/ RetroPie/roms/xxx

              And the script install the core but don't create rom folder

              And for port package that does'nt create port folder in home/pi...

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                Can you please be more specific ? Is this one of the packages included in RetroPie or something you created ? How do you - manually - run the package commands ?

                W 1 Reply Last reply Reply Quote 0
                • W
                  wsamael @Thorr69
                  last edited by

                  @Thorr69
                  Probably, but I don't know how to add command Line to create roms folder especially for port package like openbor

                  1 Reply Last reply Reply Quote 0
                  • W
                    wsamael @mitu
                    last edited by

                    @mitu said in how to install core and emulator with a script ?:

                    Can you please be more specific ? Is this one of the packages included in RetroPie or something you created ? How do you - manually - run the package commands ?

                    One of the package incluse in RetroPie,
                    I launch the install via Retropie_packages.sh mame2010 install_bin ( for example )

                    Mame has been installed but no rom folder in /home/pi ( Like the other package )

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      From one of the previous posts:

                      To install lr-fceumm, you'd call

                      sudo ./retropie_packages lr-fceumm depends
                      sudo ./retropie_packages lr-fceumm sources
                      sudo ./retropie_packages lr-fceumm build
                      sudo ./retropie_packages lr-fceumm install
                      sudo ./retropie_packages lr-fceumm configure
                      

                      The rom folder is created as part of the last step - by the scriptmodule configure function. If you just run install_bin, that won't happen.

                      1 Reply Last reply Reply Quote 0
                      • W
                        wsamael
                        last edited by

                        ok that clear :) thank U :)
                        can I ask you one more think about this ? :)

                        i wanna install openbor (not official version ) but it don't install by my script.

                        i donwload the .sh in

                        wget https://raw.githubusercontent.com/crcerror/OpenBOR-63xx-RetroPie-openbeta/master/scriptmodules/openbor-6xxx-RPi3/openbor-v6510-RPi3.sh -O- | tr -d '\r' > /home/pi/RetroPie-Setup/scriptmodules/ports/openbor-6xxx-4rpi3.sh
                        
                        

                        i Launch it with

                        sudo bash ./RetroPie-Setup/retropie_packages.sh openbor-6xxx-4rpi3 depends
                        sudo bash ./RetroPie-Setup/retropie_packages.sh openbor-6xxx-4rpi3 sources
                        sudo bash ./RetroPie-Setup/retropie_packages.sh openbor-6xxx-4rpi3 build
                        sudo bash ./RetroPie-Setup/retropie_packages.sh openbor-6xxx-4rpi3 install
                        sudo bash ./RetroPie-Setup/retropie_packages.sh openbor-6xxx-4rpi3 configure
                        

                        and the pi tell me
                        " No module 'openbor-6xxx-4rpi3' found for platform rpi3 "

                        ( i try to launch install_bin but it's not a binary version so it's not working but it's logic ;) )

                        but if I launch by ES menu, the script is ok ,that working

                        I'm sure is the same .sh, I try to delete it and it's disappear and if I donwload it again it come back to the ES list

                        the command seem to be correct but i don't understand why my script dont' launch it

                        ( it's not the most important but i wanna understand ;) )

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @wsamael
                          last edited by

                          @wsamael said in how to install core and emulator with a script ?:

                          " No module 'openbor-6xxx-4rpi3' found for platform rpi3 "

                          Because the scriptmodule is not named openbor-6xxx-4rpi3. If you look at the file, the name is openbor-v6510-RPi3:

                          rp_module_id="openbor-v6510-RPi3"
                          rp_module_desc="OpenBOR - Beat 'em Up Game Engine v6510-dev (official!)"
                          rp_module_help="Place your pak files in $romdir/ports/openbor and then run $romdir/ports/OpenBOR.sh from ports section."
                          rp_module_licence="BSD https://raw.githubusercontent.com/crcerror/OpenBOR-Raspberry/master/LICENSE"
                          rp_module_section="exp"
                          rp_module_flags="!mali !x11 !kms"
                          
                          ...
                          
                          1 Reply Last reply Reply Quote 0
                          • W
                            wsamael
                            last edited by wsamael

                            ok it's mean more logic, but i saw openbor-6xxx-4rpi3.sh in scriptmodules. So I would launch it ( like a stupid noob who I am ^^ ).

                            Capture.JPG

                            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.