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

    Install from Binary script

    Scheduled Pinned Locked Moved Help and Support
    emulationstaionbinary
    8 Posts 3 Posters 2.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.
    • A
      Armysolo
      last edited by

      I have a custom version of EmulationStation forked from the master with my own mods. I modified the script in /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh and under
      function sources_emulationstation
      I changed the linked repo to mine. Now I can successfully update and install ES from source but when I choose update from binary it overwrites with the normal version of ES. How can I change it so when it updates from binary it updates with mine?

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @Armysolo
        last edited by

        @armysolo of course it overwrites with the original. The compiled binaries are compiled from the original source. So unless you have your own binaries hosted somewhere and point the script to those instead your best off just compiling from your fork.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • A
          Armysolo
          last edited by

          @herb_fargus thanks for the quick response! Can you tell me where the script is?

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @Armysolo
            last edited by

            @armysolo wherever you want it to point to, you can look at the setup script code for each module for where it installs from. It can be per package script or it can be universal in the helper scripts but the more you muddy universal files unless you know exactly what you're doing it's a rabbit hole that will likely lead to more stress than it's worth.

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • A
              Armysolo
              last edited by

              @herb_fargus I'm sure you get this a lot considering I see you post on almost every thread I've ever read but I've been working with Linux for less than a year so I'm pretty noob. Can you point me to where the script is to update all installed packages from binary? I've honestly looked through a number of setup scripts but I cannot seem to find anything that sticks out indicating what to change

              herb_fargusH 1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators @Armysolo
                last edited by herb_fargus

                @armysolo the script is dependent on multiple variables throughout the helpers/packages/modules so there isn't really "one" place per se.

                If you were to modify it globally it would be here:

                RetroPie/RetroPie-Setup/blob/master/scriptmodules/system.sh#L38

                But that will break binaries for everything else so I don't recommend it.

                I actually don't recommend modifying anything from the stock setup script at all including the emulationstation script.

                Rather, have a custom module pointing to your branch like the ES kids script and don't update all packages if you don't want the ES binary replacing your custom ES. Then you can just update your main packages and optional/experimental as desired. If you really wanted to be ambitious you could probably code a function into your module to manually pull in a precompiled binary of your ES from your own server but that's well beyond what I can help with

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                pjftP 1 Reply Last reply Reply Quote 0
                • pjftP
                  pjft @herb_fargus
                  last edited by pjft

                  I did what @herb_fargus is suggesting at some point for my builds before integrating them:

                  https://github.com/pjft/RetroPie-Setup/commit/0a4834cad3a7c5ba87f2108f2e6f6f05ee9214e5

                  You can just create an equivalent file for yourself with your own repository. I think I'm pointing to a branch, though, so you might need to adjust that.

                  Hope this helps. I can't recall if the install from binary option was still showing, though.

                  1 Reply Last reply Reply Quote 0
                  • A
                    Armysolo
                    last edited by

                    @herb_fargus @pjft thanks for the information guys. looks like the easiest way is to update all from binary than update ES from source, or update each individually.

                    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.