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

    Call retropie_packages install_bin With a Version #?

    Scheduled Pinned Locked Moved Help and Support
    scriptmodulesemulator instal
    5 Posts 2 Posters 480 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.
    • L
      lizardwiz
      last edited by

      I have looked at the code, it is hard to tell because I don't have access to https://files.retropie.org.uk/binaries/, but I am guessing that there is no versioning in that repo? I don't see a mechanism to install/update a specific version (to make an exact copy of an existing retropie setup). Am I correct here?

      Assuming I can't use the script as is to install from source for a specific version either, right?

      The version is from the configs/all/retropie/cores.

      Could I theoretically pull from the git repo and reset to a commit sha value then build from that? I can't seem to find where that commit sha is stored...

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

        @lizardwiz said in Call retropie_packages install_bin With a Version #?:

        I don't see a mechanism to install/update a specific version (to make an exact copy of an existing retropie setup). Am I correct here?

        Yes, there is no versioning for binary packages.

        Assuming I can't use the script as is to install from source for a specific version either, right?

        Only if you modify the script and add the commit branch you'd like.

        L 1 Reply Last reply Reply Quote 0
        • L
          lizardwiz @mitu
          last edited by lizardwiz

          @mitu Is the commit branch stored somewhere on the pi? It seems like the pkg_info can find it. I am having trouble locating it. To be clear, I could theoretically replicate the sources parm, by just pulling the git commit by myself (I assume I can find where to place it somewhere in the code) and just resuming from the build step...right?

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

            @lizardwiz said in Call retropie_packages install_bin With a Version #?:

            Is the commit branch stored somewhere on the pi? It seems like the pkg_info can find it.

            Yes, there's a retropie.pkg file which stores the build info (branch/commit/repo/build date/etc.). You can view this info from the Package version information menu of an installed package.

            L 1 Reply Last reply Reply Quote 0
            • L
              lizardwiz @mitu
              last edited by lizardwiz

              @mitu awesome, thanks! It seems pretty silly to attempt to match EXACT versions, since retropie works with latest version anyways. I guess I'll just make my script compare version numbers and if it is < the system I want to replicate, just use the retropie_packages.sh with install_bin. Building EVERYTHING from source and hacking the source parm seems unnecessarily silly.

              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.